[JBoss AS 7 Development] - Migrating from jboss5 to AS7 missing/unavailable dependencies
by Amin Mohammed
Amin Mohammed [https://community.jboss.org/people/aminjava] created the discussion
"Migrating from jboss5 to AS7 missing/unavailable dependencies"
To view the discussion, visit: https://community.jboss.org/message/753821#753821
--------------------------------------------------------------
i am trying to migrate from jboss 5 to 7 and get these issues when i try to deploy the way file any clue or pointers where to fix
15:00:49,548 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "myapp.war" was rolled back with failure message
{"JBAS01
4771: Services with missing/unavailable dependencies" =>["jboss.naming.context.java.module.myapp.myapp.env.jms.Queue jboss.naming.context.java.queue.JobsQueue
Missing[jboss.naming.context.java.module.myapp.myapp.env.jms.Queuejboss.naming.context.java.queue.JobsQueue]","jboss.naming.context.java.module.myapp.myapp.env.jms.ConnectionFactory jboss.naming.context.java.JmsXA
Missing[jboss.naming.context.java.module.myapp.myapp.env.jms.ConnectionFactoryjboss.naming.context.java.JmsXA]","jboss.naming.context.java.module.myapp.myapp.env.jdbc.ds jboss.naming.context.java.jboss.java:ds.myappDS
Missing[jboss.naming.context.java.module.myapp.myapp.env.jdbc.dsjboss.naming.context.java.jboss.java:ds.myappDS]","jboss.naming.context.java.module.myapp.myapp.env.wm.WorkManager jboss.naming.context.java.module.myapp.myapp.env.WorkManager
Missing[jboss.naming.context.java.module.myapp.myapp.env.wm.WorkManagerjboss.naming.context.java.module.myapp.myapp.env.WorkManager]","jboss.naming.context.java.module.myapp.myapp.env.jms.Topicjboss.naming.context.java.topic.MetricsTopicMissing[jboss.naming.context.java.module.myapp.myapp.env.jms.Topicjboss.naming.context.java.topic.MetricsTopic]"]}
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/753821#753821]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 2 months
[JBoss ESB Development] - New to JBoss ESB
by Hitz Jain
Hitz Jain [https://community.jboss.org/people/hitjain_83] created the discussion
"New to JBoss ESB"
To view the discussion, visit: https://community.jboss.org/message/753635#753635
--------------------------------------------------------------
Hi All,
I am new to JBOSS ESB and I have a requirement as described below.
My requirement is as:
1) Machine1 - JBOSS AS 7.1 (JMS message producer) puts it on a queue.
2) Machine2 - JBOSS ESB 4.11 (ESB message listener - I am sure it has to be gateway listener) and then process it. - Can be on same machine as well but definitely different server.
On the quick starts all I see is each of them doing within the same application and all works fine. I tried but wasn't able to figure out a way to do it through 2 different applications.
Can you please share the code base to get this done. I am desparately looking to perform this activity.
Regards,
Hitesh
mailto:hitjain_83@hotmail.com hitjain_83(a)hotmail.com
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/753635#753635]
Start a new discussion in JBoss ESB Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 2 months
[JBoss AS 7 Development] - Variable Expansion Environment Specific
by jmighion
jmighion [https://community.jboss.org/people/jmighion] created the discussion
"Variable Expansion Environment Specific"
To view the discussion, visit: https://community.jboss.org/message/753832#753832
--------------------------------------------------------------
The variable expansion with ${foo} works locally on a Win 32 and 64, jdk 1.6.0_26, EAP 6.0, but on Win Server 2003 with the same jdk and EAP 6.0 the variable expansion doesn't work.
I have system properties set in standalone.xml like :
<system-properties>
<property name="queueManager" value="some.queue.manager"/>
</system-properties>
Through the cli I can see the variable is set with /system-property=queueManager:read-resource. When I try to deploy a .war with a reference to ${queueManager} in ejb-jar.xml I get an exception saying it can't find "${queueManager}" instead of "some.queue.manager".
It also works locally when setting the variable in standalone.conf.bat with -DqueueManager=some.queue.manager, but not on the Win Server 2003 environment.
Are there any environment specific constraints I should know of or might this be a bug?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/753832#753832]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 2 months
[JBoss Transactions Development] - JBoss Transaction Not Active - EJB 2.1 in JBOSS EAP 5.1.2
by Rodel Talampas
Rodel Talampas [https://community.jboss.org/people/limacon] created the discussion
"JBoss Transaction Not Active - EJB 2.1 in JBOSS EAP 5.1.2"
To view the discussion, visit: https://community.jboss.org/message/753972#753972
--------------------------------------------------------------
Hi,
I am hoping someone can help me on this transaction management problem. Our application is working fine when it is running in Jboss EAP 4.3. But I am tasked to migrate this to JBoss 5.1. I both tried JBoss EAP 5.1.1 and JBoss EAP 5.1.2 and I am having the same problem always.
2012-08-16 17:02:57,268 ERROR [STDERR] (Thread-33) org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImple < ac, BasicAction: a410865:d86e:502cb72d:fc status: ActionStatus.COMMITTED >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: a410865:d86e:502cb72d:fc status: ActionStatus.COMMITTED >)
2012-08-16 17:02:57,268 ERROR [STDERR] (Thread-33) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95)
2012-08-16 17:02:57,269 ERROR [STDERR] (Thread-33) at com.xxx.cx.base.JDBCPersistenceManagerBase.getConnection(JDBCPersistenceManagerBase.java:218)
2012-08-16 17:02:57,269 ERROR [STDERR] (Thread-33) at com.xxx.cx.job.JobJDBCMgr.updateWithActiveJob(JobJDBCMgr.java:318)
2012-08-16 17:02:57,269 ERROR [STDERR] (Thread-33) at com.xxx.cx.job.Job_Bean.ejbPassivate(Job_Bean.java:86)
2012-08-16 17:02:57,269 ERROR [STDERR] (Thread-33) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-08-16 17:02:57,269 ERROR [STDERR] (Thread-33) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2012-08-16 17:02:57,269 ERROR [STDERR] (Thread-33) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2012-08-16 17:02:57,270 ERROR [STDERR] (Thread-33) at java.lang.reflect.Method.invoke(Method.java:597)
2012-08-16 17:02:57,270 ERROR [STDERR] (Thread-33) at org.jboss.ejb.plugins.BMPPersistenceManager.passivateEntity(BMPPersistenceManager.java:538)
2012-08-16 17:02:57,270 ERROR [STDERR] (Thread-33) at
2012-08-16 17:02:57,275 ERROR [STDERR] (Thread-33) ... 33 more
I placed in console outputs and it is having error on the following code:
DataSource datasource = null;
if (m_connection == null)
{
try
{
System.out.println(">>>> Get DataSource here ...");
datasource = getDataSource();
System.out.println(">>>> Get Connection here ...");
* m_connection = datasource.getConnection();*
System.out.println(">>>> No Exception here ...");
}
catch(SQLException sqlExc)
{
m_connection = null;
System.out.println(">>>> Get connection failed ...");
trace.message("Get connection failed");
sqlExc.printStackTrace();
throw new EJBException(sqlExc);
}
catch(EJBException ejbExc)
{
m_connection = null;
// getDataSource() failed: EJBException has already been constructed, so rethrow
throw ejbExc;
}
}
return m_connection;
I've already read lots post regarding this transaction not active issue: changing timeout, NullPointerException, etc.. but answers did not work for me.
Any idea or resolutions will be much grateful.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/753972#753972]
Start a new discussion in JBoss Transactions Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 2 months