[jBPM] New message: "How to deploy gpd.xml file along with processdefinition.xml."
by prasad basutkar
User development,
A new message was posted in the thread "How to deploy gpd.xml file along with processdefinition.xml.":
http://community.jboss.org/message/530757#530757
Author : prasad basutkar
Profile : http://community.jboss.org/people/peterbasutkar@gmail.com
Message:
--------------------------------------------------------------
Hi All
Requirement : i am using jbpm 3.2.6 and i want deploy processdefinition with processdefinition.xml and gpd.xml files
Description : i want to deploy processdefinition.xml as well as gpd.xml file while deploying processdefinition.i am using following code to deploy processdefinition.
void deployProcess() {
try {
processDefinition = ProcessDefinition.parseXmlInputStream(new FileInputStream("processdefinition.xml"));
} catch (Exception e) {
e.printStackTrace();
}
jbpmContext.deployProcessDefinition(processDefinition);
}
i also want to save this processdefinition entry to database after deployment, is there any way to deploy gpd.xml along processdefinition.xml file while deploying processDefinition.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/530757#530757
16 years, 1 month
[JBoss Web Services] New message: "axis Jboss integration"
by william fondjo
User development,
A new message was posted in the thread "axis Jboss integration":
http://community.jboss.org/message/530754#530754
Author : william fondjo
Profile : http://community.jboss.org/people/wftchale
Message:
--------------------------------------------------------------
Hi,
I am now develop an application base on axis Web service. In eclipse evry thing go beter. When I import the jar to the Synchronizer server (synchronizer is the application of HP Quality Center allow to link Quality Center with a nother end point for this example is mantis) no web service launches and I have this error on the log.
2010-03-08 16:35:14,321 WARN [Log4JLogger] - Factory org.apache.axis.configuration.EngineConfigurationFactoryServlet Ignored: missing required method: public static EngineConfigurationFactory newFactory(Object).
2010-03-08 16:35:14,337 WARN [Log4JLogger] - Factory org.apache.axis.configuration.EngineConfigurationFactoryDefault Ignored: missing required method: public static EngineConfigurationFactory newFactory(Object).
The Server is running on Jboss Servlet
Thank you for your answer.
Best regard
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/530754#530754
16 years, 1 month
[EJB 3.0] New message: "JPQL along with CASE clause and nested SELECTs"
by Damian Sinczak
User development,
A new message was posted in the thread "JPQL along with CASE clause and nested SELECTs":
http://community.jboss.org/message/530746#530746
Author : Damian Sinczak
Email : damian.sinczak(a)comarch.com
Profile : http://community.jboss.org/people/damian.sinczak
Message:
--------------------------------------------------------------
I have two example tables in my DB:
CONTENT - some kind of localized content
- id
- content
- location_id
LOCATION - locations
- id
- name
- parent id - (e.g. parent for city would be provice, for province country and so on)
What I would like to do is to get localized content from DB in proper order. I know that content last time send had Id e.g. 10 and desired location is London. The content I would like to get no have to have id greater that 10 and location London (or it's parent to n level). Another thing would be that if there is no content for id grater that 10 then I would like to receive the one with the smallest id.
So we have here 2 different tasks:
1) localization:
find content from localization X. if content does not exist find content for X parent localization which is Y. If there is no content for Y find one for content for localization Z which is parent of Y. And so on until there is no parent or number of levels N is reached.
2) sequential search
find content with id greater than A, if content does not exist set A to 0 and try to find first content available. So we have some kind of cycle when all content was retrieved, lets start from the beginning.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/530746#530746
16 years, 1 month
[JNDI and Naming] New message: "Re: ConnectionFactory JNDI no found in JNDI view"
by jaikiran pai
User development,
A new message was posted in the thread "ConnectionFactory JNDI no found in JNDI view":
http://community.jboss.org/message/530738#530738
Author : jaikiran pai
Profile : http://community.jboss.org/people/jaikiran
Message:
--------------------------------------------------------------
> I am attaching the server log
Actually that's a bad idea for 2 reasons:1) By "attaching" the log file, you have made sure that not many will look into your issue. Believe me, not many have time to download that zip file, extract it and then look at its contents. If you had "posted" the contents of the logs, someone would have glanced over it and probably might have pointed you to a solution2) As i said in my earlier post, we don't need the "server.log" yet, since that file is too verbose. All we needed was the logs that you saw on the console from the time you started the server.Now coming back to your issue. Here's some portion of that log file:
2010-03-09 16:01:13,825 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/A:/sri/esbtowas/jbossesb-server-4.3.GA/jbossesb-server-4.3.GA/server/default/deploy/bridge-destinations-service-node1.xml -> file:/A:/sri/esbtowas/jbossesb-server-4.3.GA/jbossesb-server-4.3.GA/server/default/deploy/bridge-destinations-service-node1.xml2010-03-09 16:01:13,825 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:--- Packages waiting for a deployer ---org.jboss.deployment.DeploymentInfo@db2a0100 { url=file:/A:/sri/esbtowas/jbossesb-server-4.3.GA/jbossesb-server-4.3.GA/server/default/deploy/bridge-destinations-service-node1.xml } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/A:/sri/esbtowas/jbossesb-server-4.3.GA/jbossesb-server-4.3.GA/server/default/deploy/bridge-destinations-service-node1.xml altDD: null lastDeployed: 1268130673824 lastModified: 1268130673819 mbeans:--- Incompletely deployed packages ---org.jboss.deployment.DeploymentInfo@db2a0100 { url=file:/A:/sri/esbtowas/jbossesb-server-4.3.GA/jbossesb-server-4.3.GA/server/default/deploy/bridge-destinations-service-node1.xml } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/A:/sri/esbtowas/jbossesb-server-4.3.GA/jbossesb-server-4.3.GA/server/default/deploy/bridge-destinations-service-node1.xml altDD: null lastDeployed: 1268130673824 lastModified: 1268130673819 mbeans:--- MBeans waiting for other MBeans ---ObjectName: jboss.messaging.connectionfactory:service=ConnectionFactory State: FAILED Reason: java.lang.IllegalArgumentException: Failed to deploy connection factory since remoting configuration seems incorrect. I Depend On: jboss.messaging:service=ServerPeer jboss.messaging:service=Connector,transport=bisocket jboss.messaging:service=PostOfficeObjectName: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory State: FAILED Reason: java.lang.IllegalArgumentException: Failed to deploy connection factory since remoting configuration seems incorrect. I Depend On: jboss.messaging:service=ServerPeer jboss.messaging:service=Connector,transport=bisocket jboss.messaging:service=PostOfficeObjectName: jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory State: FAILED Reason: java.lang.IllegalArgumentException: Failed to deploy connection factory since remoting configuration seems incorrect. I Depend On: jboss.messaging:service=ServerPeer jboss.messaging:service=Connector,transport=bisocket jboss.messaging:service=PostOfficeObjectName: jboss.esb:deployment=Quickstart_helloworld.esb State: FAILED Reason: org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleException: Unexpected configuration exception from prepareMessageReceiver I Depend On: jboss.esb:deployment=jbossesb.esb jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_esb jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_gw--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---ObjectName: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory State: FAILED Reason: java.lang.IllegalArgumentException: Failed to deploy connection factory since remoting configuration seems incorrect. I Depend On: jboss.messaging:service=ServerPeer jboss.messaging:service=Connector,transport=bisocket jboss.messaging:service=PostOfficeObjectName: jboss.esb:deployment=Quickstart_helloworld.esb State: FAILED Reason: org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleException: Unexpected configuration exception from prepareMessageReceiver I Depend On: jboss.esb:deployment=jbossesb.esb jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_esb jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_gwObjectName: jboss.messaging.connectionfactory:service=ConnectionFactory State: FAILED Reason: java.lang.IllegalArgumentException: Failed to deploy connection factory since remoting configuration seems incorrect. I Depend On: jboss.messaging:service=ServerPeer jboss.messaging:service=Connector,transport=bisocket jboss.messaging:service=PostOfficeObjectName: jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory State: FAILED Reason: java.lang.IllegalArgumentException: Failed to deploy connection factory since remoting configuration seems incorrect. I Depend On: jboss.messaging:service=ServerPeer jboss.messaging:service=Connector,transport=bisocket jboss.messaging:service=PostOffice....2010-03-09 16:01:13,985 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 27s:142ms
1) You are using JBossESB - which you never mentioned in your post. I personally have no experience with JBossESB2) You seem have to renamed a file in deploy folder to bridge-destinations-service-node1.xml. That won't work because JBoss cannot find a deployer for that file. It has to end with -service.xml3) The error logs show that the connection factories failed deployment because of:
Reason: java.lang.IllegalArgumentException: Failed to deploy connection factory since remoting configuration seems incorrect.
4) Half of the logs show the version as 4.2.3 and the last line shows the version as 4.2.2. And you mentioned in your earlier post that you are using 4.2.1 At this point, i would suggest that you start from a clean installation. If you are using JBossESB, then let us know, maybe this thread needs to be moved to JBossESB user forum
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/530738#530738
16 years, 1 month