BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

deploying to jboss 3.2.2 from JBuilder X

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Deployment
View previous topic :: View next topic  
Author Message
Krystan
Guest





PostPosted: Thu Dec 04, 2003 5:10 pm    Post subject: deploying to jboss 3.2.2 from JBuilder X Reply with quote



Hi there,

Currently running through a trial of JBuilder X and its looking promising
I do have one problem though. Currently i have a simple web app and am
deploying to jboss 3.2.2 I have set up the config correctly but get an error
on deploy which looks like the one shown below.

I have done the obvious thing and checked out the commons-discovery file
does indeed exist and it does. In fact if I close down my instance of jboss
running through JBuilder and run it cmd line it runs just fine so the war
file
created is fine. And JBoss when running standalone seems to deploy it fine,
its just when deployed through JBuilder things go a bit wrong.

Is this a known issue or have I done something wrong here ?

Regards


Krystan

---Stacktrace follows----

16:52:36,853 INFO [MainDeployer] Starting deployment of package:
file:/C:/jboss-3.2.2/server/default/deploy/domviewer.war
16:52:37,914 INFO [EmbeddedTomcatService] deploy, ctxPath=/domviewer,
warUrl=file:/C:/jboss-3.2.2/server/default/tmp/deploy/tmp38381domviewer.war/
16:52:38,385 ERROR [Engine] ContextConfig[/domviewer] Exception processing
JAR at resource path /WEB-INF/lib/commons-discovery.jar
javax.servlet.ServletException: Exception processing JAR at resource path
/WEB-INF/lib/commons-discovery.jar
at
org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)
at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
243)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3568)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
21)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
at
org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContext(EmbeddedTomc
atService.java:530)
at
org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(EmbeddedTomcatS
ervice.java:309)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:428)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
cher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne
r.java:302)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.
java:476)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(
AbstractDeploymentScanner.java:201)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Ab
stractDeploymentScanner.java:212)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(Abs
tractDeploymentScanner.java:191)
16:52:38,405 ERROR [Engine] ----- Root Cause -----
java.io.IOException: The system cannot find the path specified
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1314)
at java.io.File.createTempFile(File.java:1402)
at java.io.File.createTempFile(File.java:1439)
at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:169)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.[url]www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:164[/url])
at sun.net.[url]www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:42[/url])
at sun.net.[url]www.protocol.jar.JarFileFactory.get(JarFileFactory.java:78[/url])
at
sun.net.[url]www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:85[/url])
at
sun.net.[url]www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:6[/url]
9)
at
org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:906)
at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
243)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3568)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
21)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
at
org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContext(EmbeddedTomc
atService.java:530)
at
org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(EmbeddedTomcatS
ervice.java:309)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:428)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
cher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne
r.java:302)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.
java:476)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(
AbstractDeploymentScanner.java:201)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Ab
stractDeploymentScanner.java:212)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(Abs
tractDeploymentScanner.java:191)
16:52:38,445 INFO [Engine] ContextConfig[/domviewer]: Marking this
application unavailable due to previous error(s)
16:52:38,465 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on
class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@1d4340c
16:52:38,465 INFO [Engine] StandardManager[/domviewer]: Seeding random
number generator class java.security.SecureRandom
16:52:38,465 INFO [Engine] StandardManager[/domviewer]: Seeding of random
number generator has been completed
16:52:38,465 INFO [Engine] StandardContext[/domviewer]: Context startup
failed due to previous errors
16:52:38,475 INFO [MainDeployer] Deployed package:
file:/C:/jboss-3.2.2/server/default/deploy/domviewer.war

--stacktrace ends --


Back to top
Jonathan Sass
Guest





PostPosted: Tue Dec 09, 2003 1:49 am    Post subject: Re: deploying to jboss 3.2.2 from JBuilder X Reply with quote



We are seeing a similar problem with our recently purchased Jbuilder X.

running JBoss standalone is fine

Running JBoss through Jbuilder X and we get

16:40:11,796 INFO [EmbeddedTomcatService] deploy, ctxPath=/jmx-console,
warUrl=file:/D:/jboss-3.2.2/server/default/deploy/jmx-console.war/

16:40:11,906 ERROR [Engine] ContextConfig[/jmx-console] Exception
processing JAR at resource path /WEB-INF/lib/jboss-jmx.jar

javax.servlet.ServletException: Exception processing JAR at resource
path /WEB-INF/lib/jboss-jmx.jar


Back to top
shushamen
Guest





PostPosted: Wed Dec 24, 2003 3:29 pm    Post subject: Re: deploying to jboss 3.2.2 from JBuilder X Reply with quote



In Jbuilder Go to tools - configure server - Jboss 3.x+ , click on vm
parameters and insert the following line at the beginning:


-Djava.io.tmpdir=C:/temp/jboss ( replace the path for the directory
you want to use jboss for some temporay files)

This line override the default configuration that jbuilder send to
jboss.
Back to top
Brian Duguid
Guest





PostPosted: Thu Jan 29, 2004 3:34 pm    Post subject: Re: deploying to jboss 3.2.2 from JBuilder X Reply with quote

Same problem for me. Has there been a resolution?

"Jonathan Sass" <jsass%audio-ex.com> wrote

Quote:
We are seeing a similar problem with our recently purchased Jbuilder X.

running JBoss standalone is fine

Running JBoss through Jbuilder X and we get

16:40:11,796 INFO [EmbeddedTomcatService] deploy, ctxPath=/jmx-console,
warUrl=file:/D:/jboss-3.2.2/server/default/deploy/jmx-console.war/

16:40:11,906 ERROR [Engine] ContextConfig[/jmx-console] Exception
processing JAR at resource path /WEB-INF/lib/jboss-jmx.jar

javax.servlet.ServletException: Exception processing JAR at resource
path /WEB-INF/lib/jboss-jmx.jar





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Deployment All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.