[Beginners Corner] - Problems Reaching Admin Console
by davidZ
Hi,
I have a fresh install of jboss 4.2.3.GA on a Red Hat Server Version 5.3. When I execute run.sh, it seems to have a clean start, but I'm not able to reach the admin console on port 8080.
Does anyone have any suggestions about what might be causing the problem?
Here is my server startup log:
| =========================================================================
|
| JBoss Bootstrap Environment
|
| JBOSS_HOME: /var/jboss-4.2.3.GA
|
| JAVA: /var/ibm/java2-i386-50/bin/java
|
| JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true
|
| CLASSPATH: /var/jboss-4.2.3.GA/bin/run.jar:/var/ibm/java2-i386-50/lib/tools.jar
|
| =========================================================================
|
| 09:07:37,160 INFO [Server] Starting JBoss (MX MicroKernel)...
| 09:07:37,163 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
| 09:07:37,165 INFO [Server] Home Dir: /var/jboss-4.2.3.GA
| 09:07:37,165 INFO [Server] Home URL: file:/var/jboss-4.2.3.GA/
| 09:07:37,169 INFO [Server] Patch URL: null
| 09:07:37,169 INFO [Server] Server Name: default
| 09:07:37,170 INFO [Server] Server Home Dir: /var/jboss-4.2.3.GA/server/default
| 09:07:37,171 INFO [Server] Server Home URL: file:/var/jboss-4.2.3.GA/server/default/
| 09:07:37,171 INFO [Server] Server Log Dir: /var/jboss-4.2.3.GA/server/default/log
| 09:07:37,173 INFO [Server] Server Temp Dir: /var/jboss-4.2.3.GA/server/default/tmp
| 09:07:37,174 INFO [Server] Root Deployment Filename: jboss-service.xml
| 09:07:37,749 INFO [ServerInfo] Java version: 1.5.0,IBM Corporation
| 09:07:37,750 INFO [ServerInfo] Java VM: IBM J9 VM 2.3,IBM Corporation
| 09:07:37,750 INFO [ServerInfo] OS-System: Linux 2.6.18-128.1.6.el5,x86
| 09:07:38,250 INFO [Server] Core system initialized
| 09:07:41,757 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
| 09:07:41,761 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
| 09:07:42,438 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
| 09:07:42,439 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
| 09:07:42,696 INFO [TransactionManagerService] Starting recovery manager
| 09:07:42,820 INFO [TransactionManagerService] Recovery manager started
| 09:07:42,820 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
| 09:07:46,609 INFO [EJB3Deployer] Starting java:comp multiplexer
| 09:07:50,059 INFO [NativeServerConfig] JBoss Web Services - Native
| 09:07:50,059 INFO [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
| 09:07:51,115 INFO [Embedded] Catalina naming disabled
| 09:07:51,310 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /var/ibm/java2-i386-50/jre/bin:/usr/lib
| 09:07:51,401 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8989
| 09:07:51,403 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
| 09:07:51,404 INFO [Catalina] Initialization processed in 288 ms
| 09:07:51,405 INFO [StandardService] Starting service jboss.web
| 09:07:51,408 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
| 09:07:51,454 INFO [Catalina] Server startup in 50 ms
| 09:07:51,578 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
| 09:07:52,230 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
| 09:07:52,407 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
| 09:07:52,628 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
| 09:07:53,501 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
| 09:07:54,025 INFO [MailService] Mail Service bound to java:/Mail
| 09:07:54,198 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
| 09:07:54,243 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
| 09:07:54,307 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
| 09:07:54,344 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
| 09:07:54,416 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
| 09:07:54,453 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
| 09:07:54,501 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
| 09:07:54,513 INFO [QuartzResourceAdapter] start quartz!!!
| 09:07:54,601 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
| 09:07:54,636 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
| 09:07:54,640 INFO [RAMJobStore] RAMJobStore initialized.
| 09:07:54,641 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
| 09:07:54,642 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
| 09:07:54,643 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
| 09:07:55,540 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
| 09:07:55,889 INFO [A] Bound to JNDI name: queue/A
| 09:07:55,893 INFO [B] Bound to JNDI name: queue/B
| 09:07:55,896 INFO [C] Bound to JNDI name: queue/C
| 09:07:55,899 INFO [D] Bound to JNDI name: queue/D
| 09:07:55,902 INFO [ex] Bound to JNDI name: queue/ex
| 09:07:55,925 INFO [testTopic] Bound to JNDI name: topic/testTopic
| 09:07:55,929 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
| 09:07:55,932 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
| 09:07:55,937 INFO [testQueue] Bound to JNDI name: queue/testQueue
| 09:07:55,996 INFO [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093
| 09:07:56,040 INFO [DLQ] Bound to JNDI name: queue/DLQ
| 09:07:56,193 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
| 09:07:56,225 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
| 09:07:56,463 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8989
| 09:07:56,491 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
| 09:07:56,506 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 19s:327ms
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247672#4247672
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247672
16 years, 8 months
[JBoss jBPM] - Re: taskform in the start activity - form vars dont get pers
by lalitjava
looks like I didnt save the process snippet with the right escapes- sorry! Hope this does the trick :)
| <?xml version="1.0" encoding="UTF-8"?>
|
| <process name="GTRIHelpRequest" xmlns="http://jbpm.org/4.0/jpdl">
|
| <on event="start">
| <event-listener class="gtri.jbpm.pilot.LogListener">
| <field name="msg"><string value="starting the process GTRIHelpRequest"/></field>
| </event-listener>
| </on>
|
|
| <start form="gtri/jbpm/pilot/demo/request_help.ftl" g="0,0,80,40" name="start">
| <on event="start">
| <event-listener class="gtri.jbpm.pilot.LogListener">
| <field name="msg"><string value="In the start activity - start event - of GTRIHelpRequest process"/></field>
| </event-listener>
| </on>
| <transition to="debug_variables"/>
| </start>
|
| <script expr="Just dumping process variables" g="66,10,80,40" name="debug_variables" var="processVarABC">
| <on event="start">
| <event-listener class="gtri.jbpm.pilot.LogListener">
| <field name="msg"><string value="In the debug variables activity - start event - of GTRIHelpRequest process"/></field>
| </event-listener>
| </on>
| <transition to="manager_approval"/>
| </script>
|
| <task candidate-users="peter,mary" form="gtri/jbpm/pilot/demo/manager_approval.ftl" g="163,10,131,40" name="manager_approval">
| <on event="start">
| <event-listener class="gtri.jbpm.pilot.LogListener">
| <field name="msg"><string value="In the manager_approval_test activity - start event - of GTRIHelpRequest process"/></field>
| </event-listener>
| </on>
| <notification/>
| <transition g="-38,-18" name="Allowed" to="is_lab_approval_needed"/>
| <transition g="-38,-18" name="Sorry" to="request_rejected"/>
| </task>
|
|
|
| <decision g="354,85,80,40" name="is_lab_approval_needed">
| <on event="start">
| <event-listener class="gtri.jbpm.pilot.LogListener">
| <field name="msg"><string value="In the is_lab_approval activity - start event - of GTRIHelpRequest process"/></field>
| </event-listener>
| </on>
| <transition to="in_lab_approval_email">
| <condition expr="#{(hr_subcategory=='newhire') || (hr_subcategory=='newconst') || (hr_subcategory=='badge') }"/>
| </transition>
| <transition to="in_request_handling_email"/>
| </decision>
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247663#4247663
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247663
16 years, 9 months
[JBoss jBPM] - taskform in the start activity - form vars dont get persiste
by lalitjava
We are using JBPM v4 for a pilot at one of our institute labs.
Since it's a pilot, we are not creating a separate UI to access the TaskService etc. We are instead leveraging the taskforms capability and using FTL templates for forms at different points in the workflow.
One issue that we have run into is that if we have a form associated with the start activity, then none of the form params ( posted via HTTP when the workflow is started through the console) are being persisted into the JBPM4_VAR table till we introduce a halt in the workflow via a task associated with a user/group.
Net effect of this seems to be that if you try to reference any of the form params before this task in the workflow, we get nulls.
After the task (any task with a halt), the form params become available as process instance variables and can be used in the workflow..
Is this an issue that others have run into? Or maybe we are doing something wrong?
Here's the jpd.xml snippet..
This works ..(note the halt we introduce via a manager_approval before we try to reference the hr_subcategory form variable in the is_lab_approval_needed decision activity).
Trying to directly go from start to is_lab_approval_activity fails since hr_subcategory is resolved to null (we get a NPE).
Also, one more quick question - we noticed that the JBPM4_HIST_VAR table never gets populated. The JBPM4_VAR table stores the process variables only as long as the process is active..If we dont want to create our own audit repo and leverage what JBPM4 provides out of the box, where do we see the process variables (we need some of these for an audit trail)?
Regards,
Lalit
<?xml version="1.0" encoding="UTF-8"?>
<event-listener class="gtri.jbpm.pilot.LogListener">
</event-listener>
<event-listener class="gtri.jbpm.pilot.LogListener">
</event-listener>
<event-listener class="gtri.jbpm.pilot.LogListener">
</event-listener>
<task candidate-users="peter,mary" form="gtri/jbpm/pilot/demo/manager_approval.ftl" g="163,10,131,40" name="manager_approval">
<event-listener class="gtri.jbpm.pilot.LogListener">
</event-listener>
<event-listener class="gtri.jbpm.pilot.LogListener">
</event-listener>
<condition expr="#{(hr_subcategory=='newhire') || (hr_subcategory=='newconst') || (hr_subcategory=='badge') }"/>
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247661#4247661
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247661
16 years, 9 months