[jBPM] - Email Problem with JBPM
by Ravi Sawlani
Ravi Sawlani [http://community.jboss.org/people/ravisawlani86] created the discussion
"Email Problem with JBPM"
To view the discussion, visit: http://community.jboss.org/message/588309#588309
--------------------------------------------------------------
Hi
I am trying to send mail using org.jbpm.mail.Mail in a normal node using jBPM's own Mail(org.jbpm.mail.Mail) class as the handler.I get this exception:
17:21:30,747 WARN [Mail] cannot send mail (3 retries left): Could not connect to SMTP host: localhost, port: 25
17:21:31,747 WARN [Mail] cannot send mail (2 retries left): Could not connect to SMTP host: localhost, port: 25
17:21:32,763 WARN [Mail] cannot send mail (1 retries left): Could not connect to SMTP host: localhost, port: 25
17:21:33,763 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
org.jbpm.JbpmException: cannot send email
.
.
.
.
Caused by: javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
nested exception is:
java.net.ConnectException: Connection refused: connect
how can i send the mail from a particular IP address instead of "localhost".
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/588309#588309]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 9 months
[jBPM] - Deadlocks on blob/lob variables
by Aurelijus Janeliunas
Aurelijus Janeliunas [http://community.jboss.org/people/Leevoth] created the discussion
"Deadlocks on blob/lob variables"
To view the discussion, visit: http://community.jboss.org/message/589174#589174
--------------------------------------------------------------
Deadlocks occur in heavy load environment. I found some issues regarding deadlocks of this version Jbpm engine ( http://www.mail-archive.com/jboss-user@lists.jboss.org/msg177884.html http://www.mail-archive.com/jboss-user@lists.jboss.org/msg177884.html mailto://www.mail-archive.com/jboss-user@lists.jboss.org //www.mail-archive.com/jboss-user(a)lists.jboss.org/msg177884.html). I implemented custom DatabaseDbIdGenerator. This custom DbID generator selects values from Oracle sequence which is independent from transactions. But still we have problems regarding deadlocks on BlobVariable or Lob:
2011-02-08 09:58:35,890 WARN [org.hibernate.util.JDBCExceptionReporter] (WorkManager(2)-72) SQL Error: 60, SQLState: 61000
2011-02-08 09:58:35,890 ERROR [org.hibernate.util.JDBCExceptionReporter] (WorkManager(2)-72) ORA-00060: deadlock detected while waiting for resource
2011-02-08 09:58:35,890 ERROR [org.hibernate.event.def.AbstractFlushingEventListener] (WorkManager(2)-72) Could not synchronize database state with session
org.hibernate.exception.LockAcquisitionException: could not delete: [org.jbpm.pvm.internal.lob.Lob#10678725]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:110)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2569)
at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2725)
at org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:97)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:172)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:365)
at org.hibernate.transaction.CacheSynchronization.beforeCompletion(CacheSynchronization.java:88)
at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:101)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:269)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:89)
at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177)
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1423)
at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:137)
at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
at org.jboss.resource.adapter.jms.inflow.JmsServerSession$XATransactionDemarcationStrategy.end(JmsServerSession.java:657)
at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:243)
at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205)
at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.sql.SQLException: ORA-00060: deadlock detected while waiting for resource
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:947)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3462)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1349)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:365)
at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2551)
... 24 more
or this one
org.hibernate.exception.LockAcquisitionException: could not update: [org.jbpm.pvm.internal.type.variable.BlobVariable#10613779]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:110)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2453)
at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2335)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2635)
at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:115)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:64)
at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:996)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1589)
at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:306)
at org.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:328)
at org.jbpm.pvm.internal.hibernate.DbSessionImpl.findTaskByExecution(DbSessionImpl.java:311)
at org.jbpm.jpdl.internal.activity.TaskActivity.signal(TaskActivity.java:130)
at org.jbpm.jpdl.internal.activity.TaskActivity.signal(TaskActivity.java:116)
at org.jbpm.pvm.internal.model.op.Signal.perform(Signal.java:70)
at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(ExecutionImpl.java:672)
at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperation(ExecutionImpl.java:632)
at org.jbpm.pvm.internal.model.ExecutionImpl.signal(ExecutionImpl.java:430)
at org.jbpm.pvm.internal.model.ExecutionImpl.signal(ExecutionImpl.java:416)
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:597)
at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
at org.jbpm.pvm.internal.model.ExecutionImpl_$$_javassist_99.signal(ExecutionImpl_$$_javassist_99.java)
at org.jbpm.pvm.internal.task.TaskImpl.complete(TaskImpl.java:201)
at org.jbpm.pvm.internal.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:65)
at org.jbpm.pvm.internal.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:32)
at org.jbpm.pvm.internal.cmd.CompositeCmd.execute(CompositeCmd.java:42)
at org.jbpm.pvm.internal.cmd.CompositeCmd.execute(CompositeCmd.java:34)
at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
at org.jbpm.pvm.internal.tx.SpringCommandCallback.doInTransaction(SpringCommandCallback.java:45)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/589174#589174]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 9 months
Re: [jboss-user] [JBoss Tools] - BPEL Editor - quick update
by Feng Qian
Feng Qian [http://community.jboss.org/people/Grid.Qian] commented on
"BPEL Editor - quick update"
To view all comments on this blog post, visit: http://community.jboss.org/community/tools/blog/2011/02/15/bpel-editor--q...
--------------------------------------------------
Hi Bob,
I read the documents, and have some questions.
1 about the Partner link main page.
I think we don't need the first page that lists all the partner links. We can only have the vertical/horizontal brower mode because the list on the left of vertical mode has list all the partner links. And on the right of vertical mode, Vincent use a link to swith notice view and expert view. I think if we use two tab on the right, one is notice view, one is expert view, it is better.
2 about sub-process
I don't know bpel2.0 spe has sub-process element. Sub-process should be a bpmn notion,right? In bpel, we use scope to handle these cases.
3 about these images
I feel these images for bpel elements are from bpmn spe, right? It use bpmn graphs to stands for bpel elements. It is ok. But I want to know where will we use them? If we use them in diagram page, it is good. But if use them in design view, will we changes too many codes for this purpose? And if use them in design view, our bpel editor will be like a bpmn editor not bpel editor.
--------------------------------------------------
13 years, 9 months
[jBPM] - Bind workflow transition to UI report
by Nicolas Labrot
Nicolas Labrot [http://community.jboss.org/people/nicolasl] created the discussion
"Bind workflow transition to UI report"
To view the discussion, visit: http://community.jboss.org/message/589163#589163
--------------------------------------------------------------
Hello,
I have in a legacy application the following use case.
For some states transitions the user has to fill a report. When the user changes the state of an object A from the state S1 to the state S2 he has to fill a report. The user can cancel the report, A remains in the state S1. If he validates the report, A goes to the state S2.
I'm trying to model this workflow but the report complicates the workflow. I must create a bidirectionnal transition between S1 and the report human task:
S1<=>ReportHumanTask=>S2.
The user cancel : ReportHumanTask goes to S1.
The user validates ReportHumanTask goes to S2
Another way would be to have an external file. This file would give for a given transition S1->S2 which report to display.
Is there another way ? And what is in your opinion the best use case ?
Thanks for your help,
Nicolas
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/589163#589163]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 9 months
[JBoss Web Services] - https web service hangs when using wssecurity
by Kerry Ward
Kerry Ward [http://community.jboss.org/people/kerryrward] created the discussion
"https web service hangs when using wssecurity"
To view the discussion, visit: http://community.jboss.org/message/589063#589063
--------------------------------------------------------------
I am having a problem with JBoss-WS native and communicating with a web service using HTTPS. I actually have two services that are having the problem. I am running JBoss 5.1.0 and JDK 6 with jbossws-native-3.2.2.GA. I have consumed the WSDL and am trying to run using wsrunclient.bat. When I run wsrunclient.bat, I hang during communication. I referenced this example
org.jboss.test.ws.interop.nov2007.wsse.UsernameTokenHTTPSTestCase
Here is my code invoking the web service:
ExtendedStatusService proxy = new ExtendedStatusService();
ExtendedStatus webService = proxy.getExtendedStatus();
System.out.println("Calling getPaymentStatus");
((StubExt)webService).setConfigName("Standard WSSecurity Client");
System.setProperty("javax.net.ssl.trustStore", "C:/jdk1.6.0_24/jre/lib/security/cacerts");
System.setProperty("javax.net.ssl.trustStorePassword", "changeit");
System.setProperty("javax.net.ssl.trustStoreType", "jks");
System.setProperty("org.jboss.security.ignoreHttpsHost", "true");
ExtendedStatusResponse result = webService.getPaymentStatus(statusQuery);
System.out.println("Returned from Query webservice");
Here is the debug output:
DEBUG [main] (Logger.java:228) - Configure SOAPBinding
DEBUG [main] (Logger.java:228) - initHandlerChain: PRE
DEBUG [main] (Logger.java:228) - initHandlerChain: ENDPOINT
DEBUG [main] (Logger.java:228) - initHandlerChain: POST
DEBUG [main] (Logger.java:228) - getHandlerChain: [type=PRE,info=[service={https://www.asite.gov/pay/service}ExtendedStatusS...
t={https://www.asite.gov/pay/service}ExtendedStatus,binding=http://schema...
DEBUG [main] (Logger.java:228) - getHandlerChain: [type=POST,info=[service={https://www.asite.gov/pay/service}ExtendedStatus...
rt={https://www.asite.gov/pay/service}ExtendedStatus,binding=http://schem...
DEBUG [main] (Logger.java:228) - getHandlerChain: [type=ENDPOINT,info=[service={https://www.asite.gov/pay/service}ExtendedSt...
e,port={https://www.asite.gov/pay/service}ExtendedStatus,binding=http://s...
DEBUG [main] (Logger.java:228) - setHandlerChain: []
DEBUG [main] (Logger.java:228) - No port configuration for: {https://www.asite.gov/pay/service}ExtendedStatus
Calling pay getPaymentStatus
DEBUG [main] (Logger.java:228) - Create new config [name=Standard WSSecurity Client,file=META-INF/standard-jaxws-client-config.xml]
DEBUG [main] (Logger.java:228) - getConfig: [name=Standard WSSecurity Client,url=META-INF/standard-jaxws-client-config.xml]
DEBUG [main] (Logger.java:228) - parse: jar:file:/C:/jboss-5.1.0.GA/client/jbossws-native-client.jar!/META-INF/standard-jaxws-client-config.
xml
DEBUG [main] (Logger.java:228) - Created parser: org.apache.xerces.jaxp.SAXParserImpl@1d162212, isNamespaceAware: true, isValidating: true,
isXIncludeAware: true
DEBUG [main] (Logger.java:228) - http://xml.org/sax/features/validation set to: true
DEBUG [main] (Logger.java:228) - http://xml.org/sax/features/namespaces set to: true
DEBUG [main] (Logger.java:228) - http://apache.org/xml/features/validation/dynamic set to: true
DEBUG [main] (Logger.java:228) - http://xml.org/sax/features/validation set to: true
DEBUG [main] (Logger.java:228) - http://apache.org/xml/features/validation/schema set to: true
DEBUG [main] (Logger.java:228) - Created parser: org.apache.xerces.jaxp.SAXParserImpl@1d162212, isNamespaceAware: true, isValidating: true,
isXIncludeAware: true
DEBUG [main] (Logger.java:228) - resolveEntity: [pub=null,sysid=file:///c:/signer.ark/src/schema/jaxws-config_2_0.xsd]
DEBUG [main] (Logger.java:228) - resolveEntity: [pub=null,sysid=file:///c:/signer.ark/src/schema/javaee_web_services_1_2.xsd]
DEBUG [main] (Logger.java:228) - resolveEntity: [pub=null,sysid=file:///c:/signer.ark/src/schema/javaee_5.xsd]
DEBUG [main] (Logger.java:228) - resolveEntity: [pub=null,sysid=http://www.w3.org/2001/xml.xsd]
DEBUG [main] (Logger.java:228) - resolveEntity: [pub=null,sysid=file:///c:/signer.ark/src/schema/javaee_web_services_client_1_2.xsd]
DEBUG [main] (Logger.java:228) - Configure EndpointMetaData
DEBUG [main] (Logger.java:228) - Added 0 PRE handlers
DEBUG [main] (Logger.java:228) - Added 0 ENDPOINT handlers
DEBUG [main] (Logger.java:228) - Added 1 POST handlers
DEBUG [main] (Logger.java:228) - initHandlerChain: PRE
DEBUG [main] (Logger.java:228) - initHandlerChain: ENDPOINT
DEBUG [main] (Logger.java:228) - initHandlerChain: POST
DEBUG [main] (Logger.java:228) - addHandler:
HandlerMetaDataJAXWS:
type=POST
name=WSSecurityHandlerOutbound
class=class org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerClient
params=[]
protocols=##SOAP11_HTTP ##SOAP11_HTTP_MTOM
services=null
ports=null
DEBUG [main] (Logger.java:228) - getHandlerChain: [type=PRE,info=[service={https://www.asite.gov/pay/service}ExtendedStatusS...
t={https://www.asite.gov/pay/service}ExtendedStatus,binding=http://schema...
DEBUG [main] (Logger.java:228) - getHandlerChain: [type=POST,info=[service={https://www.asite.gov/pay/service}ExtendedStatus...
rt={https://www.asite.gov/pay/service}ExtendedStatus,binding=http://schem...
DEBUG [main] (Logger.java:228) - getHandlerChain: [type=ENDPOINT,info=[service={https://www.asite.gov/pay/service}ExtendedSt...
e,port={https://www.asite.gov/pay/service}ExtendedStatus,binding=http://s...
DEBUG [main] (Logger.java:228) - setHandlerChain: []
DEBUG [main] (Logger.java:228) - pushMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS@1d6b6c55 (Thread main)
DEBUG [main] (Logger.java:228) - setRequestParamValue: [name={https://www.asite.gov/pay/service}statusQueryBean,value=com.asite.gov
pay.extendedstatus.StatusQuery]
DEBUG [main] (Logger.java:228) - bindRequestMessage: {https://www.asite.gov/pay/service}getPaymentStatus
DEBUG [main] (Logger.java:228) - getRequestParamValue: {https://www.asite.gov/pay/service}statusQueryBean
DEBUG [main] (Logger.java:228) - transformPayloadValue: com.asite.pay.extendedstatus.StatusQuery -> com.asite.pay.extendedstatus
.StatusQuery
DEBUG [main] (Logger.java:228) - Create a handler executor: []
DEBUG [main] (Logger.java:228) - Create a handler executor: []
DEBUG [main] (Logger.java:228) - Create a handler executor: [WSSecurityHandlerOutbound]
DEBUG [main] (Logger.java:228) - Enter: handleOutBoundMessage
DEBUG [main] (Logger.java:228) - Exit: handleOutBoundMessage with status: true
DEBUG [main] (Logger.java:228) - Could not find keystore url. Can not find store file for url because store url is null.
DEBUG [main] (Logger.java:228) - -----------------------------------
DEBUG [main] (Logger.java:228) - Transitioning from OBJECT_VALID to XML_VALID
DEBUG [main] (Logger.java:228) - getXMLFragment from Object [xmlType={https://www.asite.gov/pay/service}StatusQuery,javaType=class com
.asite.pay.extendedstatus.StatusQuery]
DEBUG [main] (Logger.java:228) - serialize: [xmlName={https://www.asite.gov/pay/service}statusQueryBean,xmlType={https....
gov/pay/service}StatusQuery]
DEBUG [main] (Logger.java:228) - serialized: <statusQueryBean xmlns="https://www.asite.gov/pay/service"><affiliateHashId xmlns:xsi="ht
tp://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><orderId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><out
erUniqueId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><remoteOrderId>F_100_100</remoteOrderId><serviceId xmlns:xs
i="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><vendorId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"
/></statusQueryBean>
DEBUG [main] (Logger.java:228) - xmlFragment: [source=<statusQueryBean xmlns="https://www.asite.gov/pay/service"><affiliateHashId xmln
s:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><orderId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="tr
ue"/><outerUniqueId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><remoteOrderId>F_100_100</remoteOrderId><serviceId
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><vendorId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:n
il="true"/></statusQueryBean>]
DEBUG [main] (Logger.java:228) - -----------------------------------
Terminate batch job (Y/N)? n
Now if I edit wsrunclient.bat and remove jbossws-native-client.jar, jbossws-native-core.jar, and the lib/endorsed files then the call is successful. Here is the changes I made to the wsrunclient.bat
rem set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jbossws-native-client.jar
rem set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jbossws-native-core.jar
rem "%JAVA%" %JAVA_OPTS% -Djava.endorsed.dirs="%JBOSS_ENDORSED_DIRS%" -classpath "%WSRUNCLIENT_CLASSPATH%" %ARGS%
"%JAVA%" %JAVA_OPTS% -classpath "%WSRUNCLIENT_CLASSPATH%" %ARGS%
I also have to comment out the following line in the code:
((StubExt)webService).setConfigName("Standard WSSecurity Client");
Here is my successful log:
Calling pay getPaymentStatus
Returned from Query webservice
I believe I'm not getting DEBUG statements here because I'm really not going through the JBoss wsse code. But I don't believe I need any WS Security invoked - I'm not doing authentication or any other additional security features. I just need https. I have another service that I did with JBoss 4.2.3.GA and JDK 5 that uses https and is working just fine. I tried to connect to it using JBoss 5.1.0.GA and JDK 6 and it has the same problem as my new service.
I need to connect to this service from within the JBoss AS, so I don't want to manipulate jbossws classpaths the way I have done when running as a client.
I have run this in the debugger and can give more details about where it is hanging if necessary, but I think it is more a configuration thing, and wanted to get this out since time is passing by. Any help would be appreciated.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/589063#589063]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 9 months
[Performance Tuning] - JBoss memory usage pattern
by Loreno Oliveira
Loreno Oliveira [http://community.jboss.org/people/lorenooliveira] created the discussion
"JBoss memory usage pattern"
To view the discussion, visit: http://community.jboss.org/message/588827#588827
--------------------------------------------------------------
Taking a look at one of my applications running in a production server, I noticed that there is a "normal but strange" behavior of memory usage.
Let me explain: watching the execution of my JBoss 4.2.2 without any application deployed, I can see that is constantly grows and frees the used heap space, usually a few megabytes in a development server. When I deploy my application, the pattern is the same, but using more memory in average.
Well, in the production server I can see that my JBoss, even without any workload, has a minimum memory usage of 1.5GB. Still without any workload, the heap usage grows to 3.6GB, when a minor GC runs and the heap usage comes back to 1.5GB. Every 40s my JBoss grows its heap usage from 1,5GB to 3.6GB, and this pattern repeats indefinitely. When the workload grows, the difference is that the period for growing the memory usage falls to 8s.
So, my question is: is this normal?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/588827#588827]
Start a new discussion in Performance Tuning at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 9 months