After looking at your console output it seems that you are running Tomcat 
standalone, not Embedded.

Make sure u start jBoss using 'run_with_tomcat' and not just using 'run'

Also the kind of binding exception you are getting, it looks like u are 
running two instances  of jboss at the same time, as the address seems to be 
in use already.

~jm



>From: "Bradd R Frasier" <[EMAIL PROTECTED]>
>Reply-To: "jBoss" <[EMAIL PROTECTED]>
>To: "jBoss" <[EMAIL PROTECTED]>
>Subject: [jBoss-User] Thanks`
>Date: Thu, 01 Feb 2001 14:04:47 +0800
>
>Hello there friend.....i was able to run tomcat using JBoss through your 
>help..it was a great relief for me....=)...i learned a lot from your clear 
>advice.....by the way, after i started to run jboss and run a servlet, i 
>was not successful in running it. hence i got this exception in JBoss..here 
>it is:
>
>[Default] jBoss 2.0 FINAL Started
>2001-02-01 01:57:33 - Ctx(  ): 404 R(  + 
>/MyServlet/servlet/GuestBookServlet + n
>ull) null
>--
>
>how come i got this error??
>and also after i started to run tomcat, i just got this exeption:
>
>[Tomcat] Starting Tomcat...
>2001-02-01 02:05:32 - ContextManager: Adding context Ctx( /examples )
>2001-02-01 02:05:32 - ContextManager: Adding context Ctx( /admin )
>[Tomcat] Starting tomcat. Check logs/tomcat.log for error messages
>2001-02-01 02:05:32 - ContextManager: Adding context Ctx( /MyServlet )
>2001-02-01 02:05:32 - ContextManager: Adding context Ctx(  )
>2001-02-01 02:05:32 - ContextManager: Adding context Ctx( /test )
>[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(PoolT
>cpEndpoint.java:239)
>[Tomcat]        at 
>org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConne
>ctor.java:188)
>[Tomcat]        at 
>org.apache.tomcat.core.ContextManager.start(ContextManager.ja
>va: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.jav
>a: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(Dependenc
>yManager.java:284)
>[Tomcat]        at 
>org.jboss.dependencies.DependencyManager.loadService(Dependen
>cyManager.java:261)
>[Tomcat]        at 
>org.jboss.dependencies.DependencyManager.processService(Depen
>dencyManager.java:231)
>[Tomcat]        at 
>org.jboss.dependencies.DependencyManager.startMBeans(Dependen
>cyManager.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
>
>Pls help me again.......i really need your advice again...many thanks 
>again!!=o)
>
>Bradd
>
>
>
>
>
>On Thu, 01 Feb 2001 03:00:37
>  jBoss Monkey wrote:
> >Bradd:
> >Which distribution of jboss you are using, if u  have been using
> >jboss2.0-FINAL with tomcat distribution then running jboss with tomcat is
> >fairly simple process:
> >
> >note:
> >JAVA_HOME is the directory where u installed jdk (eg d:\Apps\jdk1.3)
> >jBOSS_HOME is the directry where u installed jboss (eg
> >d:\Apps\jboss_tomcat\jboss2.0-FINAL)
> >
> >
>
>
>
>Get your small business started at Lycos Small Business at 
>http://www.lycos.com/business/mail.html
>
>
>--
>--------------------------------------------------------------
>To subscribe:        [EMAIL PROTECTED]
>To unsubscribe:      [EMAIL PROTECTED]
>List Help?:          [EMAIL PROTECTED]
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com



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

Reply via email to