[Beginners Corner] - Re: Cannot start jboss on windows
by jake_ryan
Here is my working attempt:
lmcsrpe@EH6Q4004C58A6V7 /cygdrive/c/jboss-4.0.2/bin
$ =========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: c:\jboss-4.0.2
JAVA: /cygdrive/c/Program Files/Java/jdk1.5.0_11/bin/java
JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh
CLASSPATH: c:\jboss-4.0.2\bin\run.jar;c:\Program Files\Java\jdk1.5.0_11\lib\tools.jar
=========================================================================
12:56:09,480 INFO [Server] Starting JBoss (MX MicroKernel)...
12:56:09,480 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)
12:56:09,490 INFO [Server] Home Dir: C:\jboss-4.0.2
12:56:09,490 INFO [Server] Home URL: file:/C:/jboss-4.0.2/
12:56:09,490 INFO [Server] Library URL: file:/C:/jboss-4.0.2/lib/
12:56:09,490 INFO [Server] Patch URL: null
12:56:09,490 INFO [Server] Server Name: default
12:56:09,490 INFO [Server] Server Home Dir: C:\jboss-4.0.2\server\default
12:56:09,490 INFO [Server] Server Home URL: file:/C:/jboss-4.0.2/server/default/
12:56:09,490 INFO [Server] Server Data Dir: C:\jboss-4.0.2\server\default\data
12:56:09,490 INFO [Server] Server Temp Dir: C:\jboss-4.0.2\server\default\tmp
12:56:09,490 INFO [Server] Server Config URL: file:/C:/jboss-4.0.2/server/default/conf/
12:56:09,490 INFO [Server] Server Library URL: file:/C:/jboss-4.0.2/server/default/lib/
12:56:09,490 INFO [Server] Root Deployment Filename: jboss-service.xml
12:56:09,490 INFO [Server] Starting General Purpose Architecture (GPA)...
12:56:09,850 INFO [ServerInfo] Java version: 1.5.0_11,Sun Microsystems Inc.
12:56:09,850 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_11-b03,Sun Microsystems Inc.
12:56:09,850 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86
12:56:10,792 INFO [Server] Core system initialized
12:56:15,799 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
12:56:16,169 INFO [WebService] Using RMI server codebase: http://EH6Q4004C58A6V7:8083/
12:56:16,680 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0,
Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
12:56:24,672 INFO [Embedded] Catalina naming disabled
12:56:25,182 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
12:56:25,182 INFO [Catalina] Initialization processed in 460 ms
12:56:25,182 INFO [StandardService] Starting service jboss.web
12:56:25,182 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.9
12:56:25,222 INFO [StandardHost] XML validation disabled
12:56:25,263 INFO [Catalina] Server startup in 81 ms
12:56:25,493 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/C:/jboss-4.0.2/server/default/deploy/http-inv
oker.sar/invoker.war/
12:56:25,873 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
12:56:26,845 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp144
29jboss-ws4ee-exp.war/
12:56:27,185 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/C:/jboss-4.0.2/server/default/deploy/jbossweb-tomcat
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020216#4020216
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020216
19Â years, 2Â months
[Beginners Corner] - Cannot start jboss on windows
by jake_ryan
I am a novice just started to play with jboss and our java application.
I just deployed my application and want to run jboss server but I am getting the following error:
lmcsrpe@EH6Q4004C58A6V7 /cygdrive/c/jboss-4.0.2/bin
$ =========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: c:\jboss-4.0.2
JAVA: /cygdrive/c/Program Files/Java/jdk1.5.0_11/bin/java
JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh
CLASSPATH: c:\jboss-4.0.2\bin\run.jar;c:\Program Files\Java\jdk1.5.0_11\lib\tools.jar
=========================================================================
15:15:13,385 INFO [Server] Starting JBoss (MX MicroKernel)...
15:15:13,395 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)
15:15:13,395 INFO [Server] Home Dir: C:\jboss-4.0.2
15:15:13,395 INFO [Server] Home URL: file:/C:/jboss-4.0.2/
15:15:13,395 INFO [Server] Library URL: file:/C:/jboss-4.0.2/lib/
15:15:13,395 INFO [Server] Patch URL: null
15:15:13,395 INFO [Server] Server Name: default
15:15:13,395 INFO [Server] Server Home Dir: C:\jboss-4.0.2\server\default
15:15:13,395 INFO [Server] Server Home URL: file:/C:/jboss-4.0.2/server/default/
15:15:13,395 INFO [Server] Server Data Dir: C:\jboss-4.0.2\server\default\data
15:15:13,395 INFO [Server] Server Temp Dir: C:\jboss-4.0.2\server\default\tmp
15:15:13,395 INFO [Server] Server Config URL: file:/C:/jboss-4.0.2/server/default/conf/
15:15:13,395 INFO [Server] Server Library URL: file:/C:/jboss-4.0.2/server/default/lib/
15:15:13,395 INFO [Server] Root Deployment Filename: jboss-service.xml
15:15:13,395 INFO [Server] Starting General Purpose Architecture (GPA)...
15:15:13,765 INFO [ServerInfo] Java version: 1.5.0_11,Sun Microsystems Inc.
15:15:13,765 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_11-b03,Sun Microsystems Inc.
15:15:13,765 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86
15:15:14,737 INFO [Server] Core system initialized
15:15:20,445 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
It just dies after printing the INFO string "Configuration from URL.."
Funny thing is I was able to successfully start it before but now nothing works.. Nothing has been changed..
I think it is nothing to do with the application as jboss server initialization itself failed.. so something must be wrong with jboss..
I tried nearly 10 times and every time I am getting the same problem.. Tried to rebooting my PC .. same problem.
My PC has 1gb RAM. It is running Windows 2000 Professional.
Please help me!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020213#4020213
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020213
19Â years, 2Â months
[JBoss Seam] - ResourceServlet with injection
by dilator
Hi guys,
Just been having a little play with the ResourceServlet - looks pretty sweet - I got some resources serving in a couple of minutes!
I initially copied code from CaptchaImage, then wanted to get a bit of injection going, so removed the @Intercept(NEVER) annotation.
20:04:31,140 ERROR [[SeamResourceServlet]] Allocate exception for servlet SeamResourceServlet
| java.lang.IllegalArgumentException: Protected method: setServletContext(Ljavax/servlet/ServletContext;)V
| at net.sf.cglib.proxy.MethodProxy$1.invoke(MethodProxy.java:55)
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:89)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
| at org.jboss.seam.interceptors.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:34)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:47)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:113)
| at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:145)
| at org.jboss.seam.intercept.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:80)
| at uk.co.this.isnt.really.my.domain.AttachmentResource$$EnhancerByCGLIB$$5ca4ae58.setServletContext(<generated>)
| at org.jboss.seam.servlet.ResourceServlet.loadResourceProviders(ResourceServlet.java:48)
| at org.jboss.seam.servlet.ResourceServlet.init(ResourceServlet.java:35)
| at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
| at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:595)
Looks like the CGLIB enhanced class doesnt like calling protected methods... I overrided the get+setServletContext with public modifiers, and also the getResourcePath. And now it seems to work fine.
So my question is - is it safe / intended to do injection like this (I hope so!), its a bit different to the way the CaptchaImage works, but presumably
because the CaptchaImage doesnt have any dependencies, it doesnt need it.
And generally, are there any other bits i should know about when creating resources like this?
Cheers - Ben
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020206#4020206
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020206
19Â years, 2Â months