[Beginners Corner] - Re: Remote conenct JBoss AS
by jaikiran
The contents from service.bat that i posted were from an older version of JBossNative. For the version you are using, the service.bat has to be edited as follows:
:cmdStart
| REM Executed on service start
| del .r.lock 2>&1 | findstr /C:"being used" > nul
| if not errorlevel 1 (
| echo Could not continue. Locking file already in use.
| goto cmdEnd
| )
| echo Y > .r.lock
| jbosssvc.exe -p 1 "Starting %SVCDISP%" > run.log
| call run.bat < .r.lock -b 0.0.0.0 >> run.log 2>&1
| .....
| ......
| some more lines from the bat file
|
| ....
| ....
| :cmdRestart
| REM Executed manually from command line
| REM Note: We can only stop and start
| echo Y > .s.lock
| jbosssvc.exe -p 1 "Shutting down %SVCDISP%" >> shutdown.log
| call shutdown -S < .s.lock >> shutdown.log 2>&1
| del .s.lock
| :waitRun
| REM Delete lock file
| del .r.lock > nul 2>&1
| REM Wait one second if lock file exist
| jbosssvc.exe -s 1
| if exist ".r.lock" goto waitRun
| echo Y > .r.lock
| jbosssvc.exe -p 1 "Restarting %SVCDISP%" >> run.log
| call run.bat < .r.lock -b 0.0.0.0 >> run.log 2>&1
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161951#4161951
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161951
17 years, 3 months
[JBoss Portal] - jboss-portletcontainer-2.0.0 with jbossas42 the art of resiz
by terroene
Hello again,
One problem solved, another problem found:
What do I have to do to make a portlet resizable using the xportal-Taglib in jboss-portletcontainer-2.0.0??????????????????????????????????
I already searched in the simple-portal sources, but I found nothing but the realization that it doesn't have to do with the portlet-code. Perhaps I missed a configuration file.
If I click on a rezise-Button the following error occurs:
| 09:15:56,910 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
| java.lang.NullPointerException
| at org.jboss.portal.portlet.portal.jsp.PagePortletControllerContext.getPortlet(PagePortl
| etControllerContext.java:112)
| at org.jboss.portal.portlet.controller.impl.AbstractPortletControllerContext.getPortletI
| nfo(AbstractPortletControllerContext.java:110)
| at org.jboss.portal.portlet.controller.impl.state.PortletPageNavigationalStateImpl.setPo
| rtletPublicNavigationalState(PortletPageNavigationalStateImpl.java:143)
| at org.jboss.portal.portlet.controller.PortletRequestHandler.updateNavigationalState(Por
| tletRequestHandler.java:406)
| at org.jboss.portal.portlet.controller.PortletRequestHandler.processResponse(PortletRequ
| estHandler.java:97)
| at org.jboss.portal.portlet.controller.PortletRequestHandler.processResponse(PortletRequ
| estHandler.java:58)
| at org.jboss.portal.portlet.controller.RequestHandler.handle(RequestHandler.java:66)
| at org.jboss.portal.portlet.controller.PortletController.process(PortletController.java:
| 179)
| at org.jboss.portal.portlet.portal.jsp.ControllerFilter.doFilter(ControllerFilter.java:1
| 29)
| at org.jboss.portal.portlet.portal.jsp.ControllerFilter.doFilter(ControllerFilter.java:9
| 1)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCha
| in.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
| 206)
| at org.jboss.portal.portlet.portal.ErrorHandlingFilter.doFilter(ErrorHandlingFilter.java
| :61)
| at org.jboss.portal.portlet.portal.ErrorHandlingFilter.doFilter(ErrorHandlingFilter.java
| :53)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCha
| in.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
| 206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCha
| in.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
| 206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValv
| e.java:179)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.j
| ava:157)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protoco
| l.java:583)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| at java.lang.Thread.run(Thread.java:595)
|
|
Please help,
best regards,
rene
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161950#4161950
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161950
17 years, 3 months
[JBoss jBPM] - one question about Fork/Join
by biggo
<?xml version="1.0" encoding="GBK"?>
|
| <process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="convertor15">
|
| <!-- START-STATE -->
| <start-state name="start">
| <transition to="startFork" name="start to startFork"/>
| </start-state>
|
| <!-- NODES -->
| <end-state name="end"/>
| <task-node name="a">
| <transition to="b" name="to b"/>
| <task name="a's Task">
| <assignment actor-id="a"/>
| </task>
| </task-node>
| <task-node name="b">
| <transition to="b Fork" name="b to Fork"/>
| <task name="b's Task">
| <assignment actor-id="b"/>
| </task>
| </task-node>
| <task-node name="c">
| <task name="c's Task">
| <assignment actor-id="c"/>
| </task>
| <transition to="join1"></transition>
| </task-node>
| <task-node name="d">
| <task name="d's Task">
| <assignment actor-id="d"/>
| </task>
| <transition to="join2"></transition>
| </task-node>
| <task-node name="e">
| <transition to="f" name="to f"/>
| <task name="e's Task">
| <assignment actor-id="a"/>
| </task>
| </task-node>
| <task-node name="f">
| <task name="f's Task">
| <assignment actor-id="b"/>
| </task>
| <transition to="join2"></transition>
| </task-node>
| <task-node name="g">
| <task name="g's Task">
| <assignment actor-id="a"/>
| </task>
| <transition to="join1"></transition>
| </task-node>
| <fork name="startFork">
| <transition to="a" name="startForka"/>
| <transition to="e" name="startForke"/>
| </fork>
| <fork name="b Fork">
| <transition to="c" name="to c"/>
| <transition to="d" name="to d"/>
| </fork>
| <join name="join1">
| <transition to="end"></transition>
| </join>
|
| <join name="join2">
| <transition to="g"></transition>
| </join>
|
| </process-definition>
|
by given this processdefinition,When TaskNode f and d 's task were all completed ,but the process stoped in the Join2 , and the TaskNode g cann't be accessed , I'm so puzzled by this question.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161939#4161939
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161939
17 years, 3 months
[JBoss jBPM] - one question about Fork/Join
by biggo
<?xml version="1.0" encoding="GBK"?>
|
| <process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="convertor15">
|
| <!-- START-STATE -->
| <start-state name="start">
| <transition to="startFork" name="start to startFork"/>
| </start-state>
|
| <!-- NODES -->
| <end-state name="end"/>
| <task-node name="a">
| <transition to="b" name="to b"/>
| <task name="a's Task">
| <assignment actor-id="a"/>
| </task>
| </task-node>
| <task-node name="b">
| <transition to="b Fork" name="b to Fork"/>
| <task name="b's Task">
| <assignment actor-id="b"/>
| </task>
| </task-node>
| <task-node name="c">
| <task name="c's Task">
| <assignment actor-id="c"/>
| </task>
| <transition to="join1"></transition>
| </task-node>
| <task-node name="d">
| <task name="d's Task">
| <assignment actor-id="d"/>
| </task>
| <transition to="join2"></transition>
| </task-node>
| <task-node name="e">
| <transition to="f" name="to f"/>
| <task name="e's Task">
| <assignment actor-id="a"/>
| </task>
| </task-node>
| <task-node name="f">
| <task name="f's Task">
| <assignment actor-id="b"/>
| </task>
| <transition to="join2"></transition>
| </task-node>
| <task-node name="g">
| <task name="g's Task">
| <assignment actor-id="a"/>
| </task>
| <transition to="join1"></transition>
| </task-node>
| <fork name="startFork">
| <transition to="a" name="startForka"/>
| <transition to="e" name="startForke"/>
| </fork>
| <fork name="b Fork">
| <transition to="c" name="to c"/>
| <transition to="d" name="to d"/>
| </fork>
| <join name="join1">
| <transition to="end"></transition>
| </join>
|
| <join name="join2">
| <transition to="g"></transition>
| </join>
|
| </process-definition>
|
by given this processdefinition,When TaskNode f and d 's task were all completed ,but the process stoped in the Join2 , and the TaskNode g cann't be accessed , I'm so puzzled by this question.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161938#4161938
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161938
17 years, 3 months