The Artima Developer Community
Sponsored Link

Java Buzz Forum
Almost FULL Success in SJSAS integrationwith Eclipse WTP!

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Fred Grott

Posts: 4361
Nickname: shareme
Registered: Jan, 2003

Fred Grott is Lead Developer-CEO of ShareMe Technologies LLC -The Mobile Future
Almost FULL Success in SJSAS integrationwith Eclipse WTP! Posted: Oct 14, 2005 10:17 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Fred Grott.
Original Post: Almost FULL Success in SJSAS integrationwith Eclipse WTP!
Feed Title: ShareMe Technologies LLC-The Mobile Future
Feed URL: http://www.jroller.com/shareme/feed/entries/rss
Feed Description: A Weblog about Java programming and digital convergence on mobile devices in such areas as P2P and collaborative technology.
Latest Java Buzz Posts
Latest Java Buzz Posts by Fred Grott
Latest Posts From ShareMe Technologies LLC-The Mobile Future

Advertisement
Guess what folks and Fellow Eclipse fans. Thsi afternoon I will be runing Sun JSAS PE 8.1 server within Eclipse WTP! How did I get the plugin working? Lets jsut say that the TWP0.7.1 implementation of the serverdef file fdormat and what the schema xsd file shows are slightly different. Not by much but jsut enough that I had to get into Gorkem Ercan's head to figure out what definitons and assumptions he was making in the implementation.

Basically, I am resolving the last assumption that produces this error, now:
Oct 14, 2005 11:34:12 AM com.sun.enterprise.util.ASenvPropertyReader setSystemProperties SEVERE: property_reader.asenvReadError java.io.FileNotFoundException: null\asenv.bat (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:106) at java.io.FileInputStream.(FileInputStream.java:66) at java.io.FileReader.(FileReader.java:41) at com.sun.enterprise.util.ASenvPropertyReader.setSystemProperties(ASenvPropertyReader.java:180) at com.sun.enterprise.cli.framework.CLIMain.invokeCommand(CLIMain.java:87) at com.sun.enterprise.cli.framework.CLIMain.main(CLIMain.java:46) CLI138 Invalid domain path, null

For those new to SUn JSAS 8.1 PE, the server installed in the J2EE SDk Default install, this set of errors means that the asenv.bat that sets environmental variables and called from asadmin.bat is not able to read my startscript and stopscript locations in the serverdef file. Basically, you cannot use the \ path separator in the serverdef file for windows due to the cross platform nature of Eclipse and WTP.
Basically, what I had to add to external launch mode to get it to work was mainClass, and classpathReference tags. Yes, all the tricks and tips are being detailed in an article I expect to post this weekend at Java.Net, EclipseZone, and etc..

Will I be completing another plugin for J2EE servers integrating with Eclispe and WTP? Probably, I know at the moment that the Jonas serverdef may have missing items and may tackle that task after I get this plugin released.

I still do not know why the 3 posts I read on the bug lists claiming that they got SUN JSAS running within Eclipse WTP as it cleary does not work in WTP0.7.1. But maybe that was under the WTP1.0 before WTP0.7 or WTP0.7.1 were relased and there may be differences in the serverdef file implementation between versions.

Read: Almost FULL Success in SJSAS integrationwith Eclipse WTP!

Topic: SunOne for Eclipse Plugin progress Previous Topic   Next Topic Topic: Get ready for ApacheCon US 2005!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use