[Tomcat, HTTPD, Servlets & JSP] - Bizarre JK2 module problem
by markhland
On a production Linux server, we are experiencing a very strange phenomenon. Starting JBoss from the command prompt using 'run' loads the Coyote module properly - the log shows:
2007-11-19 09:01:49,893 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
2007-11-19 09:01:50,139 INFO [org.apache.jk.common.ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
2007-11-19 09:01:50,144 INFO [org.apache.jk.server.JkMain] Jk running ID=0 time=0/123 config=null
However, loading it from the /etc/init.d/jboss_init.sh startup script does NOT load the module. JBoss starts up and all looks o.k. but now have the 503 errors between Apache and JBoss. This change in behavior occurred during our last shutdown/startup cycle.
I am desperate for an answer/solution.
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106040#4106040
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106040
18 years, 8 months
[JBoss Seam] - Pagefrow - Redirect & Description
by enda
In seam documentation is many various combinations of managing workspace.
But it seem like there is not a combination that would allow to redirect in jPDL and to specify description together.
There are examples where I can use pages.xml like this
====================================================
<page view-id="/private/people/personHomeView.xhtml"
conversation-required="true"
no-conversation-view-id="/private/home.xhtml">
Foo at #{bar.circle}
====================================================
but this is completely ignored when I use pageflow jPDL!
other alternative is to use jPDL
====================================================
<page name="viewPersonHomeAjax"
timeout="600000"
view-id="/private/people/personHomeAjax.xhtml">
View person home: #{person.username}
====================================================
but then I cannot use redirect!
this fails to deploy:
====================================================
<page name="viewPersonHomeAjax"
timeout="600000"
view-id="/private/people/personHomeAjax.xhtml">
View person home: #{person.username}
====================================================
this is ignored at all (what is the purpose of that???):
====================================================
<page name="viewPersonHomeAjax"
timeout="600000"
redirect="yes"
view-id="/private/people/personHomeAjax.xhtml">
View person home: #{person.username}
====================================================
Maybe there is some magic combination but then it is not in documentation.
Does anyone figure it out?
Tomas
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106038#4106038
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106038
18 years, 8 months
[EJB/JBoss] - Using J2SE App. as the Server for an EJB3-based App.
by timba07
Hi fellows,
I hope I've picked the right forum for my question!
I have seen lots of examples about using an EJB3-based Application as a Server (e.g. Service) for another java-based Client-Application. But I can't find any example about using a J2SE Application as a Server for an EJB based Application.
Let me explain: I'm currently trying to build a SEAM/EJB3 based Web-App which needs to interact with a Service located in a J2SE Application. My first attemp is to connect these 2 Application by using the RMI. However this does not se(a)em to work. On the client-side I always get the shortened ClassNotFound-Exception listed below. I don't think that this is a real RMI/Security issue.
My question is: did I do the right thing by trying to integrate RMI in a SEAM/EJB3-Application or is there another Approach which I should use but I currently don't know?
Any suggestions are welcome!
Best regards,
Stefan
| 15:28:47,468 ERROR [STDERR] java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
| java.lang.ClassNotFoundException: de.cohones.lasor.mcs.IManagement (no security manager: RMI class loader disabled)
| 15:28:47,468 ERROR [STDERR] at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
| 15:28:47,468 ERROR [STDERR] at de.cohones.lasor.uis.session.Login.login(Login.java:96)
| .
| .
| .
| 15:28:47,484 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| 15:28:47,484 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| 15:28:47,484 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| 15:28:47,484 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| 15:28:47,484 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
| 15:28:47,484 ERROR [STDERR] Caused by: java.lang.ClassNotFoundException: de.cohones.lasor.mcs.IManagement (no security manager: RMI class loader disabl
| ed)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106034#4106034
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106034
18 years, 8 months
[JBossCache] - JBossCache with Hibernate on Glassfish v2
by eric.hubert
Hi all,
I'm trying to use JBoss TreeCache on Glassfish v2 b58g with Hibernate's entity manager as EJB3 entity cache.
Could anybody please give me some advice on how to setup this combo!
In JBoss 4.2.x everything runs fine. Thought it must be possible to get the distributed JBoss Cache on Glassfish working as well. Using Hibernate with ehcache on Glassfish works fine, but I would like to use the JBoss Cache.
The information I'm looking for would include a complete list of Java libraries which I have to use in Glassfish, a sample persistence.xml as well as a sample ejb3-entity-cache-service.xml. I guess I would have to register the EJB3EntityTreeCache MBean or something in this direction. I couldn't find any clues in the documentation.
Hope this is the appropriate forum to ask or would the hibernate forum be more appropriate?
Regards,
Eric
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106030#4106030
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106030
18 years, 8 months