[JBoss-user] [JBoss jBPM] - Re: hibernate exception

2006-04-20 Thread Fidalma
Hi Ronald... 
Thank you for your answer: I appreciate in particolar way your kindness... I 
don't know if you have understood...
Anyway, I agree with your sentence but the problem is that I have yet verified 
all that things and no one seems to be wrong...


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3938348#3938348

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3938348


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - hibernate exception

2006-04-19 Thread Fidalma
, no JNDI name configured
  | 17:59:13,374 [main] INFO  SessionFactoryImpl : Checking 25 named HQL queries
  | 17:59:13,805 [main] INFO  SessionFactoryImpl : Checking 0 named SQL queries
  | 17:59:13,807 [main] DEBUG DbPersistenceService : creating hibernate session
  | 17:59:13,861 [main] DEBUG DbPersistenceService : beginning hibernate 
transaction
  | 17:59:13,909 [main] WARN  JDBCExceptionReporter : SQL Error: 17002, 
SQLState: null
  | 17:59:13,910 [main] ERROR JDBCExceptionReporter : Io exception: Connection 
refused(DESCRIPTION=(TMP=)(VSNNUM=153093888)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4
  | 17:59:13,911 [main] DEBUG JbpmContext : closing JbpmContext
  | 17:59:13,911 [main] DEBUG Services : closing service 'persistence': [EMAIL 
PROTECTED]
  | 17:59:13,911 [main] DEBUG DbPersistenceService : flushing hibernate session
  | 17:59:13,912 [main] DEBUG DbPersistenceService : closing hibernate session
  | 


I'm working on a linux server and the database is Oracle9i.
I have put everywhere all jdbc drivers (ocrs12.jar and ojdbc14.jar).

Thank you very much in advance...

bye,
Fidalma

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3938213#3938213

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3938213


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Couldn't parse process definition...

2006-04-06 Thread Fidalma
Hi all,
I am always in trouble... sigh...
I have solved the previous stupid problem, but now I have another one.
This is the situation:


  | -- PROCESS DEFINITION 
--
  | 
  | ?xml version=1.0 encoding=UTF-8?
  | process-definition xmlns=urn:jbpm.org:jpdl-3.1 name=Initiator
  |swimlane name=initiator /
  |start-state name=start new process
  |   task swimlane=process initiator /
  |   transition name=tr1 to=decision
  |  action name=action 
class=com.sample.action.SampleActionHandler
  |  /action
  |   /transition
  |/start-state
  |decision name=decision
  |   handler class=com.sample.decision.SampleDecisionHandler/handler
  |   transition name=tr2 to=action/transition
  |   transition name=tr3 to=end1/transition
  |/decision
  |state name=action
  |   transition name=tr4 to=end1/transition
  |/state
  |end-state name=end1/end-state
  | /process-definition
  |  MY ACTION HANDLER 
--
  | 
  | 
  | package com.sample.action;
  | 
  | import org.jbpm.graph.def.ActionHandler;
  | import org.jbpm.graph.exe.ExecutionContext;
  | 
  | public class SampleActionHandler implements ActionHandler
  | {
  | private static final long serialVersionUID = 1L;
  | public void execute(ExecutionContext context) throws Exception
  | {
  | Runtime rt = null;
  | Process process = null;
  | 
  | context.getContextInstance().createVariable(greeting, Greeting 
from SampleActionHandler);
  | try
  | {
  | rt = Runtime.getRuntime();
  | process = rt.exec(C:\\Applications~1\\ECLIPSE~1\\Start.bat);
  | context.getContextInstance().createVariable(status, new 
Integer(process.waitFor()));
  | }
  | catch (Exception e)
  | {
  | System.out.println(e);
  | context.getContextInstance().createVariable(budget, new 
Integer(1));
  | }
  | }
  | }
  | 
  | 
  | - MY DECISION HANDLER 
--
  | 
  | 
  | package com.sample.decision;
  | 
  | import org.jbpm.graph.exe.ExecutionContext;
  | import org.jbpm.graph.node.DecisionHandler;
  | 
  | public class SampleDecisionHandler implements DecisionHandler
  | {
  | private static final long serialVersionUID = 1L;
  | public String decide(ExecutionContext context) throws Exception
  | {
  | int budget = 
((Number)context.getContextInstance().getVariable(status)).intValue();
  | if (budget == 0) return tr2;
  | else if (budget == 1) return tr3;
  | else return tr3;
  | }
  | }
  | 
  | 
  |  MY NEW CLASS 

  | 
  | 
  | package com.sample.util;
  | 
  | import org.jbpm.graph.def.ProcessDefinition;
  | import org.jbpm.graph.exe.ProcessInstance;
  | 
  | public class StartProcess
  | {
  | private String path = ;
  | 
  | /** Creates a new instance of StartProcess */
  | private StartProcess()
  | {
  | path = C:\\Applications and Projects\\ECLIPSE Workspace\\Process 
Initiator\\src\\ +
  |process\\Initiator.par\\processdefinition.xml;
  | }
  | 
  | 
  | /** */
  | public void init()
  | {
  | try
  | {
  | ProcessDefinition def = 
ProcessDefinition.parseXmlResource(path);
  | System.out.println(STEP 1 - Istanziata la classe 
ProcessDefinition);
  | 
  | ProcessInstance instance = new ProcessInstance(def);
  | System.out.println(STEP 2 - Istanziata la classe 
ProcessInstance);
  | 
  | instance.signal();
  | System.out.println(STEP 3 - Effettuato il primo signal);
  | }
  | catch(Exception e)
  | {
  | System.err.println(e.getMessage());
  | //e.printStackTrace();
  | }
  | }
  | 
  | 
  | /** */
  | public static void main(String[] args)
  | {
  | try
  | {
  | StartProcess sp = new StartProcess();
  | System.out.println(STEP 0 - Istanziata la classe 
StartProcess);
  | System.out.println(sp.path);
  | sp.init();
  | }
  | catch(Exception exc)
  | {
  | System.err.println(exc.getMessage());
  | exc.printStackTrace();
  | }
  | }
  | }
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3935443#3935443

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3935443


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting 

[JBoss-user] [JBoss jBPM] - Couldn't parse process definition...

2006-04-06 Thread Fidalma
  JbpmConfiguration : using jbpm configuration 
resource 'jbpm.cfg.xml'
[java] 11:46:44,737 [main] DEBUG JbpmConfiguration : creating jbpm 
configuration from input stream
[java] 11:46:44,831 [main] ERROR JpdlXmlReader : couldn't parse process 
definition
[java] org.dom4j.DocumentException: null Nested exception: null
[java] at org.dom4j.io.SAXReader.read(SAXReader.java:484)
[java] at org.jbpm.jpdl.xml.JpdlParser.parse(JpdlParser.java:57)
[java] at 
org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:138)
[java] at 
org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:172)
[java] at 
org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:153)
[java] at com.sample.util.StartProcess.init(StartProcess.java:22)
[java] at com.sample.util.StartProcess.main(StartProcess.java:47)
[java] Nested exception:
[java] [[ERROR] couldn't parse process definition]
[java] java.net.MalformedURLException
[java] at java.net.URL.(URL.java:571)
[java] at java.net.URL.(URL.java:434)
[java] at java.net.URL.(URL.java:383)
[java] at 
org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
[java] at 
org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
[java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[java] at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown 
Source)
[java] at org.dom4j.io.SAXReader.read(SAXReader.java:465)
[java] at org.jbpm.jpdl.xml.JpdlParser.parse(JpdlParser.java:57)
[java] at 
org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:138)
[java] at 
org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:172)
[java] at 
org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:153)
[java] at com.sample.util.StartProcess.init(StartProcess.java:22)
[java] at com.sample.util.StartProcess.main(StartProcess.java:47)


Could someone explain to me why I'm having this error and what do I have to do 
to solve it ?

Thank you very much in advance !!

Regards,
Fidalma
Italy


P.S. probably you will find two posts because I clicked Submit button twice 
instead of Preview button ... sorry...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3935448#3935448

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3935448


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Couldn't parse process definition...

2006-04-06 Thread Fidalma
:44,737 [main] DEBUG JbpmConfiguration : creating jbpm 
configuration from input stream
[java] 11:46:44,831 [main] ERROR JpdlXmlReader : couldn't parse process 
definition
[java] org.dom4j.DocumentException: null Nested exception: null
[java] at org.dom4j.io.SAXReader.read(SAXReader.java:484)
[java] at org.jbpm.jpdl.xml.JpdlParser.parse(JpdlParser.java:57)
[java] at 
org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:138)
[java] at 
org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:172)
[java] at 
org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:153)
[java] at com.sample.util.StartProcess.init(StartProcess.java:22)
[java] at com.sample.util.StartProcess.main(StartProcess.java:47)
[java] Nested exception:
[java] [[ERROR] couldn't parse process definition]
[java] java.net.MalformedURLException
[java] at java.net.URL.(URL.java:571)
[java] at java.net.URL.(URL.java:434)
[java] at java.net.URL.(URL.java:383)
[java] at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown 
Source)
[java] at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown 
Source)
[java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[java] at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown 
Source)
[java] at org.dom4j.io.SAXReader.read(SAXReader.java:465)
[java] at org.jbpm.jpdl.xml.JpdlParser.parse(JpdlParser.java:57)
[java] at 
org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:138)
[java] at 
org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:172)
[java] at 
org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:153)
[java] at com.sample.util.StartProcess.init(StartProcess.java:22)
[java] at com.sample.util.StartProcess.main(StartProcess.java:47)


Could someone explain to me why I'm having this error and what do I have to do 
to solve it ?

Thank you very much in advance !!

Regards,
Fidalma
Italy 


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3935449#3935449

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3935449


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Class could not be found by the process classloader

2006-03-29 Thread Fidalma
Hi Alex,
yes I'm using the Eclipse GPD, but when I build my project I don't have errors 
in compilation so I thought my classpath was ok. How do I have to modify the 
build path of Eclipse Project ?
Thank you very much !!

Bye,
Fidalma

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933293#3933293

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933293


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Class could not be found by the process classloader

2006-03-29 Thread Fidalma
N I can't believe it !!
I'm really blind and so sorry ... :-((
thanky very much !!

Bye,
Fidalma

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933355#3933355

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933355


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Class could not be found by the process classloader

2006-03-28 Thread Fidalma
)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at junit.framework.TestCase.runTest(TestCase.java:154)
  | at junit.framework.TestCase.runBare(TestCase.java:127)
  | at junit.framework.TestResult$1.protect(TestResult.java:106)
  | at junit.framework.TestResult.runProtected(TestResult.java:124)
  | at junit.framework.TestResult.run(TestResult.java:109)
  | at junit.framework.TestCase.run(TestCase.java:118)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
  | 15:39:11,004 [main] ERROR GraphElement : action threw exception: null
  | java.lang.NullPointerException
  | at org.jbpm.graph.def.Action.execute(Action.java:123)
  | at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:235)
  | at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:212)
  | at 
org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:182)
  | at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:166)
  | at org.jbpm.graph.def.Transition.take(Transition.java:106)
  | at org.jbpm.graph.def.Node.leave(Node.java:382)
  | at org.jbpm.graph.node.StartState.leave(StartState.java:70)
  | at org.jbpm.graph.exe.Token.signal(Token.java:174)
  | at org.jbpm.graph.exe.Token.signal(Token.java:123)
  | at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:217)
  | at com.sample.test.InitiatorTest.testProcess(InitiatorTest.java:19)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at junit.framework.TestCase.runTest(TestCase.java:154)
  | at junit.framework.TestCase.runBare(TestCase.java:127)
  | at junit.framework.TestResult$1.protect(TestResult.java:106)
  | at junit.framework.TestResult.runProtected(TestResult.java:124)
  | at junit.framework.TestResult.run(TestResult.java:109)
  | at junit.framework.TestCase.run(TestCase.java:118)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
  | 
  | 
  | 
-
  | 


I don't understand why I'm having this error...
Could someone help me please?!
Thank you very much in advance.

Fidalma
Italy

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933111#3933111

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933111


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - In wich directory jbpm puts all files deplyed using the proc

2006-03-01 Thread Fidalma
Hi all,
I'm new to Jbpss and Jbpm too.
Unfortunatly I'm working on Windows XP.
I've installed Eclipse SDK 3.1.2 and the JBoss jBPM starter kit 
(jbpm.version=3.1). My installation folder name is JBoss-Jbpm. Here I can see 
the following sub-directories:

- jbpm
- jbpm-bpel
- jbpm-db
- jbpm-designer
- jbpm-server

I've deplyed with success my first simple project using the process designer 
tool but now I don't understand and I don't find where (in which directory) the 
deplyed project files have been placed.
Moreover I don't know how undeply the previous project file.
Thank you very much in advance for your help.

Fidalma,
Italy

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3927028#3927028

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927028


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Delpoying a process archive

2006-03-01 Thread Fidalma
Hi all,
my company is evaluating Jboss Jbpm as workflow engine and I think I have a 
similar problem: I modeled and deplyed successfully my process definition using 
GPD (Eclipse SDK Ide). Apparently I haven't had errors but in the 
JbpmWebConsole I see the new process written in the tasklist without a related 
link necessary to start it.

Thank you very much in advance.

Fidalma,
Italy

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3927151#3927151

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927151


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user