The Artima Developer Community
Sponsored Link

Java Buzz Forum
SJSAS and 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
SJSAS and Eclipse WTP Posted: Oct 13, 2005 7:55 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Fred Grott.
Original Post: SJSAS and 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
I am still haiving problems getting the external launch to work within the servdef file of Eclipse WTP. I think what I will do is switch and launch SJSAS by the java mode and wait on the external launch mode until WTP10.0 or WTP1.5. Here is what I had for the external launch, it should work according to the ServerTypeDefinitionSchema.xsd:

${port} Http http j2ee.web ${serverRootDirectory}/domains/${domainName}/autodeploy org.eclipse.jst.server.generic.antpublisher j2ee.ejb ${serverRootDirectory}/server/${domainName}/autodeploy org.eclipse.jst.server.generic.antpublisher j2ee.ear ${serverRootDirectory}/domains/${domainName}/autodeploy org.eclipse.jst.server.generic.antpublisher sjsas ${serverRootDirectory}/bin ${debugPort} ${startScript} ${serverConfig} ${domainName} ${startScript} ${serverConfig} ${domainName} ${startScript} ${serverConfig} ${domainName} ${serverRootDirectory}/bin ${stopScript} ${serverConfig} ${domainName} ${stopScript} ${serverConfig} ${domainName} ${stopScript} ${serverConfig} ${domainName} build.file /buildfiles/suneone81.xml target.publish.j2ee.web deploy.j2ee.web target.unpublish.j2ee.web undeploy.j2ee.web target.publish.j2ee.ejb deploy.j2ee.ejb target.unpublish.j2ee.ejb undeploy.j2ee.ejb target.publish.j2ee.ear deploy.j2ee.ear target.unpublish.j2ee.ear undeploy.j2ee.ear iiop://${serverAddress}:${jndiPort} ${initialContextFactory}

The java launch mode parameters are similar and I add some more directory locations for server context properties and more libs in the sjsas path. The publisher, jndiConnection, and modules stay the same.

The problem I see in using the java launch mode is that SJSAS 8.2 uses a different start class com.sun.enterprise.server.PELaunch instead of com.sun.enterprise.serverPEMain. But, that can be handled by versioning the sunone.serverdef withthe platform mjaro and minor numbers in the file name.

Read: SJSAS and Eclipse WTP

Topic: [DrunkAndRetired.com Podcast] Episode 24 - Small Businesses, Agile planning & Estimation,... Previous Topic   Next Topic Topic: [Oct 6, 2005 15:50 PDT] 10 Links

Sponsored Links



Google
  Web Artima.com   

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