[Installation, Configuration & Deployment] - Re: Jboss shut itself down, when I close a Applet.
by este1212
Hi,
Thanks for your answer,
Hier is what the log file shows:
04:35:40,487 INFO [STDOUT] pValues: [19900003]
04:35:40,487 INFO [STDOUT] in pValues
04:35:40,487 INFO [STDOUT] ACTION::paramName: currentProjectID , paramValue: 42
04:35:40,487 INFO [STDOUT] ACTION::paramName: 397|textLabel , paramValue: 19900
003
04:35:40,487 INFO [STDOUT] ACTION::paramName: 540|textLabel , paramValue: Die R
echnung wird gezeigt.
04:35:40,487 INFO [STDOUT] ACTION::paramName: pageID , paramValue: 391
04:35:40,487 INFO [STDOUT] ACTION::paramName: 462|table , paramValue: true
//Until hier all was ok, but as I close a pdf reader applet (PDFBox),
//I got hier JBoss SHUTDOWN. No Failure , as you see at the head of //logfile.
04:36:07,767 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
04:36:07,767 INFO [EJBDeployer] Undeploying: file:/C:/jboss-4.0.2/server/defaul
t/deploy/TelefonManagementEJB.jar
04:36:08,027 INFO [EjbModule] Undeployed Telefon_KundenTarif
04:36:08,027 INFO [EjbModule] Undeployed Telefon_CalldatenItems
04:36:08,027 INFO [EjbModule] Undeployed Telefon_Kunden
04:36:08,037 INFO [EjbModule] Undeployed Telefon_MethodesUtility
04:36:08,037 INFO [EjbModule] Undeployed Telefon_Adresse
04:36:08,037 INFO [EjbModule] Undeployed ManageDataBase
04:36:08,037 INFO [EjbModule] Undeployed Telefon_DatumUtility
04:36:08,047 INFO [EjbModule] Undeployed Telefon_Rechnung
04:36:08,047 INFO [EjbModule] Undeployed Telefon_Tarif
04:36:08,047 INFO [EjbModule] Undeployed Telefon_Login
04:36:08,047 INFO [EjbModule] Undeployed Telefon_KundenAdressen
04:36:08,047 INFO [EjbModule] Undeployed Telefon_DatenBank
04:36:08,057 WARN [DeploymentInfo] Could not delete file:/C:/jboss-4.0.2/server
/default/tmp/deploy/tmp22732TelefonManagementEJB.jar restart will delete it
04:36:08,057 INFO [TomcatDeployer] undeploy, ctxPath=/uploader, warUrl=file:/C:
/jboss-4.0.2/server/default/tmp/deploy/tmp22722Uploader.ear-contents/UpWeb-exp.w
ar/
04:36:08,087 INFO [EJBDeployer] Undeploying: file:/C:/jboss-4.0.2/server/defaul
t/tmp/deploy/tmp22722Uploader.ear-contents/UpEJB.jar
04:36:08,207 INFO [EjbModule] Undeployed Project
04:36:08,207 INFO [EARDeployer] Undeploying J2EE application, destroy step: fil
e:/C:/jboss-4.0.2/server/default/deploy/Uploader.ear
Any Idea, I will appreciate.
Radouane
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004693#4004693
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004693
19 years, 3 months
[EJB 3.0] - Calling MessageDrivenBean from another JBOSS-Server
by NiB
Hi,
I have one SessionBean (Stateless) and i want to call a messagedrivenbean from another server. But I Have the following Problem:
anonymous wrote : INFO [STDOUT] javax.naming.NoInitialContextException: Cannot instantiate class: org.jboss.naming:org.jnp.interfaces [Root exception is java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.naming:org.jnp.interfaces]
|
What do I do wrong? I Use ejb3 rc9 and the following code:
java.util.Properties p = System.getProperties();
| p.setProperty("java.naming.factory.initial",
| "org.jnp.interfaces.NamingContextFactory");
| p.setProperty("java.naming.factory.url.pkgs",
| "org.jboss.naming:org.jnp.interfaces");
| p.setProperty("java.naming.provider.url", "jnp://localhost:1099");
|
| try {
| javax.naming.InitialContext ctx = new javax.naming.InitialContext(p);
| [..]
|
And anther Question:
The mdb is ejb 2.1. Will that be a problem, if a solve the problem above?
thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004680#4004680
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004680
19 years, 3 months
[JBoss jBPM] - Custom forms not displaying using starter kit
by molinemc
Hi,
I'm new to JBoss and jBPM, so I apologize if my question is improperly phrased. I'm attempting to get a new process working using the 3.1.3 starter kit, the Eclipse graphical process designer and the supplied webapp. I am attempting to use a custom TaskControllerHandler implementation to handle form input, but have had little success. My intuition is that I should create a custom xhtml file to use with the task that uses the task variables, and supply the link to it in the forms.xml file. However, no matter what I do, the webapp loads an empty form on the start state. I'd appreciate any help you can give.
Here are what I think are the relevant code snippets:
ProcessDefinition.xml:
| ...
| <task name="Input Top-level task" swimlane="initiator">
| <controller class="<package_name_concealed.ProcessCreatorTaskControllerHandler" config-type="bean"></controller>
| </task>
| ...
|
ProcessCreatorTaskControllerHandler.java:
| ...
| public class ProcessCreatorTaskControllerHandler implements TaskControllerHandler
| {
| private static final long serialVersionUID = -8342109418315801711L;
|
| public void initializeTaskVariables(TaskInstance taskInstance, ContextInstance contextInstance, Token token)
| {
| taskInstance.addVariableInstance(
| VariableInstance.create(token, "processName", ""));
| }
|
| public void submitTaskVariables(TaskInstance taskInstance, ContextInstance contextInstance, Token token)
| {
| ...
| }
| }
|
forms.xml:
| <?xml version="1.0" encoding="UTF-8"?>
|
| <forms>
| <form task="Input Top-level task" form="ProcessInput.xhtml"/>
| <form task="Input Task Info" form="InputTask.xhtml"/>
| </forms>
|
ProcessInput.xhtml
| ...
| <!-- TASKFORM ROWS -->
| <tr>
| <td>processName</td>
| <td>
| <input jsfc="h:input" value="#{taskBean.variables['processName']} />
| </td>
| </tr>
| ...
|
Here is the HTML from the webapp, missing any reference to processName:
| ...
| <h2>Input Top-level task</h2>
|
| <hr />
|
|
| <table>
| <tbody id="taskform:_id2:tbody_element"></tbody></table>
|
|
| <hr />
|
|
|
|
| <input id="taskform:transitionButton" name="taskform:transitionButton" type="submit" value="Save and Close Task" onclick="clear_taskform();"/>
|
|
|
| <hr />
|
| <input id="taskform:_id9" name="taskform:_id9" type="submit" value="Save" onclick="clear_taskform();"/>
| <input id="taskform:_id10" name="taskform:_id10" type="submit" value="Cancel" onclick="clear_taskform();"/>
| ...
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004679#4004679
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004679
19 years, 3 months