[Design of JBoss jBPM] - added job executor servlet to the jbpm-console.war
by tom.baeyens@jboss.com
i added the job executor servlet to the jbpm-console.war.
the servlet will start the job executor that is configured in the jbpm configuration.
also i added the libraries jbpm-jpdl.jar and jbpm-identity.jar to the web console cause these were commented. david, what other way were they deployed in your environment ? in the build of the console, i would like all library dependencies to be packaged inside of the .war. that way, we get a portable standard java based .war console that could be deployed in a plain tomcat as is. Then in the enterprise subproject. i start from that .war and modify it's contents until i get an .ear file that can be deployed in a standard J2EE 1.4 server. also the ear file should is self contained.
do you guys also think that this is an improvement ? 1 .war targetted for the standard java platform and 1 .ear targetted for a J2EE 1.4 appserver.
david, i assume that you want to uncomment the servlet while you're developing. can you figure out a way to do this with a separate target in the console/build.xml somewhere ? you can have a look at enterprise/ear/build.xml for an example of how to comment out the job servlet with an ant script. i would like the default build target to keep the job executor servlet in the console web application. especially since the default targets will be used for automatic testing.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982355#3982355
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982355
18 years, 2 months
[Design of JBoss jBPM] - deploying to jboss in development
by tom.baeyens@jboss.com
i have changed the deployment strategy a little bit. since multiple people are developing on different deployment artifacts, there is no single package that will get deployed by physical copy to the jboss deploy directory. instead all deployments are now done through JMX. this means that a file somewhere on your hard drive is deployed as if it were in the deploy directory. the advantage is that no jbpm deployments remain in the jboss deploy directory. so you can always start from a clean jboss by rebooting your jboss instance.
now, all the deploy targets, use jmx as a deployment mechanism. if you would like to add a target for deploying through physical file copy to the deploy directory, just add a new target called 'deploy.by.copy' or something like that.
does that make sense ?
does everyone agree that this is a good strategy ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982346#3982346
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982346
18 years, 2 months
[Design of JBoss jBPM] - Re: Web console enhancements
by tom.baeyens@jboss.com
not i'm having this problem. i'm in doubt wether this has to do with the webapp enhancements.
the problem occurs when i deploy a modified .ear file for testing. i added a .war which contains server side tests to the .ear packaging.
then i get the problem below. stack trace seems to indicate that jboss or tomcat would require aspectj ?! strange. the webapp in which this failing servlet is deployed doesn't use JSF so afaict, it should not use your backported JSF stuff.
anyways, here's the stack trace, any hints are appreciated:
===============================================================================
| .
| JBoss Bootstrap Environment
| .
| JBOSS_HOME: C:\software\jboss-4.0.4.GA\bin\\..
| .
| JAVA: C:\software\jdk1.5.0_07\bin\java
| .
| JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
| .
| CLASSPATH: C:\software\jdk1.5.0_07\lib\tools.jar;C:\software\jboss-4.0.4.GA\bin\\run.jar
| .
| ===============================================================================
| .
| 10:50:18,262 INFO [Server] Starting JBoss (MX MicroKernel)...
| 10:50:18,277 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
| 10:50:18,277 INFO [Server] Home Dir: C:\software\jboss-4.0.4.GA
| 10:50:18,277 INFO [Server] Home URL: file:/C:/software/jboss-4.0.4.GA/
| 10:50:18,277 INFO [Server] Patch URL: null
| 10:50:18,277 INFO [Server] Server Name: jbpm
| 10:50:18,277 INFO [Server] Server Home Dir: C:\software\jboss-4.0.4.GA\server\jbpm
| 10:50:18,277 INFO [Server] Server Home URL: file:/C:/software/jboss-4.0.4.GA/server/jbpm/
| 10:50:18,277 INFO [Server] Server Log Dir: C:\software\jboss-4.0.4.GA\server\jbpm\log
| 10:50:18,277 INFO [Server] Server Temp Dir: C:\software\jboss-4.0.4.GA\server\jbpm\tmp
| 10:50:18,277 INFO [Server] Root Deployment Filename: jboss-service.xml
| 10:50:18,590 INFO [ServerInfo] Java version: 1.5.0_07,Sun Microsystems Inc.
| 10:50:18,590 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_07-b03,Sun Microsystems Inc.
| 10:50:18,590 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
| 10:50:19,074 INFO [Server] Core system initialized
| 10:50:20,559 INFO [WebService] Using RMI server codebase: http://lightning:8083/
| 10:50:20,574 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
| 10:50:20,746 INFO [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
| 10:50:22,902 INFO [Embedded] Catalina naming disabled
| 10:50:22,949 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
| 10:50:22,949 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
| 10:50:23,199 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
| 10:50:23,199 INFO [Catalina] Initialization processed in 250 ms
| 10:50:23,199 INFO [StandardService] Starting service jboss.web
| 10:50:23,215 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.17
| 10:50:23,230 INFO [StandardHost] XML validation disabled
| 10:50:23,262 INFO [Catalina] Server startup in 63 ms
| 10:50:23,355 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
| 10:50:23,590 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
| 10:50:24,105 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
| 10:50:24,559 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp19001jbossws-exp.war/
| 10:50:24,730 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDispatcher
| 10:50:24,871 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
| 10:50:26,059 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
| 10:50:26,871 INFO [MailService] Mail Service bound to java:/Mail
| 10:50:27,012 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
| 10:50:27,043 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
| 10:50:27,059 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
| 10:50:27,090 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
| 10:50:27,105 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
| 10:50:27,137 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
| 10:50:27,762 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
| 10:50:27,965 INFO [JbpmCommandQueue] Bound to JNDI name: queue/JbpmCommandQueue
| 10:50:28,012 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
| 10:50:28,043 INFO [DLQ] Bound to JNDI name: queue/DLQ
| 10:50:28,090 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=JbpmDS' to JNDI name 'java:JbpmDS'
| 10:50:28,184 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
| 10:50:28,215 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
| 10:50:28,512 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
| 10:50:28,918 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
| 10:50:28,934 INFO [JkMain] Jk running ID=0 time=0/63 config=null
| 10:50:28,949 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 10s:656ms
| 10:50:47,293 INFO [EARDeployer] Init J2EE application: file:/C:/wsjbpm/jbpm.3_HEAD/enterprise/ear/target/jbpm-test.ear
| 10:50:49,824 INFO [EjbModule] Deploying CommandListenerBean
| 10:50:49,965 INFO [EjbModule] Deploying CommandServiceBean
| 10:50:50,137 INFO [EJBDeployer] Deployed: file:/C:/software/jboss-4.0.4.GA/server/jbpm/tmp/deploy/tmp19032jbpm-test.ear-contents/jbpm-cmdlistener.jar
| 10:50:50,168 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CommandServiceBean' to jndi 'CommandServiceBean'
| 10:50:50,168 INFO [ProxyFactory] Bound EJB Home 'CommandServiceBean' to jndi 'ejb/CommandServiceBean'
| 10:50:50,168 INFO [EJBDeployer] Deployed: file:/C:/software/jboss-4.0.4.GA/server/jbpm/tmp/deploy/tmp19032jbpm-test.ear-contents/jbpm-cmdservice.jar
| 10:50:50,184 INFO [TomcatDeployer] deploy, ctxPath=/jbpm-console, warUrl=.../tmp/deploy/tmp19032jbpm-test.ear-contents/jbpm-console-exp.war/
| 10:50:50,496 ERROR [STDERR] 1-nov-2006 10:50:50 com.sun.faces.config.ConfigureListener contextInitialized
| INFO: Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context 'null'
| 10:50:50,871 ERROR [STDERR] 1-nov-2006 10:50:50 com.sun.faces.spi.InjectionProviderFactory createInstance
| WARNING: JSF1033: Resource injection is DISABLED.
| 10:50:51,246 DEBUG [InternetResourceBuilder] Create default implementation instance of InternetBuilder
| 10:50:51,340 DEBUG [InternetResourceBuilder] build new resource for path scripts/form.js
| 10:50:51,652 ERROR [STDERR] 1-nov-2006 10:50:51 com.sun.faces.config.ConfigureListener isJspTwoOne
| WARNING: Incorrect JSP version found, method getJspApplicationContext does not exist.
| 10:50:51,652 ERROR [STDERR] 1-nov-2006 10:50:51 com.sun.faces.config.ConfigureListener contextInitialized
| INFO: Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context 'null'
| 10:50:51,715 DEBUG [Config] Config() called
| 10:50:51,715 DEBUG [AbstractCacheAdministrator] Constructed AbstractCacheAdministrator()
| 10:50:51,715 INFO [ServletCacheAdministrator] Created new instance of ServletCacheAdministrator
| 10:50:51,715 INFO [ServletCacheAdministrator] Created new application-scoped cache at key: __oscache_cache
| 10:50:51,855 INFO [TomcatDeployer] deploy, ctxPath=/jbpm-test, warUrl=.../tmp/deploy/tmp19032jbpm-test.ear-contents/jbpm-test-exp.war/
| 10:50:51,980 INFO [EARDeployer] Started J2EE application: file:/C:/wsjbpm/jbpm.3_HEAD/enterprise/ear/target/jbpm-test.ear
| 10:50:54,199 INFO [[/jbpm-test]] Marking servlet ServletRedirector as unavailable
| 10:50:54,199 ERROR [[ServletRedirector]] Allocate exception for servlet ServletRedirector
| java.lang.NoClassDefFoundError: org/aspectj/lang/Signature
| at java.lang.Class.getDeclaredConstructors0(Native Method)
| at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
| at java.lang.Class.getConstructor0(Class.java:2640)
| at java.lang.Class.newInstance0(Class.java:321)
| at java.lang.Class.newInstance(Class.java:303)
| at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1055)
| 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.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)
| 10:50:54,230 INFO [[ServletRedirector]] Servlet ServletRedirector is currently unavailable
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982331#3982331
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982331
18 years, 2 months