Ill give these a try.

I dont know why directory deployment is not currently supported.  Maybe that
will change.  Its really not THAT hard to write a makefile that will jar
things up for you - thats what I do.  Or use ant if you like.

I dont think you can deploy an ear file containing a war if tomcat is not
embedded.  But I could be wrong here, hopefully someone will catch me if I
am.  I think you would want to pull the jar and war out of the ear, deploy
the jar on jboss, and deploy the war on standalone tomcat.  Im not entirely
sure what else is involved - need to set up jndi for tomcat, put
jboss-client.jar and jnp-client.jar in tomcat classpath.

Finally, your error seems to  come because both copies of tomcat are trying
to use port 8080 as specified in server.xml (if you are using current source
then server.xml is parsed for embedded tomcat).  You would presumably need
to change one of them to use a different port.

> -----Original Message-----
> From: Chris Cuilla [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 23, 2001 11:05 AM
> To: [EMAIL PROTECTED]
> Subject: [jBoss-User] jBoss and embedded (in-process) Tomcat vs.
> stand-alone (out-of-process) Tomcat
> 
> 
> OK. I have jBoss setup and running with Tomcat in-process (embedded).
> 
> I have also seen that jBoss will not auto-deploy webapp 
> directories (only WAR
> files) in the deploy directory. For development this is 
> highly inconvenient.
> 
> The suggestion I have seen is to use the jBoss and 
> stand-alone (out-of-process)
> Tomcat arrangement for development. However, this has the 
> consequence of not
> deploying the "tomcat-test.ear" application because "no web 
> container found".
> First, is this expected behavior in this case. Second, should 
> it concern me.
> 
> Finally, after I remove the "tomcat-test.ear"...I launch 
> Tomcat (separately),
> then jBoss (with the stand-alone Tomcat option enabled), I 
> get the following:
> 
> [Tomcat] FATAL:java.net.BindException: Address in use: JVM_Bind
> [Tomcat] java.net.BindException: Address in use: JVM_Bind
> [Tomcat]        at java.net.PlainSocketImpl.socketBind(Native Method)
> [Tomcat]        at java.net.PlainSocketImpl.bind(Unknown Source)
> [Tomcat]        at java.net.ServerSocket.<init>(Unknown Source)
> [Tomcat]        at java.net.ServerSocket.<init>(Unknown Source)
> [Tomcat]        at 
> org.apache.tomcat.net.DefaultServerSocketFactory.createSocket
> (DefaultServerSocketFactory.java:97)
> [Tomcat]        at
> org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTc
> pEndpoint.java:239
> )
> [Tomcat]        at
> org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnec
> tor.java:188)
> [Tomcat]        at
> org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
> [Tomcat]        at 
> org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
> [Tomcat]        at 
> org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> [Tomcat]        at java.lang.reflect.Method.invoke(Native Method)
> [Tomcat]        at
> org.jboss.tomcat.TomcatService.startService(TomcatService.java:93)
> [Tomcat]        at
> org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:92)
> [Tomcat]        at java.lang.reflect.Method.invoke(Native Method)
> [Tomcat]        at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.
> java:1628)
> [Tomcat]        at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.
> java:1523)
> [Tomcat]        at
> org.jboss.dependencies.DependencyManager.startMBean(Dependency
> Manager.java:284)
> [Tomcat]        at
> org.jboss.dependencies.DependencyManager.loadService(Dependenc
> yManager.java:261)
> [Tomcat]        at
> org.jboss.dependencies.DependencyManager.processService(Depend
> encyManager.java:2
> 31)
> [Tomcat]        at
> org.jboss.dependencies.DependencyManager.startMBeans(Dependenc
> yManager.java:117)
> [Tomcat]        at org.jboss.Main.<init>(Main.java:162)
> [Tomcat]        at org.jboss.Main$1.run(Main.java:87)
> [Tomcat]        at 
> java.security.AccessController.doPrivileged(Native Method)
> [Tomcat]        at org.jboss.Main.main(Main.java:83)
> [Tomcat] Started
> 
> Any clues on this problem?
> 
> Thanks,
> 
> Chris Cuilla
> President
> Cuilla Enterprises, Inc.
> 
> If what you did yesterday still seems great today, then your 
> goals for tomorrow
> are not big enough.
> 
> 
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> List Help?:          [EMAIL PROTECTED]
> 





---------------------------------------------------------------------
This message (including any attachments) contains confidential, proprietary
or privileged information intended for a specific purpose and individual(s),
and is protected by law.  If you receive this message in error, please
immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender.  Any unauthorized disclosure,
copying or distribution of any part of this message, or the taking of any
unauthorized action based on it, is strictly prohibited.


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to