[JBoss jBPM] - Re: Intalio vs jBPM
by kukeltje
anonymous wrote : - jbpm is more oriented towards developers / Intalio focuses on business users with little technical experience
If you read Toms blogs, you can see he (and me and others) believe(s) it will always be a joint effort between technical and business people. Even in real life it is my experience that I've never ever seen business people develop an end-user (customer) application.
anonymous wrote : - jbpm requires code / Intalio is (almost) zero-code
Depends on what you mean by code. I've never ever seen a full functional bpm app that did not require any java/xslt/script/.... in any way.
anonymous wrote : - jbpm ? / "One-click-deploy" with Intalio
jbpm to, but we (in the company I work for) deploy from a versioning system, so one-click-deploy is only needed for developers
anonymous wrote : - jbpm is beta BPEL compliant / Intalio is fully BPEL compliant
Using bpel for workflow (what intalio does with the BPEL4People extension) is by many seen as not what bpel should not be used for. Especially with the great bpml/xpdl alignment which has taken place. No need for round-trip bpel/bpmn anymore then.
anonymous wrote : - jbpm does not support BPMN / Intalio does
Correct
anonymous wrote : I´m sure I haven´t covered all difference between both. I would appreciate any help with that!
- jbpm is opensource, intalio isn't http://jboss.org/jbossBlog/blog/tbaeyens/?permalink=What_is_open_source_I...
- ...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991910#3991910
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991910
19 years, 7 months
[JBossWS] - Exception in EJB 3.0 Client Execution
by san_dhyarai2005
I am working on EJB 3.0 when
I execute my Client.java File than find below exception
Exception in thread "main" javax.naming.NameNotFoundException: examples.sessio
stateless.Hello not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java
66)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTranspo
.java:707)
at java.lang.Thread.run(Thread.java:595)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stre
RemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.jav
223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at examples.session.stateless.HelloClient.main(HelloClient.java:59)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991908#3991908
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991908
19 years, 7 months
[EJB 3.0] - ClassCastException when casting to remote interface
by lowy
Hi,
I use JBoss 4.0.5 GA with EJB 3 with Eclipse.
I have an EJB- project and a Web-project. They are (for now) running in the same VM in JBoss.
When I get my SessionBean - stub in my web app (via Naming service) and try to cast it to the remote interface, I get a ClassCastException.
I already found out that the problem lies in the fact that 2 remote interface class files are deployed. It's described in the wiki
http://wiki.jboss.org/wiki/Wiki.jsp?page=CommonHurdlesAndDifficultiesYouM...
The wiki presents 3 solutions:
1. remove the duplicate interface from one of the deployed libs.
I found out that this works in principle.
My problem with this is, that I don't use an Ant build file where I could simply exclude the file. I use Eclipse to generate the EAR / WAR archive (with Export to... ). Removing the remote interface from the web-archive afterwards solves the problem with the ClassCastException, but is much too time-consuming .
2. run your application in different VMs -> not a good solution for me right now
3. enable CallByValue for JNDI
unfortunately this is not elaborated in the Wiki. From other resources, I found out that some changes to config files should be made, but the descriptions did not fit to JBoss 4.0.5 (obviously the conf-files have been reorganized). I tried to implement the changes all the same but it did not work!
Next I remembered that during the Jboss install there was an option to "Enable deployment isolation" which sounded like it could solve the problem. So I reinstalled JBoss with this option activated. Unfortunately this did not solve the problem neither.
One more strang fact: the ClassCastException only occurs if the EJB is a stateful SessionBean. With a stateless SessionBean I have no problem.
I have already spent way too much time with this problem, so I would be very grateful if s.o. could help me with this.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991904#3991904
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991904
19 years, 7 months
[JBossWS] - ClassCastException when trying to marshal MySql Datetime
by attila.soos
I get this Exception when I call my WebService. I use JBoss 4.0.5.GA, MySql JDBC Driver mysql-connector-java-3.1.14, and Hibernate. In my Pojo Class I've mapped the datetime Fields as java.util.Date, and in wsdl file as dateTime. My webService works without datetime fields perfectly.
09:58:29,538 ERROR [SOAPFaultExceptionHelper] SOAP request exception
javax.xml.rpc.JAXRPCException: Cannot create or send response message
at org.jboss.ws.server.ServiceEndpoint.postProcessResponse(ServiceEndpoint.java:286)
at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:211)
at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355)
at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
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)
Caused by: javax.xml.rpc.JAXRPCException: java.lang.ClassCastException: java.sql.Timestamp
at org.jboss.ws.soap.SOAPContentElement.write(SOAPContentElement.java:986)
at org.jboss.ws.soap.SAAJElementWriter.writeElement(SAAJElementWriter.java:171)
at org.jboss.ws.soap.SAAJElementWriter.writeElement(SAAJElementWriter.java:184)
at org.jboss.ws.soap.SAAJElementWriter.writeElement(SAAJElementWriter.java:184)
at org.jboss.ws.soap.SAAJElementWriter.writeElement(SAAJElementWriter.java:184)
at org.jboss.ws.soap.SAAJElementWriter.printInternal(SAAJElementWriter.java:163)
at org.jboss.ws.soap.SAAJElementWriter.print(SAAJElementWriter.java:142)
at org.jboss.ws.soap.SAAJElementWriter.printSOAPElement(SAAJElementWriter.java:91)
at org.jboss.ws.server.ServiceEndpoint.postProcessResponse(ServiceEndpoint.java:280)
... 25 more
Caused by: java.lang.ClassCastException: java.sql.Timestamp
at org.jboss.xb.binding.SimpleTypeBindings.marshal(SimpleTypeBindings.java:1150)
at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalCharacters(MarshallerImpl.java:995)
at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalSimpleType(MarshallerImpl.java:471)
at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElementType(MarshallerImpl.java:415)
at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElement(MarshallerImpl.java:331)
at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElementOccurence(MarshallerImpl.java:311)
at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalParticle(MarshallerImpl.java:730)
at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalModelGroupSequence(MarshallerImpl.java:920)
at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalModelGroup(MarshallerImpl.java:860)
at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalParticle(MarshallerImpl.java:641)
at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalComplexType(MarshallerImpl.java:608)
at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElementType(MarshallerImpl.java:419)
at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElement(MarshallerImpl.java:331)
at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElementOccurence(MarshallerImpl.java:311)
at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshallInternal(MarshallerImpl.java:210)
at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshal(MarshallerImpl.java:168)
at org.jboss.ws.jaxb.JBossXBMarshallerImpl.marshal(JBossXBMarshallerImpl.java:146)
at org.jboss.ws.jaxrpc.encoding.JAXBSerializer.serialize(JAXBSerializer.java:107)
at org.jboss.ws.soap.SOAPContentElement.getXMLFragment(SOAPContentElement.java:157)
at org.jboss.ws.soap.SOAPContentElement.expandToDOM(SOAPContentElement.java:817)
at org.jboss.ws.soap.SOAPContentElement.handleMTOMTransitions(SOAPContentElement.java:1015)
at org.jboss.ws.soap.SOAPContentElement.write(SOAPContentElement.java:968)
... 33 more
I call this function in my WebService:
Session hsession = null;
User user = null;
try {
InitialContext ctx = new InitialContext();
SessionFactory factory = (SessionFactory) ctx
.lookup("java:/hibernate/MySqlRw");
hsession = factory.openSession();
Criteria crit = hsession.createCriteria(User.class);
crit.add(Expression.eq("user_login_name", name));
List resultList = crit.list();
System.out.println("Size: " + resultList.size());
if (resultList.size() > 0) {
Iterator it = resultList.iterator();
while (it.hasNext()) {
user = (User) it.next();
}
}
} catch (Exception ex) {
ex.printStackTrace();
} finally {
hsession.close();
}
return user;
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991900#3991900
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991900
19 years, 7 months
EJB app not being registered - nothing in the logs
by Jan Behrens
Hi list,
we are having a problem deploying our app onto a JBoss 4.0.4 GA running on
Suse 10. The app runs fine on our development machines (all win xp with
JBoss 4.0.4). When starting Jboss on the Linux machine the log reads as
attached below. When I deploy the server part (using ejb3) of our app,
nothing happens in the logs (and it does not become available), the
tmp/deploy dir sees the needed jars unpacked in a temp deploy dir however.
So obviously Jboss is doing something. The webapp part of the app gets
deployed just fine, I see a deployment message in the logs and it works
fine till it tries to connect to the server side which fails because its
beans are not registered.
I have spent over a day trying to get this to work and am at a loss now.
The only thing that looks like a possible hint to me are the ContainerBase
INFO messages in the log that failed to init (see below for details). Can
anybody help me on this? This is my first bigger ejb project and first
time deployment on linux so hopefully I have just misconfigured something
and someone can point me in the right direction.
TIA, Jan
<server.log>
2006-12-06 17:41:10,516 INFO [org.jboss.naming.NamingService] JNDI
bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client
SocketFactory, Server SocketFactory=class
org.jboss.net.sockets.DefaultSocketFactory
2006-12-06 17:41:10,965 INFO
[org.jboss.ws.eventing.mgmt.SubscriptionManager] Bound event dispatcher to
java:/EventDispatcher
2006-12-06 17:41:12,407 INFO [org.jboss.web.WebService] Using RMI server
codebase: http://srvbi03:8083/
2006-12-06 17:41:25,924 INFO [org.apache.catalina.startup.Embedded]
Catalina naming disabled
2006-12-06 17:41:26,236 INFO
[org.apache.catalina.startup.ClusterRuleSetFactory] Unable to find a
cluster rule set in the classpath. Will load the default rule set.
2006-12-06 17:41:27,393 INFO
[org.apache.catalina.startup.ClusterRuleSetFactory] Unable to find a
cluster rule set in the classpath. Will load the default rule set.
2006-12-06 17:41:30,136 INFO [org.apache.coyote.http11.Http11BaseProtocol]
Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
2006-12-06 17:41:30,148 INFO [org.apache.catalina.startup.Catalina]
Initialization processed in 2754 ms
2006-12-06 17:41:30,149 INFO [org.jboss.web.tomcat.tc5.StandardService]
Starting service jboss.web
2006-12-06 17:41:30,166 INFO [org.apache.catalina.core.StandardEngine]
Starting Servlet Engine: Apache Tomcat/5.5.17
2006-12-06 17:41:30,358 INFO [org.apache.catalina.core.StandardHost] XML
validation disabled
2006-12-06 17:41:30,539 INFO [org.apache.catalina.startup.Catalina]
Server startup in 390 ms
2006-12-06 17:41:31,145 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer]
deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
2006-12-06 17:41:34,015 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer]
deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
2006-12-06 17:41:34,277 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer]
deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp28757jbossws-exp.war/
2006-12-06 17:41:34,580 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer]
deploy, ctxPath=/jbossmq-httpil,
warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
2006-12-06 17:41:37,103 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer]
deploy, ctxPath=/web-console,
warUrl=.../deploy/management/console-mgr.sar/web-console.war/
2006-12-06 17:41:38,470 INFO
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/web-console]]
MonitorsFolder: Failed to init plugin, null
2006-12-06 17:41:38,480 INFO
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/web-console]]
UCLs: Failed to init plugin, null
2006-12-06 17:41:38,517 INFO
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/web-console]]
JMS Message: Failed to init plugin, null
2006-12-06 17:41:38,523 INFO
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/web-console]]
JSR77 WebModule: Failed to init plugin, null
2006-12-06 17:41:38,534 INFO
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/web-console]]
J2EEFolder: Failed to init plugin, null
2006-12-06 17:41:38,546 INFO
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/web-console]]
AOPFolder: Failed to init plugin, null
2006-12-06 17:41:38,548 INFO
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/web-console]]
SystemFolder: Failed to init plugin, null
2006-12-06 17:41:38,589 INFO
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/web-console]]
MBeans: Failed to init plugin, null
2006-12-06 17:41:38,597 INFO
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/web-console]]
JSR77 Domains and Servers: Failed to init plugin, null
2006-12-06 17:41:38,603 INFO
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/web-console]]
JSR77 EJBModules and EJBs: Failed to init plugin, null
2006-12-06 17:41:38,609 INFO
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/web-console]]
JSR77 J2EE Apps: Failed to init plugin, null
2006-12-06 17:41:41,159 INFO [org.jboss.mail.MailService] Mail Service
bound to java:/Mail
2006-12-06 17:41:42,792 INFO [org.jboss.resource.deployment.RARDeployment]
Required license terms exist, view META-INF/ra.xml in
.../deploy/jboss-ha-local-jdbc.rar
2006-12-06 17:41:43,125 INFO [org.jboss.resource.deployment.RARDeployment]
Required license terms exist, view META-INF/ra.xml in
.../deploy/jboss-ha-xa-jdbc.rar
2006-12-06 17:41:43,320 INFO [org.jboss.resource.deployment.RARDeployment]
Required license terms exist, view META-INF/ra.xml in
.../deploy/jboss-local-jdbc.rar
2006-12-06 17:41:43,521 INFO [org.jboss.resource.deployment.RARDeployment]
Required license terms exist, view META-INF/ra.xml in
.../deploy/jboss-xa-jdbc.rar
2006-12-06 17:41:43,678 INFO [org.jboss.resource.deployment.RARDeployment]
Required license terms exist, view META-INF/ra.xml in
.../deploy/jms/jms-ra.rar
2006-12-06 17:41:43,810 INFO [org.jboss.resource.deployment.RARDeployment]
Required license terms exist, view META-INF/ra.xml in
.../deploy/mail-ra.rar
2006-12-06 17:41:46,208 INFO
[org.jboss.resource.connectionmanager.ConnectionFactoryBindingService]
Bound ConnectionManager
'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name
'java:DefaultDS'
2006-12-06 17:41:50,301 INFO [org.jboss.mq.server.jmx.Queue.A] Bound to
JNDI name: queue/A
2006-12-06 17:41:50,306 INFO [org.jboss.mq.server.jmx.Queue.B] Bound to
JNDI name: queue/B
2006-12-06 17:41:50,310 INFO [org.jboss.mq.server.jmx.Queue.C] Bound to
JNDI name: queue/C
2006-12-06 17:41:50,354 INFO [org.jboss.mq.server.jmx.Queue.D] Bound to
JNDI name: queue/D
2006-12-06 17:41:50,358 INFO [org.jboss.mq.server.jmx.Queue.ex] Bound to
JNDI name: queue/ex
2006-12-06 17:41:50,430 INFO [org.jboss.mq.server.jmx.Topic.testTopic]
Bound to JNDI name: topic/testTopic
2006-12-06 17:41:50,435 INFO [org.jboss.mq.server.jmx.Topic.securedTopic]
Bound to JNDI name: topic/securedTopic
2006-12-06 17:41:50,440 INFO
[org.jboss.mq.server.jmx.Topic.testDurableTopic] Bound to JNDI name:
topic/testDurableTopic
2006-12-06 17:41:50,491 INFO [org.jboss.mq.server.jmx.Queue.testQueue]
Bound to JNDI name: queue/testQueue
2006-12-06 17:41:50,613 INFO [org.jboss.mq.il.uil2.UILServerILService]
JBossMQ UIL service available at : /0.0.0.0:8093
2006-12-06 17:41:50,715 INFO [org.jboss.mq.server.jmx.Queue.DLQ] Bound to
JNDI name: queue/DLQ
2006-12-06 17:41:51,042 INFO
[org.jboss.resource.connectionmanager.ConnectionFactoryBindingService]
Bound ConnectionManager
'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name
'java:JmsXA'
2006-12-06 17:41:52,117 INFO
[org.jboss.resource.connectionmanager.ConnectionFactoryBindingService]
Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=MySqlDS'
to JNDI name 'java:MySqlDS'
2006-12-06 17:41:57,569 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer]
deploy, ctxPath=/AmmLog_WebGUI,
warUrl=.../tmp/deploy/tmp28797AmmLog_WebGUI-exp.war/
2006-12-06 17:42:05,631 INFO [access] Reloading from:
jndi:/localhost/AmmLog_WebGUI/WEB-INF/cocoon.xconf
2006-12-06 17:42:06,575 ERROR [STDERR] Cannot find
CatalogManager.properties
2006-12-06 17:42:07,033 INFO [core.runnable] ThreadPool named "default"
created with maximum
queue-size=2147483647,max-pool-size=5,min-pool-size=5,priority=5,isDaemon=false,keep-alive-time-ms=60000,block-policy="ABORT",shutdown-wait-time-ms=-1
2006-12-06 17:42:07,044 INFO [core.runnable] ThreadPool named "daemon"
created with no
queue,max-pool-size=2147483647,min-pool-size=1,priority=5,isDaemon=true,keep-alive-time-ms=60000,block-policy=ABORT,shutdown-wait-time-ms=-1
2006-12-06 17:42:09,624 INFO
[org.apache.struts.util.PropertyMessageResources] Initializing,
config='org.apache.struts.util.LocalStrings', returnNull=true
2006-12-06 17:42:09,625 INFO
[org.apache.struts.util.PropertyMessageResources] Initializing,
config='org.apache.struts.action.ActionResources', returnNull=true
2006-12-06 17:42:11,374 INFO
[org.apache.struts.util.PropertyMessageResources] Initializing,
config='resources.application', returnNull=true
2006-12-06 17:42:11,531 INFO [org.apache.struts.validator.ValidatorPlugIn]
Loading validation rules file from '/WEB-INF/validator-rules.xml'
2006-12-06 17:42:11,675 INFO [org.apache.struts.validator.ValidatorPlugIn]
Loading validation rules file from '/WEB-INF/validation.xml'
2006-12-06 17:42:12,169 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer]
deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
2006-12-06 17:42:13,837 INFO [org.apache.coyote.http11.Http11BaseProtocol]
Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
2006-12-06 17:42:14,249 INFO [org.apache.jk.common.ChannelSocket] JK:
ajp13 listening on /0.0.0.0:8009
2006-12-06 17:42:14,349 INFO [org.apache.jk.server.JkMain] Jk running
ID=0 time=0/142 config=null
2006-12-06 17:42:14,370 INFO [org.jboss.system.server.Server] JBoss (MX
MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)]
Started in 1m:28s:192ms
</server.log>
19 years, 7 months
[JBoss Seam] - How many EntityManagers and SFSBs in a web app?
by SmokingAPipe
Every object that is managed by Seam is associated with an EntityManager. A SFSB gets its EntityManager by doing an injection of a @PersistenceContext. Normally that PersistenceContext must be of an Extended type, so that lazy-fetched objects can be rendered without the dreaded LazyInitializationException.
Now here is the problem. If I have multiple SFSBs in the same scope (Session), they will each end up with their own EntityManager. Big problems happen when one SFSB tries to deal with an injected bean while that bean is currently being managed by some other EntityManager.
What do I do? It is looking to me like I should only have ONE EntityManager for each Scope. That means one SFSB per scope. That seems a bit limiting, or is this really the way to do things?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991883#3991883
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991883
19 years, 7 months
[Tomcat, HTTPD, Servlets & JSP] - ERROR [[jsp]] Servlet.service() for servlet jsp threw except
by Rajesh.Gajula
Hi,
i have a cluster implemented with three nodes and Running fine with around 30 applications deployed on Sun OS.
now a days, i can see one instance is causing problem and applications are not accesible when the request went to particular node.
I see the below stack trace in server logs.
INFO | jvm 1 | 2006/12/06 12:14:48 | 12:14:48,878 INFO [WebappClassLoader] Illegal access: this web application instanc
e has been stopped already. Could not load org.jboss.net.protocol.jar.Handler. The eventual following stack trace is caused
by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and
has no functional impact.
INFO | jvm 1 | 2006/12/06 12:14:48 | 12:14:48,878 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
INFO | jvm 1 | 2006/12/06 12:14:48 | java.lang.ThreadDeath
INFO | jvm 1 | 2006/12/06 12:14:48 | at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.j
ava:1221)
INFO | jvm 1 | 2006/12/06 12:14:48 | at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
INFO | jvm 1 | 2006/12/06 12:14:48 | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
INFO | jvm 1 | 2006/12/06 12:14:48 | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
INFO | jvm 1 | 2006/12/06 12:14:48 | at java.lang.Class.forName0(Native Method)
INFO | jvm 1 | 2006/12/06 12:14:48 | at java.lang.Class.forName(Class.java:164)
The remaining two nodes in the same cluster will process requests during the time....
The affected node only active after restart...
Can any one help me, why i am getting this "java.lang.ThreadDeath" exception and how to resolve this.
Thanks in advance,
-Rajesh Gajula
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991877#3991877
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991877
19 years, 7 months
[JBoss Portal] - Re: WSRP consumer
by jboss_ms
I am using jboss portal 2.6.
If I am accessing a remotable portlet which is running within the same domain( without the proxy), I am not able to create an instance of it from the admin page?
My question is
1)if I make a portlet as a remotable( portlet.xml) , does it become a WSRP Producer. So does it implement the 4 interfaces and we need not write any code to make it a WSRP producer. I am not able to understand how jboss portal supports WSRP from the documentation provided.
2) Is it only the admin can create an instance and become a WSRP consumer? What is the role of other users with respect to WSRP....
Any help in this regard is highly appreciated.
Thanks in advance for the help.
regards,
M.S
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991875#3991875
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991875
19 years, 7 months
[Installation, Configuration & Deployment] - Re: Understanding the deploy directory
by lightbulb432
Thanks, those are really useful links.
I'm assuming that if you need to add a particular service, you do the opposite of what's specified in the Slimming wiki for removing it?
The reason I ask is because I'm missing my web-console, and I'd like to have it. According to that wiki, I'm guessing that I'd need to add server/slim/deploy/management/web-console.war.
Couple of issues:
1) Let's say I get my hands on the web-console.war by downloading it from somewhere, or getting a fellow developer to send it over...
My concern is that there might be compatibility issues, so how can I get the version of web-console.war that is compatible with my current installation of JBoss? (Or is this not an issue because it's just a WAR file and therefore able to be dropped into any JBoss version's deploy dir?) Is this really a concern?
Also, I don't see the web-console.war file anywhere in my JBOSS_HOME installation at all, so I can't copy-paste it from within my current installation into the deploy dir...
2) If I do get the web-console.war file, must it go under /deploy/management, or can it simply go under /deploy? What's the difference - is it just a way for organizing deployable archives, or is there some meaning to subdirectories of /deploy?
Does hot deploy work for any deployable archive under /deploy or any of its subdirectories?
3) With regards to JBoss 4.0 The Official Guide, I noticed that it was published in 2005/04/20...a year and a half ago for a product that evolves as quickly as JBoss. Is it still a relevant read, or is it mostly obsolete? (i.e. Read at your own risk!)
Or will is be relevant at least until JBoss 5.0 is released?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991861#3991861
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991861
19 years, 7 months
[JBoss jBPM] - Deleting processInstance as part of workflow
by ksdeger
As the last step in the workflow (at or right before end-state) I would like to delete the processInstance. Basically, I don't want any ended processIntances in the database.
I tried re-defining end-state, and I thought I had correctly changed all the configuration files, but my process wouldn't deploy correctly.
My question is, is end-state required, or could I not have an end-state node in the process definition, and instead define a node that would essentially end the task and delete the processInstance? I looked at the source code for the EndState node, and it doesn't seem to do anything special, but I'm more concerned about what might be happening outside the node class.
If eliminating end-state is not possible could someone who is using deleteProcessInstance explain when/how they use it? I could of course create an process outside of the flow to query the database for completed processes and then use deleteProcessInstance to clean them out, but that would require additional queries against the database. We are running an extremely large number of processes through the system, and I'm trying to limit unnecessary queries (if possible).
Any suggestions would be welcome.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991859#3991859
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991859
19 years, 7 months