[jboss-user] [JBoss Getting Started Documentation] - Re: newbie - JBoss

velasquez do-not-reply at jboss.com
Thu Sep 11 19:00:09 EDT 2008


"PeterJ" wrote : Note this:
  | 
  | C:\jboss-4.2.2\bin>"C:\Program Files\Java\jdk1.6.0_07\bin\java" -version 2>&1
  |   | | findstr /I hotspot 1>nul
  |   | 'findstr' is not recognized as an internal or external command, operable program or batch file. 
  | 
  | You are encountering the findstr problem.  See http://wiki.jboss.org/wiki/FindstrCommandNotFound.
  | 
  | As an alternative, you can comment out the lines in run.bat that use findstr:
  | 
  | rem Add -server to the JVM options, if supported
  |   | rem "%JAVA%" -version 2>&1 | findstr /I hotspot > nul
  |   | rem if not errorlevel == 1 (set JAVA_OPTS=%JAVA_OPTS% -server)
  |   | 


Hi Peter,

Thank you for your reply. The server started but I had another problem with MBeans. Could you please guide me.


--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss:service=Naming
  State: FAILED
  Reason: java.rmi.server.ExportException: Port already in use: 1098; nested exc
eption is:
        java.net.BindException: Address already in use: JVM_Bind
  I Depend On:
    jboss.system:service=ThreadPool
    jboss:service=NamingBeanImpl
  Depends On Me:
    jboss.mq:service=DestinationManager
    jboss.mq:service=Invoker
    jboss.mq:service=InvocationLayer,type=UIL
    jboss.mq:service=InvocationLayer,type=UILXA
    jboss.mq:service=InvocationLayer,type=UIL2,alias=UIL2ConnectionFactory
    jboss.mq:service=InvocationLayer,type=UIL2XA,alias=UIL2XAConnectionFactory
    jboss.jms:alias=QueueConnectionFactory
    jboss.jms:alias=TopicConnectionFactory
    jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
    jboss.jmx:alias=jmx/rmi/RMIAdaptor
    jboss:service=Mail


        at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDepl
oyer.java:1385)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:785)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
        at org.jboss.Main.boot(Main.java:200)
        at org.jboss.Main$1.run(Main.java:508)
        at java.lang.Thread.run(Thread.java:619)
18:54:36,039 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8
666
18:54:36,054 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
18:54:36,070 INFO  [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBos
s_4_2_2_GA date=200710221139)] Started in 15s:813ms




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176000#4176000

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176000



More information about the jboss-user mailing list