[Beginners Corner] - Jboss AS start 'debug mode' of all frameworks
by rodrigo_gomes
Hello everybody,
I dont know why, when i am running my app in Jboss 4.2.0, in some cases the logs is 'started', i mean, the debug mode of all frameworks that i am using is enabled, so the application runs very slow..
The application runs in WAS 6.1 without problems.
Has someone any ideia for help me?
thanks
ps: below, is an example of generated log:
| 8:43:58,770 INFO [STDOUT] 324850 [Thread-4] DEBUG com.arjuna.ats.arjuna.logging.arjLogger - Periodic recovery - second pass <Ter, 30 Set 2008 18:43:58>
| 18:43:58,770 INFO [STDOUT] 324850 [Thread-4] DEBUG com.arjuna.ats.arjuna.logging.arjLogger - Periodic recovery - second pass <Ter, 30 Set 2008 18:43:58>
| 18:43:58,770 INFO [STDOUT] 324850 [Thread-4] DEBUG com.arjuna.ats.arjuna.logging.arjLogger - Periodic recovery - second pass <Ter, 30 Set 2008 18:43:58>
| 18:43:58,770 INFO [STDOUT] 324850 [Thread-4] DEBUG com.arjuna.ats.arjuna.logging.arjLogger - Periodic recovery - second pass <Ter, 30 Set 2008 18:43:58>
| 18:43:58,770 INFO [STDOUT] 324850 [Thread-4] DEBUG com.arjuna.ats.arjuna.logging.arjLogger - AtomicActionRecoveryModule: Second pass
| 18:43:58,770 INFO [STDOUT] 324850 [Thread-4] DEBUG com.arjuna.ats.arjuna.logging.arjLogger - AtomicActionRecoveryModule: Second pass
| 18:43:58,770 INFO [STDOUT] 324850 [Thread-4] DEBUG com.arjuna.ats.arjuna.logging.arjLogger - AtomicActionRecoveryModule: Second pass
| 18:43:58,770 INFO [STDOUT] 324850 [Thread-4] DEBUG com.arjuna.ats.arjuna.logging.arjLogger - AtomicActionRecoveryModule: Second pass
| 18:43:58,770 INFO [STDOUT] 324850 [Thread-4] DEBUG com.arjuna.ats.txoj.logging.txojLoggerI18N - [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_6] - TORecoveryModule - second pass
| 18:43:58,770 INFO [STDOUT] 324850 [Thread-4] DEBUG com.arjuna.ats.txoj.logging.txojLoggerI18N - [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_6] - TORecoveryModule - second pass
| 18:43:58,770 INFO [STDOUT] 324850 [Thread-4] DEBUG com.arjuna.ats.txoj.logging.txojLoggerI18N - [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_6] - TORecoveryModule - second pass
| 18:43:58,770 INFO [STDOUT] 324850 [Thread-4] DEBUG com.arjuna.ats.txoj.logging.txojLoggerI18N - [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_6] - TORecoveryModule - second pass
| 18:43:58,770 INFO [STDOUT] 324850 [Thread-4] DEBUG com.arjuna.ats.jta.logging.loggerI18N - [com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARecoveryModule - second pass
| 18:43:58,770 INFO [STDOUT] 324850 [Thread-4] DEBUG com.arjuna.ats.jta.logging.loggerI18N - [com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARecoveryModule - second pass
| 18:43:58,770 INFO [STDOUT] 324850 [Thread-4] DEBUG com.arjuna.ats.jta.logging.loggerI18N - [com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARecoveryModule - second pass
| 18:43:58,770 INFO [STDOUT] 324850 [Thread-4] DEBUG com.arjuna.ats.jta.logging.loggerI18N - [com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARecoveryModule - second pass
| 18:44:15,509 INFO [STDOUT] Iniciando processo :detailFilaIntegracaoJob
| 18:44:15,525 INFO [STDOUT] 341605 [DefaultQuartzScheduler_Worker-8] DEBUG org.quartz.core.JobRunShell - Calling execute on job DEFAULT.detailFilaIntegracaoJob
| 18:44:15,525 INFO [STDOUT] 341605 [DefaultQuartzScheduler_Worker-8] DEBUG org.quartz.core.JobRunShell - Calling execute on job DEFAULT.detailFilaIntegracaoJob
| 18:44:15,525 INFO [STDOUT] 341605 [DefaultQuartzScheduler_Worker-8] DEBUG org.quartz.core.JobRunShell - Calling execute on job DEFAULT.detailFilaIntegracaoJob
| 18:44:15,525 INFO [STDOUT] 341605 [DefaultQuartzScheduler_Worker-8] DEBUG org.quartz.core.JobRunShell - Calling execute on job DEFAULT.detailFilaIntegracaoJob
| 18:44:15,525 INFO [STDOUT] 341605 [DefaultQuartzScheduler_Worker-8] DEBUG org.springframework.beans.CachedIntrospectionResults - Not strongly caching class [br.com.santander.mor.batch.FilaIntegracaoJob] because it is not cache-safe
| 18:44:15,525 INFO [STDOUT] 341605 [DefaultQuartzScheduler_Worker-8] DEBUG org.springframework.beans.CachedIntrospectionResults - Not strongly caching class [br.com.santander.mor.batch.FilaIntegracaoJob] because it is not cache-safe
| 18:44:15,525 INFO [STDOUT] 341605 [DefaultQuartzScheduler_Worker-8] DEBUG org.springframework.beans.CachedIntrospectionResults - Not strongly caching class [br.com.santander.mor.batch.FilaIntegracaoJob] because it is not cache-safe
| 18:44:15,525 INFO [STDOUT] 341605 [DefaultQuartzScheduler_Worker-8] DEBUG org.springframework.beans.CachedIntrospectionResults - Not strongly caching class [br.com.santander.mor.batch.FilaIntegracaoJob] because it is not cache-safe
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179667#4179667
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179667
17 years, 6 months
[Security & JAAS/JBoss] - Some more SPNEGO problems
by noFreak
Hi all,
i have added the SPNEGO Authenticator to my JBoss. I have followed the instructions in the userguide exactly. I have read this http://www.jboss.com/index.html?module=bb&op=viewtopic&t=140328 and other related SPNEGO topics.
First my Scenario:
On my Win2k3 Server runs the Kerberos KDC. I have added two users "client" and "jboss". The user "Administrator" comes build in with Win2k3 server. For the user "jboss" i followed the instructions in the userguide to get it work as service combinde with a computer account. On the win2k3 server are the Browsers IE 7 and Firefox 3 installed. I have added the url for my jboss correctly in the "trusted sites" for both Browsers.
Furthermore i have a computer named "ActiveDirTest". The OS there is winXP. The Browsers are Firefox 2.0.0 and IE 6. In both browsers i have added the JBoss ULR as "trusted sites". On this machine i succesfull logged in with the user client at the correct domain (in the os, not the browsers). Also my JBoss is running on this machine. It uses the SPN for the user jboss "host/jboss@DOMAIN" and uses the generatet keytab file. Like described in the userguide.
Know my problems and questions:
In the win2k server browsers the first and second jboss-negotiation-toolkit test are succesfull, but the third fails with "HTTP Status 403 - Access to the requested resource has been denied". I have correctly added the user and the role in the spnego-roles.properties. It looks following: client@DOMAIN=Users.
The second problem is, that the first test fails at the computer ActiveDirTest. Both the IE 6 and Firefox negotiation fails. The Firefox with "HTTP Status 401" and the IE with "Unsupported negotiation mechanism, possibly NTLM!". Perhaps because its the same machine on which the Jboss is running? I think i have correct configured the both browsers.
Any ideas to fix this problems? I dont have more ideas :(...
Maybe i should try a third machine, without jboss...
But there is an other question, is it possible to use the SPNEGO toolkit from a machine which is not added to the Win2k3 AD? In the way, i enter the user and password?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179650#4179650
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179650
17 years, 6 months
[JBoss AOP] - Interceptors with MDBs
by bfach
Hello,
I have setup my interceptor in such a fashion:
@AroundInvoke()
public Object onMessage(InvocationContext invocationContext) throws Exception{
Object result = invocationContext.proceed();
return result;
}
@MessageDriven
class MDBclass {
@Interceptors(RHMDBInterceptor.class)
public void onMessage(Message msg) {
// do something
}
}
This works fine however I want to have a seperate INSTANCE of a interceptor for each separate deployment of the MDB class that is listed in the deployment descriptors. As it is now, the interceptor intercepts all calls to on message for all EJBs.
I want an instance of the same interceptor for each MDB ejb deployment.
I have found a few things but they are all different ways and i haven't figured out how to make them work. Any hints on how i could do this would be greatly appreciated.
Thanks,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179649#4179649
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179649
17 years, 6 months
[JBoss Tools (users)] - Re: Error opening XHTML files in eclipse
by venkatkodali
Hi Max,
Sorry, i am lost in some other issues,
when i run eclipse with -debug this is what i get on log
| !SESSION 2008-09-30 14:18:19.626 -----------------------------------------------
| eclipse.buildId=M20080221-1800
| java.version=1.5.0_11
| java.vendor=Sun Microsystems Inc.
| BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
| Command-line arguments: -os win32 -ws win32 -arch x86 -clean -debug
|
| !ENTRY org.eclipse.osgi 2 0 2008-09-30 14:18:34.770
| !MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.770
| !MESSAGE Bundle update(a)plugins/org.eclipse.contribution.visualiser_2.2.0.200807141310.jar was not resolved.
| !SUBENTRY 2 org.eclipse.contribution.visualiser 2 0 2008-09-30 14:18:34.770
| !MESSAGE Missing required bundle org.aspectj.runtime_0.0.0.
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.770
| !MESSAGE Bundle update(a)plugins/org.springframework.ide.eclipse.aop.mylyn_2.0.4.zmyeclipse650200806.jar was not resolved.
| !SUBENTRY 2 org.springframework.ide.eclipse.aop.mylyn 2 0 2008-09-30 14:18:34.770
| !MESSAGE Missing required bundle org.eclipse.mylyn.context.ui_0.0.0.
| !SUBENTRY 2 org.springframework.ide.eclipse.aop.mylyn 2 0 2008-09-30 14:18:34.770
| !MESSAGE Missing required bundle org.eclipse.mylyn.ide.ui_0.0.0.
| !SUBENTRY 2 org.springframework.ide.eclipse.aop.mylyn 2 0 2008-09-30 14:18:34.770
| !MESSAGE Missing required bundle org.eclipse.mylyn.resources.ui_0.0.0.
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.770
| !MESSAGE Bundle update(a)plugins/org.springframework.ide.eclipse.beans.mylyn_2.0.4.zmyeclipse650200806.jar was not resolved.
| !SUBENTRY 2 org.springframework.ide.eclipse.beans.mylyn 2 0 2008-09-30 14:18:34.770
| !MESSAGE Missing required bundle org.eclipse.mylyn.ide.ui_0.0.0.
| !SUBENTRY 2 org.springframework.ide.eclipse.beans.mylyn 2 0 2008-09-30 14:18:34.770
| !MESSAGE Missing required bundle org.eclipse.mylyn.context.ui_0.0.0.
| !SUBENTRY 2 org.springframework.ide.eclipse.beans.mylyn 2 0 2008-09-30 14:18:34.770
| !MESSAGE Missing required bundle org.eclipse.mylyn.java.ui_0.0.0.
| !SUBENTRY 2 org.springframework.ide.eclipse.beans.mylyn 2 0 2008-09-30 14:18:34.770
| !MESSAGE Missing required bundle org.eclipse.mylyn.resources.ui_0.0.0.
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.770
| !MESSAGE Bundle update(a)plugins/org.eclipseguru.gwt.ui_1.5.0.200806091707.jar was not resolved.
| !SUBENTRY 2 org.eclipseguru.gwt.ui 2 0 2008-09-30 14:18:34.770
| !MESSAGE Missing required bundle org.eclipse.jdt.ui_[3.4.0,3.5.0).
| !SUBENTRY 2 org.eclipseguru.gwt.ui 2 0 2008-09-30 14:18:34.770
| !MESSAGE Missing required bundle org.eclipse.jface.text_[3.4.0,3.5.0).
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.770
| !MESSAGE Bundle update(a)plugins/org.eclipse.contribution.xref.ui_1.5.0.200807141310.jar was not resolved.
| !SUBENTRY 2 org.eclipse.contribution.xref.ui 2 0 2008-09-30 14:18:34.770
| !MESSAGE Missing required bundle org.aspectj.runtime_0.0.0.
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.770
| !MESSAGE Bundle update(a)plugins/org.eclipseguru.gwt.core_1.5.1.200806091707.jar was not resolved.
| !SUBENTRY 2 org.eclipseguru.gwt.core 2 0 2008-09-30 14:18:34.770
| !MESSAGE Missing required bundle org.eclipse.jdt.ui_[3.4.0,3.5.0).
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.770
| !MESSAGE Bundle update(a)plugins/org.springframework.ide.eclipse.webflow.mylyn_2.0.4.zmyeclipse650200806.jar was not resolved.
| !SUBENTRY 2 org.springframework.ide.eclipse.webflow.mylyn 2 0 2008-09-30 14:18:34.770
| !MESSAGE Missing required bundle org.eclipse.mylyn.resources.ui_0.0.0.
| !SUBENTRY 2 org.springframework.ide.eclipse.webflow.mylyn 2 0 2008-09-30 14:18:34.770
| !MESSAGE Missing required bundle org.eclipse.mylyn.context.ui_0.0.0.
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.770
| !MESSAGE Bundle update(a)plugins/org.eclipse.contribution.xref.core_1.5.0.200807141310.jar was not resolved.
| !SUBENTRY 2 org.eclipse.contribution.xref.core 2 0 2008-09-30 14:18:34.770
| !MESSAGE Missing required bundle org.aspectj.runtime_0.0.0.
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.770
| !MESSAGE Bundle update(a)plugins/org.springframework.ide.eclipse.mylyn_2.0.4.zmyeclipse650200806.jar was not resolved.
| !SUBENTRY 2 org.springframework.ide.eclipse.mylyn 2 0 2008-09-30 14:18:34.770
| !MESSAGE Missing required bundle org.eclipse.mylyn.resources.ui_0.0.0.
| !SUBENTRY 2 org.springframework.ide.eclipse.mylyn 2 0 2008-09-30 14:18:34.770
| !MESSAGE Missing required bundle org.eclipse.mylyn.java.ui_0.0.0.
| !SUBENTRY 2 org.springframework.ide.eclipse.mylyn 2 0 2008-09-30 14:18:34.770
| !MESSAGE Missing required bundle org.eclipse.mylyn.ide.ui_0.0.0.
| !SUBENTRY 2 org.springframework.ide.eclipse.mylyn 2 0 2008-09-30 14:18:34.770
| !MESSAGE Missing required bundle org.eclipse.mylyn.context.ui_0.0.0.
|
| !ENTRY org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/com.genuitec.eclipse.core_6.5.0.zmyeclipse650200806/ [12] was not resolved.
| !SUBENTRY 2 com.genuitec.eclipse.core 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: com.genuitec.eclipse.core_6.5.1.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.contribution.visualiser_2.2.0.200807141310.jar [275] was not resolved.
| !SUBENTRY 2 org.eclipse.contribution.visualiser 2 0 2008-09-30 14:18:34.864
| !MESSAGE Missing required bundle org.aspectj.runtime_0.0.0.
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.contribution.xref.core_1.5.0.200807141310.jar [276] was not resolved.
| !SUBENTRY 2 org.eclipse.contribution.xref.core 2 0 2008-09-30 14:18:34.864
| !MESSAGE Missing required bundle org.aspectj.runtime_0.0.0.
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.contribution.xref.ui_1.5.0.200807141310.jar [277] was not resolved.
| !SUBENTRY 2 org.eclipse.contribution.xref.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Missing required bundle org.eclipse.contribution.xref.core_0.0.0.
| !SUBENTRY 2 org.eclipse.contribution.xref.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Missing required bundle org.aspectj.runtime_0.0.0.
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.datatools.sqltools.debugger.core_1.0.0.200709251.jar [340] was not resolved.
| !SUBENTRY 2 org.eclipse.datatools.sqltools.debugger.core 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.datatools.sqltools.debugger.core_1.0.0.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.datatools.sqltools.sqleditor_1.0.0.200709061.jar [351] was not resolved.
| !SUBENTRY 2 org.eclipse.datatools.sqltools.sqleditor 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.datatools.sqltools.sqleditor_1.0.0.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.datatools.sqltools.sqlscrapbook_1.0.0.200709141.jar [353] was not resolved.
| !SUBENTRY 2 org.eclipse.datatools.sqltools.sqlscrapbook 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.datatools.sqltools.sqlscrapbook_1.0.0.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jdt.apt.pluggable.core_1.0.1.R33x_v20071002-2100.jar [434] was not resolved.
| !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-09-30 14:18:34.864
| !MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
| !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-09-30 14:18:34.864
| !MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
| !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-09-30 14:18:34.864
| !MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
| !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-09-30 14:18:34.864
| !MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jdt.compiler.apt_1.0.1.R33x_v20071002-2100.jar [436] was not resolved.
| !SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2008-09-30 14:18:34.864
| !MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jdt.compiler.tool_1.0.1.v_793_R33x.jar [437] was not resolved.
| !SUBENTRY 2 org.eclipse.jdt.compiler.tool 2 0 2008-09-30 14:18:34.864
| !MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jst.j2ee.ejb.annotations.xdoclet_1.1.3.v200802201934.jar [474] was not resolved.
| !SUBENTRY 2 org.eclipse.jst.j2ee.ejb.annotations.xdoclet 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.jst.j2ee.ejb.annotations.xdoclet_1.1.3.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jst.j2ee.ejb_1.1.105.v200802192030.jar [476] was not resolved.
| !SUBENTRY 2 org.eclipse.jst.j2ee.ejb 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.jst.j2ee.ejb_1.1.105.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jst.j2ee.jca_1.1.105.v200802192030.jar [480] was not resolved.
| !SUBENTRY 2 org.eclipse.jst.j2ee.jca 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.jst.j2ee.jca_1.1.105.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jst.j2ee.ui_1.1.103.v200802192030.jar [483] was not resolved.
| !SUBENTRY 2 org.eclipse.jst.j2ee.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.jst.j2ee.ui_1.1.103.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jst.j2ee.web_1.1.105.v200802192030.jar [485] was not resolved.
| !SUBENTRY 2 org.eclipse.jst.j2ee.web 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.jst.j2ee.web_1.1.105.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jst.j2ee_1.1.106.v200802192030.jar [490] was not resolved.
| !SUBENTRY 2 org.eclipse.jst.j2ee 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.jst.j2ee_1.1.106.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jst.jsf.common.ui_1.0.1.v20070912.jar [496] was not resolved.
| !SUBENTRY 2 org.eclipse.jst.jsf.common.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.jst.jsf.common.ui_1.0.1.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jst.jsf.common_1.0.2.v200802201120.jar [498] was not resolved.
| !SUBENTRY 2 org.eclipse.jst.jsf.common 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.jst.jsf.common_1.0.2.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jst.jsf.core_1.0.2.v200802201120.jar [500] was not resolved.
| !SUBENTRY 2 org.eclipse.jst.jsf.core 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.jst.jsf.core_1.0.2.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jst.jsf.facesconfig_1.0.1.v20070912.jar [504] was not resolved.
| !SUBENTRY 2 org.eclipse.jst.jsf.facesconfig 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.jst.jsf.facesconfig_1.0.1.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jst.jsf.ui_1.0.1.v20070912.jar [507] was not resolved.
| !SUBENTRY 2 org.eclipse.jst.jsf.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.jst.jsf.ui_1.0.1.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jst.jsp.core_1.2.1.v200709181730.jar [509] was not resolved.
| !SUBENTRY 2 org.eclipse.jst.jsp.core 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.jst.jsp.core_1.2.1.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jst.jsp.ui_1.1.201.v200709061102.jar [512] was not resolved.
| !SUBENTRY 2 org.eclipse.jst.jsp.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.jst.jsp.ui_1.1.201.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jst.pagedesigner.jsf.ui_1.0.1.v20070912.jar [514] was not resolved.
| !SUBENTRY 2 org.eclipse.jst.pagedesigner.jsf.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.jst.pagedesigner.jsf.ui_1.0.1.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jst.pagedesigner.jsp.core_1.0.1.v20070912.jar [516] was not resolved.
| !SUBENTRY 2 org.eclipse.jst.pagedesigner.jsp.core 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.jst.pagedesigner.jsp.core_1.0.1.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jst.pagedesigner_1.0.1.v20070912.jar [518] was not resolved.
| !SUBENTRY 2 org.eclipse.jst.pagedesigner 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.jst.pagedesigner_1.0.1.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jst.server.ui_1.0.203.v200705302225.jar [532] was not resolved.
| !SUBENTRY 2 org.eclipse.jst.server.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.jst.server.ui_1.0.203.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jst.servlet.ui_1.1.103.v200802192030.jar [536] was not resolved.
| !SUBENTRY 2 org.eclipse.jst.servlet.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.jst.servlet.ui_1.1.103.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jst.standard.schemas_1.0.0.v200706221355.jar [538] was not resolved.
| !SUBENTRY 2 org.eclipse.jst.standard.schemas 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.jst.standard.schemas_1.0.0.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jst.ws.consumption.ui.doc.user_1.0.300.v200706111751.jar [552] was not resolved.
| !SUBENTRY 2 org.eclipse.jst.ws.consumption.ui.doc.user 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.jst.ws.consumption.ui.doc.user_1.0.300.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.jst.ws.doc.user_1.0.300.v200705302225.jar [558] was not resolved.
| !SUBENTRY 2 org.eclipse.jst.ws.doc.user 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.jst.ws.doc.user_1.0.300.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.wst.common.modulecore_1.1.104.v200802192030.jar [657] was not resolved.
| !SUBENTRY 2 org.eclipse.wst.common.modulecore 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.wst.common.modulecore_1.1.104.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.wst.common.snippets_1.1.101.v200705302225.jar [661] was not resolved.
| !SUBENTRY 2 org.eclipse.wst.common.snippets 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.wst.common.snippets_1.1.101.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.wst.css.ui_1.0.201.v200705302225.jar [667] was not resolved.
| !SUBENTRY 2 org.eclipse.wst.css.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.wst.css.ui_1.0.201.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.wst.dtd.ui_1.0.201.v200705302225.jar [672] was not resolved.
| !SUBENTRY 2 org.eclipse.wst.dtd.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.wst.dtd.ui_1.0.201.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.wst.html.core_1.1.103.v200801092102.jar [675] was not resolved.
| !SUBENTRY 2 org.eclipse.wst.html.core 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.wst.html.core_1.1.103.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.wst.html.ui_1.0.202.v200708292012.jar [678] was not resolved.
| !SUBENTRY 2 org.eclipse.wst.html.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.wst.html.ui_1.0.202.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.wst.internet.cache_1.0.201.v200705302225.jar [680] was not resolved.
| !SUBENTRY 2 org.eclipse.wst.internet.cache 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.wst.internet.cache_1.0.201.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.wst.javascript.core_1.0.101.v200706071955.jar [684] was not resolved.
| !SUBENTRY 2 org.eclipse.wst.javascript.core 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.wst.javascript.core_1.0.101.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.wst.javascript.ui_1.0.103.v200802142230.jar [687] was not resolved.
| !SUBENTRY 2 org.eclipse.wst.javascript.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.wst.javascript.ui_1.0.103.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.wst.sse.core_1.1.203.v200802140626.jar [707] was not resolved.
| !SUBENTRY 2 org.eclipse.wst.sse.core 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.wst.sse.core_1.1.203.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.wst.sse.ui_1.0.305.v200802142230.jar [711] was not resolved.
| !SUBENTRY 2 org.eclipse.wst.sse.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.wst.sse.ui_1.0.305.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.wst.standard.schemas_1.0.1.v200705302225.jar [713] was not resolved.
| !SUBENTRY 2 org.eclipse.wst.standard.schemas 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.wst.standard.schemas_1.0.1.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.wst.validation.ui_1.1.102.v200706071630.jar [716] was not resolved.
| !SUBENTRY 2 org.eclipse.wst.validation.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.wst.validation.ui_1.1.102.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.wst.validation_1.1.102.v200709122200.jar [718] was not resolved.
| !SUBENTRY 2 org.eclipse.wst.validation 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.wst.validation_1.1.102.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.wst.ws.explorer_1.0.206.v200802072125/ [724] was not resolved.
| !SUBENTRY 2 org.eclipse.wst.ws.explorer 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.wst.ws.explorer_1.0.206.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.wst.wsdl.ui.doc.user_1.0.300.v200705302225.jar [730] was not resolved.
| !SUBENTRY 2 org.eclipse.wst.wsdl.ui.doc.user 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.wst.wsdl.ui.doc.user_1.0.300.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.wst.wsi.ui.doc.user_1.0.203.v200706120315.jar [735] was not resolved.
| !SUBENTRY 2 org.eclipse.wst.wsi.ui.doc.user 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.wst.wsi.ui.doc.user_1.0.203.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.wst.wsi_1.0.105.v200706120315.jar [738] was not resolved.
| !SUBENTRY 2 org.eclipse.wst.wsi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.wst.wsi_1.0.105.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.wst.xml.core_1.1.202.v200802140626.jar [740] was not resolved.
| !SUBENTRY 2 org.eclipse.wst.xml.core 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.wst.xml.core_1.1.202.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.wst.xml.ui_1.0.302.v200802140626.jar [743] was not resolved.
| !SUBENTRY 2 org.eclipse.wst.xml.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.wst.xml.ui_1.0.302.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.wst.xsd.ui_1.2.2.v200802141800.jar [747] was not resolved.
| !SUBENTRY 2 org.eclipse.wst.xsd.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.wst.xsd.ui_1.2.2.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipse.wst_1.0.2.v200706120315.jar [750] was not resolved.
| !SUBENTRY 2 org.eclipse.wst 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.eclipse.wst_1.0.2.zmyeclipse650200806
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipseguru.gwt.core_1.5.1.200806091707.jar [754] was not resolved.
| !SUBENTRY 2 org.eclipseguru.gwt.core 2 0 2008-09-30 14:18:34.864
| !MESSAGE Missing required bundle org.eclipse.jdt.ui_[3.4.0,3.5.0).
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.eclipseguru.gwt.ui_1.5.0.200806091707.jar [755] was not resolved.
| !SUBENTRY 2 org.eclipseguru.gwt.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Missing required bundle org.eclipse.jface.text_[3.4.0,3.5.0).
| !SUBENTRY 2 org.eclipseguru.gwt.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Missing required bundle org.eclipse.jdt.ui_[3.4.0,3.5.0).
| !SUBENTRY 2 org.eclipseguru.gwt.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Missing required bundle org.eclipseguru.gwt.core_0.0.0.
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.hibernate.eclipse.jdt.ui_3.2.2.CR1.jar [760] was not resolved.
| !SUBENTRY 2 org.hibernate.eclipse.jdt.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.hibernate.eclipse.jdt.ui_3.2.3.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.jboss.tools.common.kb_2.0.1/ [787] was not resolved.
| !SUBENTRY 2 org.jboss.tools.common.kb 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.jboss.tools.common.kb_2.1.1.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.jboss.tools.common.model.ui_2.0.1/ [789] was not resolved.
| !SUBENTRY 2 org.jboss.tools.common.model.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.jboss.tools.common.model.ui_2.1.1.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.jboss.tools.common.model_2.0.1/ [791] was not resolved.
| !SUBENTRY 2 org.jboss.tools.common.model 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.jboss.tools.common.model_2.1.1.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.jboss.tools.common.text.ext_2.0.1/ [794] was not resolved.
| !SUBENTRY 2 org.jboss.tools.common.text.ext 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.jboss.tools.common.text.ext_2.1.1.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.jboss.tools.common.text.xml_2.0.1/ [796] was not resolved.
| !SUBENTRY 2 org.jboss.tools.common.text.xml 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.jboss.tools.common.text.xml_2.1.1.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.jboss.tools.common.verification_2.0.1/ [799] was not resolved.
| !SUBENTRY 2 org.jboss.tools.common.verification 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.jboss.tools.common.verification_2.1.1.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.jboss.tools.common_2.0.1/ [801] was not resolved.
| !SUBENTRY 2 org.jboss.tools.common 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.jboss.tools.common_2.1.1.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.jboss.tools.hibernate.xml.ui_2.0.0/ [807] was not resolved.
| !SUBENTRY 2 org.jboss.tools.hibernate.xml.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.jboss.tools.hibernate.xml.ui_2.1.1.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.jboss.tools.hibernate.xml_2.0.0/ [809] was not resolved.
| !SUBENTRY 2 org.jboss.tools.hibernate.xml 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.jboss.tools.hibernate.xml_2.1.1.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.jboss.tools.jsf.text.ext.facelets_2.0.1/ [811] was not resolved.
| !SUBENTRY 2 org.jboss.tools.jsf.text.ext.facelets 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.jboss.tools.jsf.text.ext.facelets_2.1.1.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.jboss.tools.jsf.text.ext_2.0.1/ [813] was not resolved.
| !SUBENTRY 2 org.jboss.tools.jsf.text.ext 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.jboss.tools.jsf.text.ext_2.1.1.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.jboss.tools.jsf.ui_2.0.1/ [815] was not resolved.
| !SUBENTRY 2 org.jboss.tools.jsf.ui 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.jboss.tools.jsf.ui_2.1.1.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.jboss.tools.jsf.verification_2.0.1/ [817] was not resolved.
| !SUBENTRY 2 org.jboss.tools.jsf.verification 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.jboss.tools.jsf.verification_2.1.1.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.jboss.tools.jsf.vpe.ajax4jsf_2.0.1.jar [820] was not resolved.
| !SUBENTRY 2 org.jboss.tools.jsf.vpe.ajax4jsf 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.jboss.tools.jsf.vpe.ajax4jsf_2.1.1.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.jboss.tools.jsf.vpe.facelets_2.0.1/ [822] was not resolved.
| !SUBENTRY 2 org.jboss.tools.jsf.vpe.facelets 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.jboss.tools.jsf.vpe.facelets_2.1.1.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.jboss.tools.jsf.vpe.richfaces_2.0.1.jar [826] was not resolved.
| !SUBENTRY 2 org.jboss.tools.jsf.vpe.richfaces 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.jboss.tools.jsf.vpe.richfaces_2.1.1.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.jboss.tools.jsf.vpe.tomahawk_2.0.1/ [829] was not resolved.
| !SUBENTRY 2 org.jboss.tools.jsf.vpe.tomahawk 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.jboss.tools.jsf.vpe.tomahawk_2.1.1.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.jboss.tools.jsf_2.0.1/ [831] was not resolved.
| !SUBENTRY 2 org.jboss.tools.jsf 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.jboss.tools.jsf_2.1.1.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.jboss.tools.jst.jsp_2.0.1/ [834] was not resolved.
| !SUBENTRY 2 org.jboss.tools.jst.jsp 2 0 2008-09-30 14:18:34.864
| !MESSAGE Another singleton version selected: org.jboss.tools.jst.jsp_2.1.1.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.864
| !MESSAGE Bundle update(a)plugins/org.jboss.tools.jst.web.ui_2.0.1/ [843] was not resolved.
| !SUBENTRY 2 org.jboss.tools.jst.web.ui 2 0 2008-09-30 14:18:34.880
| !MESSAGE Another singleton version selected: org.jboss.tools.jst.web.ui_2.1.1.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.880
| !MESSAGE Bundle update(a)plugins/org.jboss.tools.jst.web_2.0.1/ [846] was not resolved.
| !SUBENTRY 2 org.jboss.tools.jst.web 2 0 2008-09-30 14:18:34.880
| !MESSAGE Another singleton version selected: org.jboss.tools.jst.web_2.1.1.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.880
| !MESSAGE Bundle update(a)plugins/org.jboss.tools.vpe.xulrunner_2.0.1.jar [864] was not resolved.
| !SUBENTRY 2 org.jboss.tools.vpe.xulrunner 2 0 2008-09-30 14:18:34.880
| !MESSAGE Another singleton version selected: org.jboss.tools.vpe.xulrunner_2.1.1.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.880
| !MESSAGE Bundle update(a)plugins/org.jboss.tools.vpe_2.0.1/ [866] was not resolved.
| !SUBENTRY 2 org.jboss.tools.vpe 2 0 2008-09-30 14:18:34.880
| !MESSAGE Another singleton version selected: org.jboss.tools.vpe_2.1.1.GA
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.880
| !MESSAGE Bundle update(a)plugins/org.mozilla.xulrunner.win32.win32.x86_1.8.1.3-20070404/ [887] was not resolved.
| !SUBENTRY 2 org.mozilla.xulrunner.win32.win32.x86 2 0 2008-09-30 14:18:34.880
| !MESSAGE Another singleton version selected: org.mozilla.xulrunner.win32.win32.x86_1.8.1.3-20070904
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.880
| !MESSAGE Bundle update(a)plugins/org.springframework.ide.eclipse.ajdt.ui.visualiser_2.0.4.zmyeclipse650200806.jar [899] was not resolved.
| !SUBENTRY 2 org.springframework.ide.eclipse.ajdt.ui.visualiser 2 0 2008-09-30 14:18:34.880
| !MESSAGE Missing required bundle org.eclipse.contribution.visualiser_0.0.0.
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.880
| !MESSAGE Bundle update(a)plugins/org.springframework.ide.eclipse.ajdt.ui.xref_2.0.4.zmyeclipse650200806.jar [900] was not resolved.
| !SUBENTRY 2 org.springframework.ide.eclipse.ajdt.ui.xref 2 0 2008-09-30 14:18:34.880
| !MESSAGE Missing required bundle org.eclipse.contribution.xref.ui_0.0.0.
| !SUBENTRY 2 org.springframework.ide.eclipse.ajdt.ui.xref 2 0 2008-09-30 14:18:34.880
| !MESSAGE Missing required bundle org.eclipse.contribution.xref.core_0.0.0.
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.880
| !MESSAGE Bundle update(a)plugins/org.springframework.ide.eclipse.aop.mylyn_2.0.4.zmyeclipse650200806.jar [902] was not resolved.
| !SUBENTRY 2 org.springframework.ide.eclipse.aop.mylyn 2 0 2008-09-30 14:18:34.880
| !MESSAGE Missing required bundle org.eclipse.mylyn.resources.ui_0.0.0.
| !SUBENTRY 2 org.springframework.ide.eclipse.aop.mylyn 2 0 2008-09-30 14:18:34.880
| !MESSAGE Missing required bundle org.eclipse.mylyn.context.ui_0.0.0.
| !SUBENTRY 2 org.springframework.ide.eclipse.aop.mylyn 2 0 2008-09-30 14:18:34.880
| !MESSAGE Missing required bundle org.eclipse.mylyn.ide.ui_0.0.0.
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.880
| !MESSAGE Bundle update(a)plugins/org.springframework.ide.eclipse.beans.mylyn_2.0.4.zmyeclipse650200806.jar [906] was not resolved.
| !SUBENTRY 2 org.springframework.ide.eclipse.beans.mylyn 2 0 2008-09-30 14:18:34.880
| !MESSAGE Missing required bundle org.eclipse.mylyn.context.ui_0.0.0.
| !SUBENTRY 2 org.springframework.ide.eclipse.beans.mylyn 2 0 2008-09-30 14:18:34.880
| !MESSAGE Missing required bundle org.eclipse.mylyn.java.ui_0.0.0.
| !SUBENTRY 2 org.springframework.ide.eclipse.beans.mylyn 2 0 2008-09-30 14:18:34.880
| !MESSAGE Missing required bundle org.eclipse.mylyn.ide.ui_0.0.0.
| !SUBENTRY 2 org.springframework.ide.eclipse.beans.mylyn 2 0 2008-09-30 14:18:34.880
| !MESSAGE Missing required bundle org.eclipse.mylyn.resources.ui_0.0.0.
| !SUBENTRY 2 org.springframework.ide.eclipse.beans.mylyn 2 0 2008-09-30 14:18:34.880
| !MESSAGE Missing required bundle org.springframework.ide.eclipse.mylyn_0.0.0.
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.880
| !MESSAGE Bundle update(a)plugins/org.springframework.ide.eclipse.mylyn_2.0.4.zmyeclipse650200806.jar [917] was not resolved.
| !SUBENTRY 2 org.springframework.ide.eclipse.mylyn 2 0 2008-09-30 14:18:34.880
| !MESSAGE Missing required bundle org.eclipse.mylyn.context.ui_0.0.0.
| !SUBENTRY 2 org.springframework.ide.eclipse.mylyn 2 0 2008-09-30 14:18:34.880
| !MESSAGE Missing required bundle org.eclipse.mylyn.ide.ui_0.0.0.
| !SUBENTRY 2 org.springframework.ide.eclipse.mylyn 2 0 2008-09-30 14:18:34.880
| !MESSAGE Missing required bundle org.eclipse.mylyn.resources.ui_0.0.0.
| !SUBENTRY 2 org.springframework.ide.eclipse.mylyn 2 0 2008-09-30 14:18:34.880
| !MESSAGE Missing required bundle org.eclipse.mylyn.java.ui_0.0.0.
| !SUBENTRY 1 org.eclipse.osgi 2 0 2008-09-30 14:18:34.880
| !MESSAGE Bundle update(a)plugins/org.springframework.ide.eclipse.webflow.mylyn_2.0.4.zmyeclipse650200806.jar [922] was not resolved.
| !SUBENTRY 2 org.springframework.ide.eclipse.webflow.mylyn 2 0 2008-09-30 14:18:34.880
| !MESSAGE Missing required bundle org.eclipse.mylyn.context.ui_0.0.0.
| !SUBENTRY 2 org.springframework.ide.eclipse.webflow.mylyn 2 0 2008-09-30 14:18:34.880
| !MESSAGE Missing required bundle org.eclipse.mylyn.resources.ui_0.0.0.
|
Thanks,
Venkat
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179644#4179644
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179644
17 years, 6 months
[JBoss Cache: Core Edition] - Re: Why does TreeCache notify when putting data gotten by a
by jimshowalter
We have some followup questions. We are writing unit tests that operate out of container and with the TreeCache not clustered.
When we create the TreeCache locally for out-of-container testing, we call setCacheMode(TreeCache.LOCAL):
TreeCache theTreeCache = new TreeCache();
theTreeCache.setCacheMode(TreeCache.LOCAL);
theTreeCache.createService();
theTreeCache.startService();
When we're in a call, we need to be able to determine whether we should be sending replication notifications or not. So our code looks like this:
public final void cache(Object somethingToCache, ReplicationMode replicationMode) throws ServiceException
{
TreeCache treeCache = mTreeCache;
Fqn typePath = MetadataCachePaths.typePathFor(somethingToCache);
if ((replicationMode == ReplicationMode.Replicate) && (treeCache.getCacheModeInternal() != 1))
{
treeCache.getInvocationContext().getOptionOverrides().setCacheModeLocal(false);
}
else
{
treeCache.getInvocationContext().getOptionOverrides().setCacheModeLocal(true);
}
treeCache.put(typePath, BaseTypeKey, customizedBaseType);
}
We're not sure about several things about our approach:
1) Does setCacheModeLocal(TreeCache.LOCAL) when we create the TreeCache set the default mode? If so, does that mean that the getOptionOverrides().setCacheModeLocal leaves the overall default mode alone, so we don't have to first save the mode, then set it in the invocation context, then set it back to the original mode?
2) When we create TreeCache locally, the call to getOptionOverrides().setCacheModeLocal blows up with an NPE because there are no option overrides. Are we supposed to set them ourselves when we create the local TreeCache?
3) Is calling getCacheModeInternal the right way to determine whether an instance of TreeCache is clustered or not? If that's not the right way to make that determination, what is?
4) Is there an example somewhere that shows how to use TreeCache out of container, and an example that shows how to determine if a TreeCache is clustered and how to enable/disable replication notifications based on whether it's clustered?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179638#4179638
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179638
17 years, 6 months
[EJB 3.0] - NullPointerException while deployment
by sr_ren
I get this error with no explanation of how to solve it
| 10:48:16,496 WARN [ServiceController] Problem starting service jboss.j2ee:ear=MyService.ear,jar=MyEjb.jar,name=MyImpl,service=EJB3
| java.lang.NullPointerException
| at org.jboss.ejb3.stateless.StatelessRemoteProxyFactory.getInterfaces(StatelessRemoteProxyFactory.java:75)
| at org.jboss.ejb3.stateless.BaseStatelessProxyFactory.init(BaseStatelessProxyFactory.java:163)
| at org.jboss.ejb3.stateless.StatelessRemoteProxyFactory.init(StatelessRemoteProxyFactory.java:100)
| at org.jboss.ejb3.stateless.BaseStatelessProxyFactory.start(BaseStatelessProxyFactory.java:212)
| at org.jboss.ejb3.stateless.StatelessRemoteProxyFactory.start(StatelessRemoteProxyFactory.java:107)
| at org.jboss.ejb3.ProxyDeployer.start(ProxyDeployer.java:83)
| at org.jboss.ejb3.SessionContainer.start(SessionContainer.java:137)
| at org.jboss.ejb3.stateless.StatelessContainer.start(StatelessContainer.java:94)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy96.start(Unknown Source)
| at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:120)
| at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:301)
| at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:362)
| at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy33.start(Unknown Source)
| at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:518)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
| at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy34.start(Unknown Source)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy9.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:508)
| at java.lang.Thread.run(Unknown Source)
|
|
|
What should I do to fix this?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179634#4179634
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179634
17 years, 6 months
[JBoss Getting Started Documentation] - Trailblazer fails to start
by manemannen
Hi,
I followed the TrailBlazer tutorial (http://trailblazer.demo.jboss.com/EJB3Trail/). Since I am new to both JBoss and EJBs I started a scratch EJB project (in Eclipse) and added the code provided in the tutorial. The Project deploys fine on JBoss but the Message beans fails to connect to their corresponding queues. It seems to be a security issue but I can't figure out the problem - and I spent the entire day trying :( Below is an excerpt of the error log. Could anyone give my a clue?
19:30:57,476 INFO [JmsActivation] Attempting to reconnect org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@aaee6d(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter(a)fe437f destination=queue/mdb isTopic=false tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
19:30:57,514 ERROR [JmsActivation] Unable to reconnect org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@aaee6d(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter(a)fe437f destination=queue/mdb isTopic=false tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
javax.jms.JMSSecurityException: Connection not authorized to subscribe to destination: mdb
at org.jboss.mq.security.ServerSecurityInterceptor.subscribe(ServerSecurityInterceptor.java:156)
at org.jboss.mq.server.TracingInterceptor.subscribe(TracingInterceptor.java:643)
at org.jboss.mq.server.JMSServerInvoker.subscribe(JMSServerInvoker.java:177)
at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:188)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:419)
at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:398)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:761)
at java.lang.Thread.run(Thread.java:619)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179631#4179631
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179631
17 years, 6 months
[Security & JAAS/JBoss] - Re: Invoke secured EJB from standalone Tomcat
by craig1980
Hi.
I have tried by using this environment for my JNDI Lookup (for now i have used fixed credentials but it's more important the result forme):
| java.naming.provider.url=jnp://xxx.xxx.xxx.xxx:1099,
| java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
| java.naming.security.principal=username,
| java.naming.factory.url.pkgs=org.jnp.interfaces,
| java.naming.security.credentials=password
|
The error on the client is the same.
On the server (My Jboss server) by eneabling the security log i have this stack trace:
|
| 2008-09-30 18:45:19,468 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] Begin getAppConfigurationEntry(wfdemopluto), size=8
| 2008-09-30 18:45:19,468 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] getAppConfigurationEntry(wfdemopluto), no entry in appConfigs, tyring parentCont: null
| 2008-09-30 18:45:19,468 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] getAppConfigurationEntry(wfdemopluto), no entry in parentConfig, trying: other
| 2008-09-30 18:45:19,468 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] End getAppConfigurationEntry(wfdemopluto), authInfo=AppConfigurationEntry[]:
| [0]
| LoginModule Class: org.jboss.security.auth.spi.UsersRolesLoginModule
| ControlFlag: LoginModuleControlFlag: required
| Options:
| 2008-09-30 18:45:19,468 TRACE [org.jboss.security.auth.spi.UsersRolesLoginModule] initialize, instance=@21756776
| 2008-09-30 18:45:19,468 TRACE [org.jboss.security.auth.spi.UsersRolesLoginModule] Security domain: other
| 2008-09-30 18:45:19,468 TRACE [org.jboss.security.auth.spi.UsersRolesLoginModule] findResource: null
| 2008-09-30 18:45:19,468 TRACE [org.jboss.security.auth.spi.UsersRolesLoginModule] Properties file=file:/C:/jboss-4.0.5.GA/server/default/conf/users.properties, defaults=null
| 2008-09-30 18:45:19,468 DEBUG [org.jboss.security.auth.spi.UsersRolesLoginModule] Loaded properties, users=[ML, root, ang, operatore, Admin, operatoreCartografico, angpippo, cost]
| 2008-09-30 18:45:19,468 TRACE [org.jboss.security.auth.spi.UsersRolesLoginModule] findResource: null
| 2008-09-30 18:45:19,468 TRACE [org.jboss.security.auth.spi.UsersRolesLoginModule] Properties file=file:/C:/jboss-4.0.5.GA/server/default/conf/roles.properties, defaults=null
| 2008-09-30 18:45:19,468 DEBUG [org.jboss.security.auth.spi.UsersRolesLoginModule] Loaded properties, users=[ML, root, ang, operatore, Admin, operatoreCartografico, angpippo, cost]
| 2008-09-30 18:45:19,468 TRACE [org.jboss.security.auth.spi.UsersRolesLoginModule] login
| 2008-09-30 18:45:19,468 TRACE [org.jboss.security.auth.spi.UsersRolesLoginModule] Authenticating as unauthenticatedIdentity=null
| 2008-09-30 18:45:19,468 DEBUG [org.jboss.security.auth.spi.UsersRolesLoginModule] Bad password for username=null
| 2008-09-30 18:45:19,468 TRACE [org.jboss.security.auth.spi.UsersRolesLoginModule] abort
| 2008-09-30 18:45:19,468 TRACE [org.jboss.security.plugins.JaasSecurityManager.wfdemopluto] Login failure
| javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required
| at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:213)
| at org.jboss.security.auth.spi.UsersRolesLoginModule.login(UsersRolesLoginModule.java:152)
| 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:585)
| at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
| at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
| at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
| at java.security.AccessController.doPrivileged(Native Method)
| at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
| at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
| at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:601)
| at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:535)
| at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
| at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:211)
| at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:135)
| at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
| at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
| at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:637)
| at org.jboss.ejb.Container.invoke(Container.java:975)
| 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:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:819)
| at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:420)
| 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:585)
| at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
| at sun.rmi.transport.Transport$1.run(Transport.java:153)
| at java.security.AccessController.doPrivileged(Native Method)
| at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
| at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
| at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
| at java.lang.Thread.run(Thread.java:595)
| 2008-09-30 18:45:19,468 TRACE [org.jboss.security.plugins.JaasSecurityManager.wfdemopluto] End isValid, false
| 2008-09-30 18:45:20,437 DEBUG [org.apache.catalina.session.ManagerBase] Start expire sessions StandardManager at 1222793120437 sessioncount 0
| 2008-09-30 18:45:20,437 DEBUG [org.apache.catalina.session.ManagerBase] End expire sessions StandardManager processingTime 0 expired sessions: 0
| 2008-09-30 18:45:20,437 DEBUG [org.apache.catalina.session.ManagerBase] Start expire sessions StandardManager at 1222793120437 sessioncount 0
| 2008-09-30 18:45:20,437 DEBUG [org.apache.catalina.session.ManagerBase] End expire sessions StandardManager processingTime 0 expired sessions: 0
| 2008-09-30 18:45:20,437 DEBUG [org.apache.catalina.session.ManagerBase] Start expire sessions StandardManager at 1222793120437 sessioncount 0
| 2008-09-30 18:45:20,437 DEBUG [org.apache.catalina.session.ManagerBase] End expire sessions StandardManager processingTime 0 expired sessions: 0
| 2008-09-30 18:45:20,437 DEBUG [org.apache.catalina.session.ManagerBase] Start expire sessions StandardManager at 1222793120437 sessioncount 0
| 2008-09-30 18:45:20,437 DEBUG [org.apache.catalina.session.ManagerBase] End expire sessions StandardManager processingTime 0 expired sessions: 0
| 2008-09-30 18:45:20,437 DEBUG [org.apache.catalina.session.ManagerBase] Start expire sessions StandardManager at 1222793120437 sessioncount 0
| 2008-09-30 18:45:20,437 DEBUG [org.apache.catalina.session.ManagerBase] End expire sessions StandardManager processingTime 0 expired sessions: 0
|
It seems as on JBoss side the Principal is null.
Now my auth.conf for my web client configuration is this one:
|
| PortalRealm {
| com.liferay.portal.kernel.security.jaas.PortalLoginModule required;
| org.jboss.security.ClientLoginModule required;
| };
|
|
I must use both PortalLoginModule and ClientLoginModule (this last one is usefull for JBoss, infact by a simple java client i'm able in invocking my EJB)
I don't understand where i'm missing myself.
Any suggestion more pls?
Thnx to all
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179625#4179625
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179625
17 years, 6 months
[JBossMQ] - Re: Singleton MDB and FIFO on retry/rollback
by adrian@jboss.org
It is virtually impossible for a JMS to guarantee this behaviour and still be efficient.
The problem comes because a rollback/retry maybe initiated at some later date
by the transaction manager for in-doubt transactions.
The in-doubt transaction could be in an unfinished state because another branch
of the XA transaction (e.g. database updates) may not be able to proceed
through the commit stage (e.g. the database has crashed and needs recovering).
This is not an issue unique to JBoss, e.g.
http://www.devwebsphere.com/devwebsphere/2005/06/total_jms_messa.html
which also identifies some of the other pitfalls which presumably you're less likely to
make since they are more under your control. ;-)
Having said that, it can be done and there a feature request for it:
https://jira.jboss.org/jira/browse/JBMESSAGING-1151
so you can vote for it.
The main issue with this solution (don't deliver any other message
to clients until you get an ACK from the one message that is allowed to be delivered)
is that any in doubt XA transaction would have to be resolved
in order to resume message delivery and there is increased latency
for normal message delivery.
If you want to implement it yourself then the MDB has to be aware of the order
and NACK/rollback message deliveries that appear out of order.
Again not very efficient, and not that easy to do across redeploys of the MDB
without persisting the lastest order number somewhere.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179615#4179615
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179615
17 years, 6 months
[Security & JAAS/JBoss] - Re: login-config.xml defining new login-module
by ragavgomatam
JAAS Control Flags
If a security realm has multiple Authentication providers configured, the Control Flag attribute on the Authenticator provider determines the ordered execution of the Authentication providers. The values for the Control Flag attribute are as follows:
REQUIRED -- This LoginModule must succeed. Even if it fails, authentication proceeds down the list of LoginModules for the configured Authentication providers. This setting is the default.
REQUISITE -- This LoginModule must succeed. If other Authentication providers are configured and this LoginModule succeeds, authentication proceeds down the list of LoginModules. Otherwise, return control to the application.
SUFFICIENT --This LoginModule needs not succeed. If it does succeed, return control to the application. If it fails and other Authentication providers are configured, authentication proceeds down the LoginModule list.
OPTIONAL --The user is allowed to pass or fail the authentication test of this Authentication providers. However, if all Authentication providers configured in a security realm have the JAAS Control Flag set to OPTIONAL, the user must pass the authentication test of one of the configured providers.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179612#4179612
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179612
17 years, 6 months
[JBossWS] - Re: Not getting instance of Service object from a WSDL file.
by PeterJ
1) As I indicated, the list of JARs I gave is for 5.0 CR2. I provided the list mainly to say that you will probably need to add a lot of JARs and your list will most likely be different from mine. What I did was used wsrunclient and when it gave a ClassNotFoundEsxception, I found the JAR containing that class, added it to my classpath, and then ran it again. I did this about a dozen times to find all of the required JARs. You can do the same. You do not need to install anything different, the JBossWS provided with 4.2.x will work just fine. (Actually, what I cannot figure out is why wsrunclient does not already include all of the necessary JAR files - that was what the whole point of that script was.)
2) Most likely you are using the wrong names or making the wrong calls. Use wsconsume to generate the stubs and examine the source for the stubs. That should tell you what names you should be using or calls you should be making.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179600#4179600
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179600
17 years, 6 months
[Installation, Configuration & DEPLOYMENT] - Re: JBoss Automatically restart
by PeterJ
The log you posted looks like the standard set of log entries when you start the app server. Is there anything in your system that would automatically restart services at 1:00AM? Perhaps a backup routine which stops everything at midnight, does the backup, and then starts things back up? What "Scheduled Tasks" do you have?
Change the log settings to use a RollingFileAppender, and set the "append" property to true. This way the new log file when JBOssAS starts up will not overwrite the old log file when JBossAS came down. This might give you a better clue as to why JBossAS stopped because the log will contain information about the shutdown.
You mentioned that you are running JBossAS as a service. What mechanism/software are you using to do that? Does that software have an option to automatically restart the service at certain times? What are the settings in the "Recovery" tab of the service properties?
Based on the log output, I believe you are running a clustering configuration. What software are you using as a front end? IIS? Apache HTTPD? If IIS, I vaguely recall some configuration setting to restart IIS apps once a day.
Do you have a service or other app deployed to JBossAS that runs on a timer and thus could request that the app sever shut down?
Bottom line - there is nothing in the JBoss AS code itself that could cause the automatic restart.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179597#4179597
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179597
17 years, 6 months
[JBossWS] - JbossWS from ip address to host name
by jopersson
Hi,
Running Swing client endorsed from Jboss-4.2.3-GA release with JbossWS (native) it works fine when using server ip adderss :
POST /KService HTTP/1.1
SOAPAction: ""
Content-Type: text/xml; charset=UTF-8
JBoss-Remoting-Version: 22
User-Agent: JBossRemoting - 2.2.2.SP8
Host: 192.168.0.1:8080
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 749
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header><wsse:Security env:mustUnderstand='1'
xmlns:wsse='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext...'
xmlns:wsu='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utilit...'>
<wsse:UsernameToken wsu:Id='token-1-1222785111445-30332961'>
<wsse:Username>0121020USR</wsse:Username>
<wsse:Password
Type='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext...'>12345</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</env:Header>
<env:Body><ns1:getuserinfo xmlns:ns1="http://ws.server.k.s/">
<arg0>0121020USR</arg0>
<arg1>12345aa</arg1></ns1:getuserinfo></env:Body></env:Envelope>
When trying to switch to host name getting Exception:
2008-09-30 16:07:42,682 WARN [org.jboss.ws.core.client.HTTPRemotingConnection] - Ignore 'javax.xml.ws.security.auth.password' with auth typy: org.jboss.ws.authType.wsse
2008-09-30 16:07:42,682 WARN [org.jboss.ws.core.client.HTTPRemotingConnection] - Ignore 'javax.xml.ws.security.auth.username' with auth typy: org.jboss.ws.authType.wsse
2008-09-30 16:07:47,823 ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] - SOAP request exception
java.io.IOException: Could not transmit message
at org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:255)
at org.jboss.ws.core.client.SOAPProtocolConnectionHTTP.invoke(SOAPProtocolConnectionHTTP.java:73)
at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:339)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:302)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:172)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152)
at $Proxy18.login(Unknown Source)
at se.k.client.delegate.services.kiservice.KWS.login(KIServiceWS.java:112)
at se.k.client.controller.LoginController.verifyLogin(LoginController.java:49)
at se.k.client.main.Login$2.actionPerformed(Login.java:118)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicRootPaneUI$Actions.actionPerformed(BasicRootPaneUI.java:191)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2849)
at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:267)
at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:216)
at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2926)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2918)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2812)
at java.awt.Component.processEvent(Component.java:5818)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:697)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:962)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:834)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:661)
at java.awt.Component.dispatchEventImpl(Component.java:4285)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177)
at java.awt.Dialog$1.run(Dialog.java:1045)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker. Connection refused: connect.
at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:348)
at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:137)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
at org.jboss.remoting.Client.invoke(Client.java:1634)
at org.jboss.remoting.Client.invoke(Client.java:548)
at org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:233)
... 49 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.Socket.connect(Socket.java:519)
at sun.net.NetworkClient.doConnect(NetworkClient.java:152)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
at sun.net.www.http.HttpClient.(HttpClient.java:233)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.http.HttpClient.New(HttpClient.java:323)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:788)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:729)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:654)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:832)
at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:277)
... 54 more
Host can be ping, DNS lookup is fine and we also edited host file in Windows system32...quite sure host name can be resolved.
Any ideas?
tia
johan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179593#4179593
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179593
17 years, 6 months
[Security & JAAS/JBoss] - Invoke secured EJB from standalone Tomcat
by craig1980
Hi all.
I have this envronment:
| Jboss 4.0.5GA on a server with IP address xxx.xxx.xxx.xxx
| Tomcat 5.5 on a server with IP address xxx.xxx.xxx.yyy
| Liferay 5.1.1 on tomcat
| EJBs 2.0
|
|
| I need to invoke EJB's from a portlet deploied in tomcat. These EJBs are secured; that is user needs to have a role for calling EJBs methods.
| I have configured my portlet for connecting to Jboss by using this jndi.properties:
|
| | java.naming.provider.url=xxx.xxx.xxx.xxx:1099
| | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
| | java.naming.factory.url.pkgs=org.jnp.interfaces
| |
|
| When i try to call the EJB i have this error:
|
| | 2008-09-30 13:17:04,593 ERROR [de.danet.an.workflow.ejbs.client.StandardWorkflowServiceFactory] SecurityException; nested exception is:
| | javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required
| | java.rmi.AccessException: SecurityException; nested exception is:
| | javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required
| | at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:388)
| | at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:136)
| | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
| | at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:637)
| | at org.jboss.ejb.Container.invoke(Container.java:975)
| | 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:585)
| |
|
| I think it's becouse i need to be logged on JBoss too; how can i configure my tomcat/jboss for calling these ejbs?
|
| Any suggestion is welcome.
| Thnx.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179565#4179565
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179565
17 years, 6 months
[Remoting] - WebServiceClientDeployer
by stfndln
Hi everyone ,
I am pretty new to jboss and have to solve some issues mainly for the version control.
Since the tibco reference has changed, and start up jboss i am getting this error:
What is going on??
thnx
ps: i checked the libs and org.jboss.webservice.ServiceClientDeployer is present, but not the WebServiceClientDeployer!!??
anonymous wrote :
| 008-09-30 14:17:49,707 DEBUG [org.jboss.deployment.SARDeployer] create operation failed for package file:/devel/QDEV03/jboss/tst/SDP/er-if/er_if-domain.7.0.4rc003/jboss/deploy/jboss-ws4ee.sar/
| org.jboss.deployment.DeploymentException: Unexpected error during load of: org.jboss.webservice.ServiceClientDeployer, msg=org/jboss/webservice/WebServiceClientDeployer; - nested throwable: (java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.webservice.ServiceClientDeployer, msg=org/jboss/webservice/WebServiceClientDeployer)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:178)
| at org.jboss.system.ServiceController.install(ServiceController.java:215)
| 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:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
| at $Proxy4.install(Unknown Source)
| at org.jboss.deployment.SARDeployer.create(SARDeployer.java:232)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:935)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:789)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
| 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:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
| at $Proxy8.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:428)
| at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
| 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:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
| at org.jboss.Main.boot(Main.java:187)
| at org.jboss.Main$1.run(Main.java:438)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.webservice.ServiceClientDeployer, msg=org/jboss/webservice/WebServiceClientDeployer
| at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:512)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:377)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1189)
| at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:271)
| at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:329)
| at org.jboss.system.ServiceCreator.install(ServiceCreator.java:124)
| at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:431)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:153)
| ... 81 more
| 2008-09-30 14:17:49,720 DEBUG [org.jboss.deployment.SARDeployer] Unregistering service UCL=jmx.loading:UCL=b9b8d0
| 2008-09-30 14:17:49,722 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] UnifiedLoaderRepository removed(true) org.jboss.mx.loading.UnifiedClassLoader3@b9b8d0{ url=file:/devel/QDEV03/jboss/tst/SDP/er-if/er_if-domain.7.0.4rc003/jboss/deploy/jboss-ws4ee.sar/ ,addedOrder=58}
| 2008-09-30 14:17:49,724 DEBUG [org.jboss.management.j2ee.LocalJBossServerDomain] handleNotification: javax.management.Notification[source=jboss.system:service=ServiceDeployer][type=org.jboss.deployment.SubDeployer.destroy][message=]
| 2008-09-30 14:17:49,726 DEBUG [org.jboss.management.j2ee.ServiceModule] destroy(), remove Service Module: jboss-ws4ee.sar
| 2008-09-30 14:17:49,726 DEBUG [org.jboss.management.j2ee.J2EEManagedObject] removeObject(), name: jboss-ws4ee.sar, encrypted name: jboss-ws4ee.sar, search criteria: jboss.management.local:j2eeType=ServiceModule,name=jboss-ws4ee.sar,*
| 2008-09-30 14:17:49,728 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFactory] Removed JSR-77 SAR: jboss-ws4ee.sar
| 2008-09-30 14:17:49,728 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/devel/QDEV03/jboss/tst/SDP/er-if/er_if-domain.7.0.4rc003/jboss/deploy/jboss-ws4ee.sar/
| org.jboss.deployment.DeploymentException: Unexpected error during load of: org.jboss.webservice.ServiceClientDeployer, msg=org/jboss/webservice/WebServiceClientDeployer; - nested throwable: (java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.webservice.ServiceClientDeployer, msg=org/jboss/webservice/WebServiceClientDeployer)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:178)
| at org.jboss.system.ServiceController.install(ServiceController.java:215)
| 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:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
| at $Proxy4.install(Unknown Source)
| at org.jboss.deployment.SARDeployer.create(SARDeployer.java:232)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:935)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:789)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
| 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:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
| at $Proxy8.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:428)
| at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
| 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:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
| at org.jboss.Main.boot(Main.java:187)
| at org.jboss.Main$1.run(Main.java:438)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.webservice.ServiceClientDeployer, msg=org/jboss/webservice/WebServiceClientDeployer
| at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:512)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:377)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1189)
| at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:271)
| at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:329)
| at org.jboss.system.ServiceCreator.install(ServiceCreator.java:124)
| at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:431)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:153)
| ... 81 more
| 2008-09-30 14:17:49,739 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@8071d408{ url=file:/devel/QDEV03/jboss/tst/SDP/er-if/er_if-domain.7.0.4rc003/jboss/deploy/jboss-ws4ee.sar/, deployedLastModified=0 }
| org.jboss.deployment.DeploymentException: Unexpected error during load of: org.jboss.webservice.ServiceClientDeployer, msg=org/jboss/webservice/WebServiceClientDeployer; - nested throwable: (java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.webservice.ServiceClientDeployer, msg=org/jboss/webservice/WebServiceClientDeployer)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:178)
| at org.jboss.system.ServiceController.install(ServiceController.java:215)
| 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:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
| at $Proxy4.install(Unknown Source)
| at org.jboss.deployment.SARDeployer.create(SARDeployer.java:232)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:935)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:789)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
| 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:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
| at $Proxy8.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:428)
| at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
| 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:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
| at org.jboss.Main.boot(Main.java:187)
| at org.jboss.Main$1.run(Main.java:438)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.webservice.ServiceClientDeployer, msg=org/jboss/webservice/WebServiceClientDeployer
| at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:512)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:377)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1189)
| at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:271)
| at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:329)
| at org.jboss.system.ServiceCreator.install(ServiceCreator.java:124)
| at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:431)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:153)
| ... 81 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179559#4179559
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179559
17 years, 6 months
[EJB 3.0] - Re: Multiple EJBs with same name in different jars - deploym
by itsme
HI jaikiran,
the spec states (p.494):
anonymous wrote :
| Binding of enterprise bean references. The Application Assembler may link an enterprise
| bean reference to another enterprise bean in the ejb-jar file or in the same Java EE application
| unit. The Application Assembler creates the link by adding the ejb-link element to the referencing
| bean. The Application Assembler uses the ejb-name of the referenced bean for the
| link. If there are multiple enterprise beans with the same ejb-name, the Application Assembler
| uses the path name specifying the location of the ejb-jar file that contains the referenced
| component. The path name is relative to the referencing ejb-jar file. The Application Assembler
| appends the ejb-name of the referenced bean to the path name separated by #. This
| allows multiple beans with the same name to be uniquely identified.
|
As far as I would comment this; I would assume that it is the application assemblers responsibility to keep binding name unique within the scope of an application. In this case an application can be an ejb-jar or an ear.
Regards
\sandor\
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179553#4179553
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179553
17 years, 6 months
[JBoss Tools (users)] - Re: 3.0.0 alpha, and seam tutorial problem
by jjfraney
Thanks.
I'm posting two traces, one from the jboss server.log, the other from the testng stack trace window, because there is some difference between them (even though both show a null pointer at the access to the @Log injected variable).
This first one is from the jboss server.log (jboss 4.2.1 GA):
2008-09-30 02:02:03,705 DEBUG [org.jboss.seam.exception.DebugPageHandler] redirecting to debug page
| java.lang.NullPointerException
| at org.domain.seamhello.session.PingBean.ping(PingBean.java:21)
| 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.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
| at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
| at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:214)
| at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:184)
| at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)
| at $Proxy186.ping(Unknown Source)
| 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.jboss.seam.util.Reflections.invoke(Reflections.java:21)
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
| at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
| at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
| at org.javassist.tmp.java.lang.Object_$$_javassist_1.ping(Object_$$_javassist_1.java)
| 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.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
| at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:342)
| at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
| at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
| at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
| at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
| at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
| at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
| at javax.faces.component.UICommand.broadcast(UICommand.java:383)
| at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
| at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
| at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:350)
| at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
| at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
| at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
| at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
| at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
| at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
| at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
| at java.lang.Thread.run(Thread.java:619)
|
This next one is from the testng stack trace view:
java.lang.AssertionError: javax.el.ELException: javax.ejb.EJBTransactionRolledbackException
| at org.jboss.seam.mock.BaseSeamTest$Request.onException(BaseSeamTest.java:488)
| at org.jboss.seam.mock.BaseSeamTest$Request$2.doFilter(BaseSeamTest.java:537)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
| at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
| at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
| at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
| at org.jboss.seam.mock.BaseSeamTest$Request.run(BaseSeamTest.java:524)
| at org.domain.seamhello.test.PingTest.test_ping(PingTest.java:16)
| 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:585)
| at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
| at org.testng.internal.Invoker.invokeMethod(Invoker.java:478)
| at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:617)
| at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:885)
| at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
| at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110)
| at org.testng.TestRunner.runWorkers(TestRunner.java:712)
| at org.testng.TestRunner.privateRun(TestRunner.java:582)
| at org.testng.TestRunner.run(TestRunner.java:477)
| at org.testng.SuiteRunner.runTest(SuiteRunner.java:324)
| at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319)
| at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292)
| at org.testng.SuiteRunner.run(SuiteRunner.java:198)
| at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:823)
| at org.testng.TestNG.runSuitesLocally(TestNG.java:790)
| at org.testng.TestNG.run(TestNG.java:708)
| at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:73)
| at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:124)
| Caused by: javax.el.ELException: javax.ejb.EJBTransactionRolledbackException
| at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:333)
| at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:342)
| at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
| at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
| at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
| at org.jboss.seam.mock.BaseSeamTest$Request.invokeMethod(BaseSeamTest.java:496)
| at org.domain.seamhello.test.PingTest$1.invokeApplication(PingTest.java:14)
| at org.jboss.seam.mock.BaseSeamTest$Request.invokeApplicationPhase(BaseSeamTest.java:660)
| at org.jboss.seam.mock.BaseSeamTest$Request.emulateJsfLifecycle(BaseSeamTest.java:609)
| at org.jboss.seam.mock.BaseSeamTest$Request.access$300(BaseSeamTest.java:184)
| at org.jboss.seam.mock.BaseSeamTest$Request$2.doFilter(BaseSeamTest.java:530)
| ... 40 more
| Caused by: javax.ejb.EJBTransactionRolledbackException
| at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:91)
| at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:64)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:166)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:249)
| at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:214)
| at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:86)
| at $Proxy47.ping(Unknown Source)
| 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:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
| at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
| at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
| at org.javassist.tmp.java.lang.Object_$$_javassist_1.ping(Object_$$_javassist_1.java)
| 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:585)
| at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
| ... 50 more
| Caused by: java.lang.NullPointerException
| at org.domain.seamhello.session.PingBean.ping(PingBean.java:21)
| 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:585)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:121)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:110)
| at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
| at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
| ... 84 more
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179551#4179551
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179551
17 years, 6 months
[Installation, Configuration & DEPLOYMENT] - Re: FileNotFoundException... (Access denied) Tuscany deploym
by drlzzt
Tried to deploy an exploded version it's the same just takes not from tmp folder but strait from deploy as it should but permission error is the same.
The dot is interesting but i don't have a clue how it's influenced by the application if there no such error in tomcat.
[STDERR] Sep 30, 2008 3:04:55 PM org.apache.tuscany.sca.host.webapp.WebAppServletHost initContextPath
INFO: ContextPath: /mdas-webapp-0.0.1-SNAPSHOT
15:04:58,697 ERROR [1-SNAPSHOT]] Exception starting filter tuscany
org.osoa.sca.ServiceRuntimeException: java.lang.reflect.InvocationTargetException
at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:276)
at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:83)
at org.apache.tuscany.sca.host.webapp.WebAppServletHost.init(WebAppServletHost.java:218)
at org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.init(TuscanyServletFilter.java:52)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3722)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4367)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
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:585)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
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:585)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy45.start(Unknown Source)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
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:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy46.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
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:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:258)
... 141 more
Caused by: org.osoa.sca.ServiceRuntimeException: java.io.FileNotFoundException: C:\Java\jboss-4.2.2.GA\server\default\.\deploy\mdas-webapp-0.0.1-SNAPSHOT.war (Access is denied)
at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.addContribution(DefaultSCADomain.java:331)
at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:183)
at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.(DefaultSCADomain.java:120)
at org.apache.tuscany.sca.host.webapp.WebSCADomain.(WebSCADomain.java:41)
... 146 more
Caused by: java.io.FileNotFoundException: C:\Java\jboss-4.2.2.GA\server\default\.\deploy\mdas-webapp-0.0.1-SNAPSHOT.war (Access is denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:105)
at org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl$2.run(ContributionServiceImpl.java:364)
at org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl$2.run(ContributionServiceImpl.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.addContribution(ContributionServiceImpl.java:362)
at org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.contribute(ContributionServiceImpl.java:189)
at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain$3.run(DefaultSCADomain.java:326)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.addContribution(DefaultSCADomain.java:324)
... 149 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179549#4179549
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179549
17 years, 6 months
[EJB 3.0] - Multiple EJBs with same name in different jars - deployment
by jaikiran
I have an EAR file containing 2 ejb jar files. Each of the jar files has one EJB3.0 Stateless bean each:
MyApp.ear
| |
| |--- META-INF
| | |
| | |--- application.xml
| | |
| | |--- jboss-app.xml
| |
| |
| |--- appOneEjb.jar
| | |
| | |--- org/myapp/AppManagerBean.class
| |
| |
| |--- appTwoEjb.jar
| | |
| | |--- org/myapp/AppManagerBeanV2.class
| |
| |
| |--- common.jar
| | |
| | |--- org/myapp/AppManager.class
|
|
Both these stateless beans (AppManagerBeanV2.class and AppManagerBean.class) implement the same AppManager.class and more importantly the "name" attribute of the @Stateless annotation for both these beans is the same. However, these 2 beans are packaged in different jar files inside an EAR:
@Stateless (name="mybean")
| @Remote (AppManager.class)
| public class AppManagerBeanV2 implements AppManager {
|
| public String getVersion() {
| return "2.0";
| }
|
| }
|
@Stateless (name="mybean")
| @Remote (AppManager.class)
| public class AppManagerBean implements AppManager {
|
| public String getVersion() {
| return "1.0";
| }
|
| }
|
I could not find much documentation on the name attribute of @Stateless. But since the "name" is equivalent to the ejb-name in the ejb-jar.xml, i guess, the following (from the ejb-jar.xml dtd) holds true:
anonymous wrote : The ejb-name element specifies an enterprise bean's name. ... The name must be unique among the names of the enterprise beans in the same ejb-jar file.
|
So as per this definition, i guess i can have multiple EJBs with the same name, but in different jar files (as in my sample application). But when i deploy, this on JBoss-5 CR2 i get the following exception during deployment:
17:01:35,311 INFO [JBossASKernel] Created KernelDeployment for: another_ejb3.jar
| 17:01:35,311 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=ZEJB3Persistence.ear,jar=another_ejb3.jar,name=mybean,service=EJB3
| 17:01:35,311 INFO [JBossASKernel] with dependencies:
| 17:01:35,311 INFO [JBossASKernel] and demands:
| 17:01:35,311 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
| 17:01:35,311 INFO [JBossASKernel] and supplies:
| 17:01:35,311 INFO [JBossASKernel] jndi:AppManagerRemoteV2
| 17:01:35,311 INFO [JBossASKernel] Class:org.myapp.ejb.AppManager
| 17:01:35,311 INFO [JBossASKernel] jndi:ZEJB3Persistence/mybean/remote-org.myapp.ejb.AppManager
| 17:01:35,311 INFO [JBossASKernel] jndi:ZEJB3Persistence/mybean/remote
| 17:01:35,311 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=ZEJB3Persistence.ear,jar=another_ejb3.jar,name=mybean,service=EJB3) to KernelDeployment of: another_ejb3.jar
| 17:01:35,779 INFO [JBossASKernel] Created KernelDeployment for: myapp_ejb3.jar
| 17:01:35,795 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=ZEJB3Persistence.ear,jar=myapp_ejb3.jar,name=mybean,service=EJB3
| 17:01:35,795 INFO [JBossASKernel] with dependencies:
| 17:01:35,795 INFO [JBossASKernel] and demands:
| 17:01:35,795 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
| 17:01:35,795 INFO [JBossASKernel] and supplies:
| 17:01:35,795 INFO [JBossASKernel] Class:org.myapp.ejb.AppManager
| 17:01:35,795 INFO [JBossASKernel] jndi:ZEJB3Persistence/mybean/remote-org.myapp.ejb.AppManager
| 17:01:35,795 INFO [JBossASKernel] jndi:AppManagerRemote
| 17:01:35,795 INFO [JBossASKernel] jndi:ZEJB3Persistence/mybean/remote
| 17:01:35,795 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=ZEJB3Persistence.ear,jar=myapp_ejb3.jar,name=mybean,service=EJB3) to KernelDeployment of: myapp_ejb3.jar
| 17:01:35,795 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=ZEJB3Persistence.ear,jar=myapp_ejb3.jar,name=UserManagerBean,service=EJB3
| 17:01:35,795 INFO [JBossASKernel] with dependencies:
| 17:01:35,795 INFO [JBossASKernel] and demands:
| 17:01:35,795 INFO [JBossASKernel] jboss.j2ee:ear=ZEJB3Persistence.ear,name=mybean,service=EJB3,*
| 17:01:35,795 INFO [JBossASKernel] persistence.unit:unitName=ZEJB3Persistence.ear/myapp_ejb3.jar#EJB3Persistence
| 17:01:35,795 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
| 17:01:35,795 INFO [JBossASKernel] and supplies:
| 17:01:35,795 INFO [JBossASKernel] Class:org.myapp.ejb.UserManagerRemote
| 17:01:35,795 INFO [JBossASKernel] jndi:ZEJB3Persistence/UserManagerBean/local-org.myapp.ejb.UserManagerLocal
| 17:01:35,795 INFO [JBossASKernel] Class:org.myapp.ejb.UserManagerLocal
| 17:01:35,795 INFO [JBossASKernel] jndi:ZEJB3Persistence/UserManagerBean/local
| 17:01:35,795 INFO [JBossASKernel] jndi:RemoteUserManagerBean
| 17:01:35,795 INFO [JBossASKernel] jndi:ZEJB3Persistence/UserManagerBean/remote-org.myapp.ejb.UserManagerRemote
| 17:01:35,795 INFO [JBossASKernel] jndi:testMappedNameJai
| 17:01:35,795 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=ZEJB3Persistence.ear,jar=myapp_ejb3.jar,name=UserManagerBean,service=EJB3) to KernelDeployment of: myapp_ejb3.jar
| 17:01:37,186 INFO [SessionSpecContainer] Starting jboss.j2ee:ear=ZEJB3Persistence.ear,jar=another_ejb3.jar,name=mybean,service=EJB3
| 17:01:37,201 INFO [EJBContainer] STARTED EJB: org.myapp.ejb.impl.AppManagerBeanV2 ejbName: mybean
| 17:01:37,217 WARN [SessionSpecContainer] Populating JBoss-specific annotation metadata manually until done by deployers: jboss.j2ee:ear=ZEJB3Persistence.ear,jar=another_ejb3.jar,name=mybean,service=EJB3
| 17:01:37,608 INFO [SessionSpecContainer] Starting jboss.j2ee:ear=ZEJB3Persistence.ear,jar=myapp_ejb3.jar,name=mybean,service=EJB3
| 17:01:37,608 INFO [EJBContainer] STARTED EJB: org.myapp.ejb.impl.AppManagerBean ejbName: mybean
| 17:01:37,608 WARN [SessionSpecContainer] Populating JBoss-specific annotation metadata manually until done by deployers: jboss.j2ee:ear=ZEJB3Persistence.ear,jar=myapp_ejb3.jar,name=mybean,service=EJB3
| 17:01:37,639 INFO [SessionSpecContainer] Stopping jboss.j2ee:ear=ZEJB3Persistence.ear,jar=myapp_ejb3.jar,name=mybean,service=EJB3
| 17:01:37,639 INFO [EJBContainer] STOPPED EJB: org.myapp.ejb.impl.AppManagerBean ejbName: mybean
| 17:01:37,670 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:ear=ZEJB3Persistence.ear,jar=myapp_ejb3.jar,name=mybean,service=EJB3 state=Create
| java.lang.RuntimeException: Could not bind Reference Class Name: Proxy for: org.myapp.ejb.AppManager
| Type: ProxyFactoryKey
| Content: ProxyFactory/AppManagerRemote
| Type: EJB Container Name
| Content: jboss.j2ee:ear=ZEJB3Persistence.ear,jar=myapp_ejb3.jar,name=mybean,service=EJB3
| Type: Remote Business Interface
| Content: org.myapp.ejb.AppManager
| Type: Remoting Host URL
| Content: socket://ps3346:3873/?
| into JNDI at "ZEJB3Persistence/mybean/remote-org.myapp.ejb.AppManager"
| at org.jboss.ejb3.proxy.jndiregistrar.JndiSessionRegistrarBase.bind(JndiSessionRegistrarBase.java:694)
| at org.jboss.ejb3.proxy.jndiregistrar.JndiSessionRegistrarBase.bind(JndiSessionRegistrarBase.java:674)
| at org.jboss.ejb3.proxy.jndiregistrar.JndiSessionRegistrarBase.bind(JndiSessionRegistrarBase.java:641)
| at org.jboss.ejb3.proxy.jndiregistrar.JndiSessionRegistrarBase.bindEjb(JndiSessionRegistrarBase.java:165)
| at org.jboss.ejb3.session.SessionSpecContainer.lockedStart(SessionSpecContainer.java:706)
| at org.jboss.ejb3.stateless.StatelessContainer.lockedStart(StatelessContainer.java:220)
| at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:858)
| 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:585)
| at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
| at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
| at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
| at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
| at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
| at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
| at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
| at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
| at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
| at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:124)
| at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
| at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
| at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1003)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1024)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1056)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:627)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:265)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:143)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
| at org.jboss.Main.boot(Main.java:209)
| at org.jboss.Main$1.run(Main.java:544)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: javax.naming.NameAlreadyBoundException
| at org.jnp.server.NamingServer.bind(NamingServer.java:165)
| at org.jnp.server.NamingServer.bind(NamingServer.java:130)
| at org.jnp.server.NamingServer.bind(NamingServer.java:130)
| at org.jnp.interfaces.NamingContext.bind(NamingContext.java:593)
| at org.jnp.interfaces.NamingContext.bind(NamingContext.java:554)
| at org.jboss.util.naming.Util.bind(Util.java:105)
| at org.jboss.util.naming.Util.bind(Util.java:91)
| at org.jboss.ejb3.proxy.jndiregistrar.JndiSessionRegistrarBase.bind(JndiSessionRegistrarBase.java:689)
| ... 55 more
|
|
Am i doing the right thing by having multiple beans with the same name? If yes, then it looks like when creating the jndi names for the interface specific proxies, we might even have to include the jar name in the jndi name to avoid this exception.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179545#4179545
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179545
17 years, 6 months
[EJB 3.0] - flushing EJB3 for use with EJB2.1
by robert.geisler
hello everybody,
i m confronted with a problem of simultaneous using of EJB2.1 and EJB3.0 in one server application and i hope to find some help here.
preface:
currently i m migrating a complex application implemented with EJB2.1 to EJB3.0. the application consists of several moduls (about 120) that are packaged as JARs in one EAR. every modul contains a few SLSBs and EntityBeans (different layers for access, logic and data).
my problem appears in the situation when the data layer of an EJB3.0 module and the data layer of an EJB2.1 module are involved in one process (one process means one transaction for one client interaction).
usecase:
a client starts a process on my server application by invoking a service of module "EJB3Module". in the first step of the process an Entity (EJB3.0) of type "EJB3Entity" is created and persisted. in the second step the primary key of this Entity (column "ID") is forwarded to the service of module "EJB21Module" that creates and persists an EntityBean (EJB2.1) of type "EJB21EntityBean". The EntityBean holds an reference to the Entity in column "EJB3Entity_ID", but the foreign key is only mapped by database and isnt mapped by JPA (EJB3.0) or CMP (EJB2.1).
problem:
the problem is, when the EntityBean of module "EJB3Module" gets persisted, an exception is thrown: "foreign key violation", because the value of column "EJB3Entity_ID" in table "EJB21EntityBean" is verified against column "ID" in table "EJB3Entity" and there is no such value.
i try to explain the reason of my problem. if i am wrong in some places, please let me know.
reason:
in my understanding, as the Entity is created by an EntityManager, it is registered in the persistence context, but not synchronized to database, because the transaction continues (JPA specification 3.2.3). later, when the EntityBean is being created CMP tries to write the EntityBean to database (because there is no persistence context in EJB2.1) and then database complains about foreign key, because the database doesnt know the Entity yet.
solution:
i successfully tried to explicitly flush the persistence context (EntityManager.flush()) to synchronize it to database after create, update and remove of an EJB3.0 Entity: the database then knows about the Entity and the EntityBean is created.
questions:* are my assumptions correct and is this the expected behaviour?
| * is there a way to set FlushModeType of EntityManager to something like always?
| * if not, i guess i have to call EntityManager.flush() after every JPA action until i finally migrated all EJBs from EJB2.1 to EJB3.0. right?
| * does it make sence to flush after every JPA action? or does it make even more sence to flush just before an EJB2.1 needs to read an EJB3.0 Entity?
i hope to have a discussion about my issue. please give me some input, hints and ideas, i m waiting for your answers.
regards
robert
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179539#4179539
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179539
17 years, 6 months
[Beginners Corner] - Re: Class not found exception?
by senderj
I encountered this problem with 4.2.3.GA when trying to startup jboss. All the xml files mentioned are stock version, no change from me. Here is part of the stack trace:
| 2008-09-30 17:47:02,381 DEBUG [org.jboss.web.WebModule] Starting failed jboss.web.deployment:war=ROOT.war,id=1767403708
| org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : cannot find class : null)
| at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:384)
| at org.jboss.web.WebModule.startModule(WebModule.java:83)
| at org.jboss.web.WebModule.startService(WebModule.java:61)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy44.start(Unknown Source)
| at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
| 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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
| at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy45.start(Unknown Source)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:368)
| 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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy43.addDeployer(Unknown Source)
| at org.jboss.web.tomcat.service.JBossWeb.startService(JBossWeb.java:517)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.deployment.SubDeployerInterceptor.invokeNext(SubDeployerInterceptor.java:124)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:109)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| 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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy9.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| 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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:508)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : cannot find class : null
| at javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory(PolicyConfigurationFactory.java:172)
| at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:355)
| ... 162 more
| Caused by: java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : property not set : javax.security.jacc.PolicyConfigurationFactory.provider
| at javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory(PolicyConfigurationFactory.java:157)
| ... 163 more
|
at the end of boot.xml it said:
| 2008-09-30 17:47:09,585 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 21s:299ms
|
But locahost:8080 failed with HTTP 400 Bad Request. Please help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179523#4179523
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179523
17 years, 6 months
[JBoss jBPM] - Re: Not able to login as a different user
by danya
Sorry i submited a wrong process definition.xml
this is the right one...
<?xml version="1.0" encoding="UTF-8"?>
|
| <process-definition
| xmlns="urn:jbpm.org:jpdl-3.2" name="Produce music products">
|
| <swimlane name="Talent scout">
| <assignment expression="group(Talent Scout)"></assignment>
| </swimlane>
| <swimlane name="Legal adviser">
| <assignment expression="group(Legal adviser)"></assignment>
| </swimlane>
| <swimlane name="Band member">
| <assignment expression="group(Band member)"></assignment>
| </swimlane>
| <swimlane name="Record producer">
| <assignment expression="group(Record producer)"></assignment>
| </swimlane>
| <swimlane name="Artist development">
| <assignment expression="group(Artist development)"></assignment>
| </swimlane>
| <swimlane name="Songwriter">
| <assignment expression="group(Songwriter)"></assignment>
| </swimlane>
| <swimlane name="Musician">
| <assignment expression="group(Musician)"></assignment>
| </swimlane>
| <swimlane name="Video production">
| <assignment expression="group(Video production)"></assignment>
| </swimlane>
| <swimlane name="Artist">
| <assignment expression="group(Artist)"></assignment>
| </swimlane>
| <start-state name="Hold auditions">
|
| <task name="Hold auditions" swimlane="Talent scout">
| <controller>
| <variable name="audDate" access="read,write,required" mapped-name="Audition date"></variable>
| <variable name="audLocation" access="read,write,required" mapped-name="Audition location"></variable>
| </controller>
| </task>
| <transition name="" to="Select band members"></transition>
| </start-state>
| <task-node name="Select band members">
| <task name="Select band members" swimlane="Talent scout">
| <controller>
| <variable name="bm1" access="read,write,required" mapped-name="Band member 1"></variable>
| <variable name="bm2" access="read,write,required" mapped-name="Band member 2"></variable>
| <variable name="bm3" access="read,write,required" mapped-name="Band member 3"></variable>
| <variable name="bm4" mapped-name="Band member 4"></variable>
| <variable name="bm5" mapped-name="Band member 5"></variable>
| <variable name="bm6" mapped-name="Band member 6"></variable>
| </controller>
| </task>
| <transition name="" to="Contract band members"></transition>
| </task-node>
| <task-node name="Contract band members">
| <task name="Contract band members" swimlane="Legal adviser">
| <controller>
| <variable name="bm1ContractSent" access="read,write,required" mapped-name="Band member 1 contract sent?"></variable>
| <variable name="bm2ContractSent" access="read,write,required" mapped-name="Band member 2 contract sent?"></variable>
| <variable name="bm3ContractSent" access="read,write,required" mapped-name="Band member 3 contract sent?"></variable>
| <variable name="bm4ContractSent" mapped-name="Band member 4 contract sent?"></variable>
| <variable name="bm5ContractSent" mapped-name="Band member 5 contract sent?"></variable>
| <variable name="bm6ContractSent" mapped-name="Band member 6 contract sent?"></variable>
| </controller>
| </task>
| <transition name="" to="Contract response"></transition>
| </task-node>
| <task-node name="Contract response">
| <task name="Contract response" swimlane="Legal adviser">
| <controller>
| <variable name="bm1Agreed" mapped-name="Band member 1 agreed?"></variable>
| <variable name="bm2Agreed" mapped-name="Band member 2 agreed?"></variable>
| <variable name="bm3Agreed" mapped-name="Band member 3 agreed?"></variable>
| <variable name="bm4Agreed" mapped-name="Band member 4 agreed?"></variable>
| <variable name="bm5Agreed" mapped-name="Band member 5 agreed?"></variable>
| <variable name="bm6Agreed" mapped-name="Band member 6 agreed?"></variable>
| </controller>
| </task>
| <transition name="" to="All contracts agreed?"></transition>
| </task-node>
| <task-node name="All contracts agreed?">
| <task name="All contracts agreed" swimlane="Legal adviser">
| <controller>
| <variable name="bm1Agreed" access="read" mapped-name="Band member 1 agreed?"></variable>
| <variable name="bm2Agreed" access="read" mapped-name="Band member 2 agreed?"></variable>
| <variable name="bm3Agreed" access="read" mapped-name="Band member 3 agreed?"></variable>
| <variable name="bm4Agreed" access="read" mapped-name="Band member 4 agreed?"></variable>
| <variable name="bm5Agreed" access="read" mapped-name="Band member 5 agreed?"></variable>
| <variable name="bm6Agreed" access="read" mapped-name="Band member 6 agreed?"></variable>
| </controller>
| </task>
| <transition name="No" to="Contract new member"></transition>
| <transition name="Yes" to="Name band"></transition>
| </task-node>
| <task-node name="Contract new member">
| <task name="Contract new member" swimlane="Legal adviser">
| <controller>
| <variable name="bm1" access="read,write,required" mapped-name="Band member 1"></variable>
| <variable name="bm2" access="read,write,required" mapped-name="Band member 2"></variable>
| <variable name="bm3" access="read,write,required" mapped-name="Band member 3"></variable>
| <variable name="bm4" mapped-name="Band member 4"></variable>
| <variable name="bm5" mapped-name="Band member 5"></variable>
| <variable name="bm6" mapped-name="Band member 6"></variable>
| <variable name="bm1Agreed" mapped-name="Band member 1 agreed?"></variable>
| <variable name="bm2Agreed" mapped-name="Band member 2 agreed?"></variable>
| <variable name="bm3Agreed" mapped-name="Band member 3 agreed?"></variable>
| <variable name="bm4Agreed" mapped-name="Band member 4 agreed?"></variable>
| <variable name="bm5Agreed" mapped-name="Band member 5 agreed?"></variable>
| <variable name="bm6Agreed" mapped-name="Band member 6 agreed?"></variable>
| </controller>
| </task>
| <transition name="" to="All contracts agreed?"></transition>
| </task-node>
| <task-node name="Name band">
|
| <task name="Name band" swimlane="Record producer">
| <controller>
| <variable name="bandName" access="read,write,required" mapped-name="Band name"></variable>
| </controller>
| </task>
| <transition name="" to="Organize vocal tuition"></transition>
| </task-node>
| <task-node name="Organize vocal tuition">
| <task name="Organize vocal tuition" swimlane="Artist development">
| <controller>
| <variable name="vocalTuitionDate" access="read,write,required" mapped-name="Vocal tuition date"></variable>
| <variable name="vocalTuitionTime" access="read,write,required" mapped-name="Vocal tuition time"></variable>
| <variable name="vocalTuitionLocation" access="read,write,required" mapped-name="Vocal tuition location"></variable>
| </controller>
| </task>
| <transition name="" to="fork1"></transition>
| </task-node>
| <fork name="fork1">
| <transition name="" to="Write songs"></transition>
| <transition name="tr2" to="Organize dance lessons"></transition>
| </fork>
| <task-node name="Write songs">
| <task name="Write songs" swimlane="Songwriter">
| <controller>
| <variable name="songName1" access="read,write,required" mapped-name="Song name 1"></variable>
| <variable name="songName2" access="read,write,required" mapped-name="Song name 2"></variable>
| <variable name="songName3" access="read,write,required" mapped-name="Song name 3"></variable>
| <variable name="songName4" access="read,write,required" mapped-name="Song name 4"></variable>
| <variable name="songName5" access="read,write,required" mapped-name="Song name 5"></variable>
| <variable name="songName6" access="read,write,required" mapped-name="Song name 6"></variable>
| <variable name="songName7" access="read,write,required" mapped-name="Song name 7"></variable>
| <variable name="songName8" access="read,write,required" mapped-name="Song name 8"></variable>
| <variable name="songName9" access="read,write,required" mapped-name="Song name 9"></variable>
| <variable name="songName10" access="read,write,required" mapped-name="Song name 10"></variable>
| </controller>
| </task>
| <transition name="" to="Evaluate songs"></transition>
| </task-node>
| <task-node name="Organize dance lessons">
| <task name="Organize dance lessons" swimlane="Artist development">
| <controller>
| <variable name="danceLessonDate" access="read,write,required" mapped-name="Dance lesson date"></variable>
| <variable name="danceLessonTime" access="read,write,required" mapped-name="Dance lesson time"></variable>
| <variable name="danceLessonLocation" access="read,write,required" mapped-name="Dance lesson location"></variable>
| </controller>
| </task>
| <transition name="" to="Stylise band"></transition>
| </task-node>
| <task-node name="Evaluate songs">
| <task name="Evaluate songs" swimlane="Record producer"></task>
| <transition name="Good" to="join1"></transition>
| <transition name="Bad" to="Write songs"></transition>
| </task-node>
| <task-node name="Contract supporting musicians">
| <task name="Contract supporting musicians" swimlane="Legal adviser"></task>
| <transition name="Done" to="Book recording studio"></transition>
| </task-node>
| <task-node name="Stylise band">
| <task name="Stylise band" swimlane="Artist development">
| <controller>
| <variable name="bandStyle" access="read,write,required" mapped-name="Band style"></variable>
| <variable name="bandName" access="read" mapped-name="Band name"></variable>
| </controller>
| </task>
| <transition name="" to="Find supporting musicians"></transition>
| </task-node>
| <task-node name="Find supporting musicians">
| <task name="Find supporting musicians" swimlane="Record producer">
| <controller>
| <variable name="supportingMusician1" access="read,write,required" mapped-name="Supporting musician 1"></variable>
| <variable name="supportingMusician2" access="read,write,required" mapped-name="Supporting musician 2"></variable>
| <variable name="supportingMusician3" access="read,write,required" mapped-name="Supporting musician 3"></variable>
| <variable name="supportingMusician4" access="read,write,required" mapped-name="Supporting musician 4"></variable>
| <variable name="supportingMusician5" access="read,write,required" mapped-name="Supporting musician 5"></variable>
| </controller>
| </task>
| <transition name="" to="join1"></transition>
| </task-node>
| <join name="join1">
| <transition name="" to="Contract supporting musicians"></transition>
| </join>
| <task-node name="Book recording studio">
| <task name="Book recording studio" swimlane="Record producer">
| <controller>
| <variable name="recordingStudioName" access="read,write,required" mapped-name="Recording studio name"></variable>
| <variable name="recordingStudioDate" access="read,write,required" mapped-name="Recording studio date"></variable>
| <variable name="recordingStudioTime" access="read,write,required" mapped-name="Recording studio time"></variable>
| <variable name="recordingStudioDuration" access="read,write,required" mapped-name="Recording studio duration"></variable>
| </controller>
| </task>
| <transition name="Done" to="Record backing tracks"></transition>
| </task-node>
| <task-node name="Record backing tracks">
| <task name="Record backing tracks" swimlane="Musician"></task>
| <transition name="Done" to="Record vocals"></transition>
| </task-node>
| <task-node name="Record vocals">
| <task name="Record vocals" swimlane="Band member"></task>
| <transition name="Done" to="Record backing vocals"></transition>
| </task-node>
| <task-node name="Record backing vocals">
| <task name="Record backing vocals" swimlane="Musician"></task>
| <transition name="Done" to="Mix tracks"></transition>
| </task-node>
| <task-node name="Mix tracks">
| <task name="Mix tracks" swimlane="Record producer"></task>
| <transition name="Done" to="Shoot video"></transition>
| </task-node>
| <task-node name="Shoot video">
| <task name="Shoot video" swimlane="Video production"></task>
| <transition name="Done" to="fork2"></transition>
| </task-node>
| <task-node name="Design cover artwork">
| <task name="Design cover artwork" swimlane="Artist"></task>
| <transition name="Done" to="Draft credits"></transition>
| </task-node>
| <fork name="fork2">
| <transition name="" to="Design cover artwork"></transition>
| <transition name="tr2" to="Edit video"></transition>
| </fork>
| <task-node name="Edit video">
| <task name="Edit video" swimlane="Video production"></task>
| <transition name="Done" to="join2"></transition>
| </task-node>
| <task-node name="Draft credits">
| <task name="Draft credits" swimlane="Record producer"></task>
| <transition name="Done" to="Review credits and cover artwork"></transition>
| </task-node>
| <task-node name="Review credits and cover artwork">
| <task name="Review credits and artwork" swimlane="Record producer"></task>
| <transition name="Incorrect" to="Draft credits"></transition>
| <transition name="Correct" to="join2"></transition>
| </task-node>
| <join name="join2">
| <transition name="" to="Compile album and DVD"></transition>
| </join>
| <task-node name="Compile album and DVD">
| <task name="Compile album and DVD" swimlane="Record producer"></task>
| <transition name="Done" to="Album complete"></transition>
| </task-node>
| <end-state name="Album complete"></end-state>
| </process-definition>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179515#4179515
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179515
17 years, 6 months
[JBoss jBPM] - Not able to login as a different user
by danya
hi all,
I was doing the example given in the ebook "business process management with jboss jbpm" .I added new users to the hsql database but i am not able to login as those newly added users.
I am getting the following error:
HTTP Status 403 - Access to the requested resource has been denied
--------------------------------------------------------------------------------
type Status report
message Access to the requested resource has been denied
description Access to the specified resource (Access to the requested resource has been denied) has been forbidden.
--------------------------------------------------------------------------------
JBossWeb/2.0.1.GA
My process definition is <?xml version="1.0" encoding="UTF-8"?>
|
| <process-definition
| xmlns="urn:jbpm.org:jpdl-3.2"
| name="simple">
| <swimlane name="hr">
| <assignment actor-id="hr" />
| </swimlane>
| <swimlane name="manager">
| <assignment actor-id="manager" />
| </swimlane>
| <swimlane name="Jobseeker">
| <assignment actor-id="Jobseeker" />
| </swimlane>
|
| <swimlane name="user">
| <assignment actor-id="user"></assignment>
| </swimlane>
|
| <start-state name="Apply for the Job">
| <task name="Applyforjob" swimlane="user">
| <controller>
| <variable access="read,write,required" name="Name" mapped-name="Name"></variable>
| <variable access="read,write,required" name="Marks" mapped-name="Marks"></variable>
| </controller>
| </task>
| <transition to="Resume evaluation" name="sendforEvaluation"></transition>
| <event type="node-enter"></event>
| </start-state>
| <task-node name="Resume evaluation">
| <task name="Resume Evaluation" swimlane="manager">
| <controller>
| <variable access="read,write,required" name="Name" mapped-name="Name"></variable>
| <variable access="read,write" name="Marks" mapped-name="Marks"></variable>
| </controller>
| </task>
| <transition to="Test Evaluation" name="Approved"></transition>
| <transition to="end" name="Rejected"></transition>
| <transition to="validate resume" name="to evaluate"></transition>
| </task-node>
|
| <task-node name="Test Evaluation">
| <task name="valuation" swimlane="manager">
| <controller></controller>
| </task>
| <transition to="end" name="Failed"></transition>
| <transition to="Interview" name="Pass"></transition>
| </task-node>
|
| <task-node name="Interview">
| <task name="interview result" swimlane="manager">
| <controller></controller>
| </task>
| <transition to="Selected " name="interview-cleared"></transition>
| <transition to="end" name="InterviewFailed"></transition>
| </task-node>
|
| <node name="Selected ">
| <transition to="end" name="to end"></transition>
| </node>
|
| <process-state name="validate resume">
| <sub-process name="Validate Mark"/>
| <transition to="end" name="to end"></transition>
| </process-state>
| <end-state name="end"></end-state>
| </process-definition>
I dont know where i have to edit to login as the new user...
Please help me
Thanks,
danya
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179509#4179509
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179509
17 years, 6 months
[Installation, Configuration & DEPLOYMENT] - Can't start up JBoss
by senderj
Downloaded 4.2.3.GA. Set up jboss_home and included the bin in the path variable. After run.bat, the start up process stopped in the middle. Last message in the boot.log is
| 17:00:22,165 DEBUG [Server] Starting General Purpose Architecture (GPA)...
| 17:00:22,275 WARN [BasicMBeanRegistry] preRegister() failed for JMImplementation:type=MBeanServerDelegate:
| java.lang.NoSuchFieldError: TRACE
| at org.jboss.logging.Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.java:85) ........
|
and further down
| 17:00:22,275 DEBUG [Server] Failed to start
| java.lang.RuntimeException: Cannot create MBeanServer
| at org.jboss.mx.server.MBeanServerImpl.<init>(MBeanServerImpl.java:239) .......
|
The installation was a clean one. So I think the problem is something outside the package. Can anybody help me on this.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179507#4179507
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179507
17 years, 6 months
[JBoss Portal] - deploy portlet to display applets failure
by hubery
What I want to do is try to deploy a portlet to display applets, I used the example "helloworldjspportlet" downloaded from jboss portletswap.
My jboss portal version: GA2.6.6
I both changed helloworldjspportlet.java and porlet.xml file as following:
1, helloworldjspportlet.java
package org.jboss.portlet.hello;
import javax.portlet.ActionRequest;
import javax.portlet.ActionResponse;
import javax.portlet.GenericPortlet;
import javax.portlet.PortletException;
import javax.portlet.PortletRequestDispatcher;
import javax.portlet.RenderRequest;
import javax.portlet.RenderResponse;
import javax.portlet.UnavailableException;
import java.io.IOException;
import java.applet.*;
import java.awt.*;
public class HelloWorldJSPPortlet extends GenericPortlet
{
protected void doView(RenderRequest rRequest, RenderResponse rResponse) throws PortletException, IOException, UnavailableException
{
rResponse.setContentType("text/html");
String sYourName = (String) rRequest.getParameter("yourname");
if(sYourName != null)
{
rRequest.setAttribute("yourname", sYourName);
PortletRequestDispatcher prd = getPortletContext().getRequestDispatcher("/WEB-INF/jsp/view2.jsp");
prd.include(rRequest, rResponse);
}
else
{
PortletRequestDispatcher prd = getPortletContext().getRequestDispatcher("/WEB-INF/jsp/view.jsp");
prd.include(rRequest, rResponse);
}
}
public void processAction(ActionRequest aRequest, ActionResponse aResponse) throws PortletException, IOException, UnavailableException
{
String sYourname = (String) aRequest.getParameter("yourname");
// do something
aResponse.setRenderParameter("yourname", sYourname);
}
protected void doHelp(RenderRequest rRequest, RenderResponse rResponse) throws PortletException, IOException, UnavailableException
{
rResponse.setContentType("application/x-java-serialized-object");
PortletRequestDispatcher prd = getPortletContext().getRequestDispatcher("/WEB-INF/jsp/help.jsp");
prd.include(rRequest, rResponse);
}
protected void doEdit(RenderRequest rRequest, RenderResponse rResponse) throws PortletException, IOException, UnavailableException
{
rResponse.setContentType("text/html");
PortletRequestDispatcher prd = getPortletContext().getRequestDispatcher("/WEB-INF/jsp/edit.jsp");
prd.include(rRequest, rResponse);
}
}
accoring to the setContextType ,I have tried "application/x-java-applet" "application/x-java-serialized-object" ,both failed.
2. portlet.xml file
<portlet-name>HelloWorldJSPPortlet</portlet-name>
<portlet-class>org.jboss.portlet.hello.HelloWorldJSPPortlet</portlet-class>
<mime-type>application/x-java-applet</mime-type>
<portlet-mode>VIEW</portlet-mode>
<portlet-mode>EDIT</portlet-mode>
<portlet-mode>HELP</portlet-mode>
<portlet-info>
HelloWorld JSP Portlet
</portlet-info>
</portlet-app>
I have to say, the help.jsp in first file is a jsp which has applet inside.
When I use ant deploy and ant explode to re-deploy this example portlet and put it under /default/deploy directory, it gave me this error:
ERROR
Cause: java.lang.IllegalArgumentException: Content type not accepted
Message: Content type not accepted
StackTrace:
java.lang.IllegalArgumentException: Content type not accepted
at org.jboss.portal.portlet.impl.jsr168.api.RenderResponseImpl.setContentType(RenderResponseImpl.java:110)
at org.jboss.portlet.hello.HelloWorldJSPPortlet.doHelp(Unknown Source)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:137)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483)
at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405)
at org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:86)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:102)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
------ just a piece , from the error, it is not difficult to understand it is the
context type problem, but how to fix it ,anybody can give me a hand?
Thanks!
Hubery
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179497#4179497
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179497
17 years, 6 months
[Installation, Configuration & DEPLOYMENT] - Cannot find FacesContext - Runtime Exception
by supiz85
Hi all ,
I am new to richfaces and am trying to deploy my app in jboss. It deploys complelty , but while i try to open the page , it gives me runtime exception.
here are my web.xml, faces-config.xml and the jspx page.
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>a4jEchoText</display-name>
<context-param>
<param-name>org.richfaces.SKIN</param-name>
<param-value>blueSky</param-value>
</context-param>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
<display-name>RichFaces Filter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
REQUEST
FORWARD
INCLUDE
</filter-mapping>
<display-name>Ajax4jsf Filter</display-name>
<filter-name>ajax4jsf</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
<filter-mapping>
<filter-name>ajax4jsf</filter-name>
<servlet-name>Faces Servlet</servlet-name>
FORWARD
REQUEST
INCLUDE
</filter-mapping>
<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
<!-- Faces Servlet -->
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
<!-- Faces Servlet Mapping -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<!-- Welcome files -->
<welcome-file-list>
<welcome-file>echo.jspx</welcome-file>
</welcome-file-list>
</web-app>
faces-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<faces-config>
<managed-bean>
<managed-bean-name>userBean</managed-bean-name>
<managed-bean-class>com.richfacedemo.beans.UserBean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<navigation-rule>
<from-view-id>*</from-view-id>
<navigation-case>
<to-view-id>echo.jspx</to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>
echo.jspx
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<h:form>
<rich:panel bodyClass="rich-laguna-panel-no-header">
<a4j:commandButton value="Set Name to Alex" reRender="rep" >
<a4j:actionparam name="username" value="Alex" assignTo="#{userBean.name}"/>
</a4j:commandButton>
<rich:spacer width="20" />
<a4j:commandButton value="Set Name to John" reRender="rep" >
<a4j:actionparam name="username" value="John" assignTo="#{userBean.name}"/>
</a4j:commandButton>
</rich:panel>
<rich:spacer height="1" />
<rich:panel bodyClass="rich-laguna-panel-no-header">
<h:outputText id="rep" value="Selected Name:#{userBean.name}"/>
</rich:panel>
</h:form>
</ui:composition>
------------------
can anyone please help me to know about the exact problem?
Thanks in advance
Supriya
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179487#4179487
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179487
17 years, 6 months
[Installation, Configuration & DEPLOYMENT] - Re: Configuring JBoss 5.0.0 CR1 for MySQL
by mayankmit2002
Hi Peter,
i'm posting the complete stack trace for deployment of EJB jar.
==========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: E:\jboss-5.0.0.CR1
JAVA: c:\program files\java\jdk1.6.0_10\bin\java
JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
CLASSPATH: E:\jboss-5.0.0.CR1\bin\run.jar
===============================================================================
09:40:41,863 INFO [ServerImpl] Starting JBoss (Microcontainer)...
09:40:41,863 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.CR1 (build: SVNTag=JBoss_5_0_0_CR1 date=200806301254)
09:40:41,879 INFO [ServerImpl] Home Dir: E:\jboss-5.0.0.CR1
09:40:41,879 INFO [ServerImpl] Home URL: file:/E:/jboss-5.0.0.CR1/
09:40:41,879 INFO [ServerImpl] Library URL: file:/E:/jboss-5.0.0.CR1/lib/
09:40:41,879 INFO [ServerImpl] Patch URL: null
09:40:41,879 INFO [ServerImpl] Server Name: default
09:40:41,879 INFO [ServerImpl] Server Home Dir: E:\jboss-5.0.0.CR1\server\default
09:40:41,879 INFO [ServerImpl] Server Home URL: file:/E:/jboss-5.0.0.CR1/server/default/
09:40:41,879 INFO [ServerImpl] Server Data Dir: E:\jboss-5.0.0.CR1\server\default\data
09:40:41,879 INFO [ServerImpl] Server Temp Dir: E:\jboss-5.0.0.CR1\server\default\tmp
09:40:41,879 INFO [ServerImpl] Server Config URL: file:/E:/jboss-5.0.0.CR1/server/default/conf/
09:40:41,879 INFO [ServerImpl] Server Library URL: file:/E:/jboss-5.0.0.CR1/server/default/lib/
09:40:41,879 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml
09:40:42,854 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/E:/jboss-5.0.0.CR1/server/default/conf/bootstrap.xml
09:40:44,127 INFO [CopyMechanism] VFS temp dir: E:\jboss-5.0.0.CR1\server\default\tmp
09:40:44,127 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
09:40:48,953 INFO [ServerInfo] Java version: 1.6.0_10-beta,Sun Microsystems Inc.
09:40:48,953 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 11.0-b11,Sun Microsystems Inc.
09:40:48,953 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
09:40:49,173 INFO [JMXKernel] Legacy JMX core initialized
09:40:51,516 INFO [MetaDataAwareProfile] Using profile root:E:\jboss-5.0.0.CR1\server\default
09:40:56,106 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
09:41:14,153 WARN [HackClassloaderMetaDataDeployer] FIXME Using loader repository config: jboss.console:sar=console-mgr.sar for vfsfile:/E:/jboss-5.0.0.CR1/server/default/deploy/management/console-mgr.sar/ use classloading metadata not loader repository config
09:41:15,395 INFO [AspectDeployer] Deploying xml into org.jboss.aop.AspectManager@3171e for BaseClassLoader@107c405{vfsfile:/E:/jboss-5.0.0.CR1/server/default/deploy/ejb3-interceptors-aop.xml}
09:42:18,041 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
09:42:18,482 INFO [MailService] Mail Service bound to java:/Mail
09:42:18,544 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instru
ctions on how to do this.
09:42:19,598 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
09:42:19,598 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
09:42:20,352 INFO [TransactionManagerService] Starting recovery manager
09:42:20,793 INFO [TransactionManagerService] Recovery manager started
09:42:20,808 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
09:42:22,113 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: c:\program files\java\jdk1.6.0_10\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS
;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\ULTRAE~1;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\CVSNT\;C:\Program Files\Java\jdk1.6.0_10\bin
09:42:22,239 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
09:42:22,239 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
09:42:22,255 INFO [Catalina] Initialization processed in 337 ms
09:42:22,255 INFO [StandardService] Starting service jboss.web
09:42:22,255 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.1.CR3
09:42:22,380 INFO [Catalina] Server startup in 127 ms
09:42:22,805 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
09:42:22,820 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
09:42:22,883 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/jms-ra.rar/META-INF/ra.xml
09:42:22,899 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/mail-ra.rar/META-INF/ra.xml
09:42:22,946 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
09:42:23,889 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
09:42:23,968 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
09:42:23,984 INFO [RAMJobStore] RAMJobStore initialized.
09:42:23,984 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
09:42:23,984 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
09:42:23,984 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
09:42:24,565 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
09:42:24,565 INFO [NativeServerConfig] 3.0.2.GA
09:42:27,222 INFO [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war
09:42:28,445 INFO [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sar/web-console.war
09:42:29,165 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
09:42:29,275 INFO [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-management.war
09:42:29,447 INFO [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war
09:42:29,666 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
09:42:31,420 WARN [JDBCPersistenceManager]
JBoss Messaging Warning: DataSource connection transaction isolation should be READ_COMMITTED, but it is currently REPEATABLE_READ.
Using an isolation level less strict than READ_COMMITTED may lead to data consistency problems.
Using an isolation level more strict than READ_COMMITTED may lead to deadlock.
09:42:31,749 WARN [QuartzTimerServiceFactory] sql failed: CREATE TABLE QRTZ_JOB_DETAILS(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME VARCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VA
RCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAME,JOB_GROUP))
09:42:31,827 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
09:42:31,827 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
09:42:31,843 INFO [JobStoreCMT] Using db table-based data access locking (synchronization).
09:42:31,858 INFO [JobStoreCMT] Removed 0 Volatile Trigger(s).
09:42:31,858 INFO [JobStoreCMT] Removed 0 Volatile Job(s).
09:42:31,858 INFO [JobStoreCMT] JobStoreCMT initialized.
09:42:31,858 INFO [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized from an externally provided properties instance.
09:42:31,858 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
09:42:31,858 INFO [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state.
09:42:31,858 INFO [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shut-down.
09:42:31,858 INFO [JobStoreCMT] Recovery complete.
09:42:31,874 INFO [JobStoreCMT] Removed 0 'complete' triggers.
09:42:31,874 INFO [JobStoreCMT] Removed 0 stale fired job entries.
09:42:31,874 INFO [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started.
09:42:32,312 INFO [ServerPeer] JBoss Messaging 1.4.1.CR1 server [0] started
09:42:32,516 WARN [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
09:42:32,516 WARN [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
09:42:32,673 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
09:42:32,673 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@a852b started
09:42:32,688 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
09:42:32,688 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1edf48d started
09:42:32,688 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
09:42:32,688 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@104f3a5 started
09:42:32,704 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
09:42:32,720 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
09:42:32,720 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
09:42:33,565 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
09:42:33,597 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
09:42:33,612 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.CR1 (build: SVNTag=JBoss_5_0_0_CR1 date=200806301254)] Started in 1m:51s:733ms
09:43:20,528 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,185 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,248 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,342 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,405 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,483 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,577 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,749 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,843 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,078 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,172 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,266 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,344 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,391 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,470 INFO [JBossASKernel] Created KernelDeployment for: GraphicServer.jar
09:43:22,485 INFO [JBossASKernel] installing bean: persistence.units:ear=GraphicServer.jar.ear,jar=GraphicServer.jar,unitName=GraphicServerPU
09:43:22,485 INFO [JBossASKernel] with dependencies:
09:43:22,485 INFO [JBossASKernel] and demands:
09:43:22,501 INFO [JBossASKernel] jboss.jca:name=DefaultDS,service=DataSourceBinding
09:43:22,501 INFO [JBossASKernel] and supplies:
09:43:22,501 INFO [JBossASKernel] persistence.units:unitName=GraphicServerPU
09:43:22,501 INFO [JBossASKernel] Added bean(persistence.units:ear=GraphicServer.jar.ear,jar=GraphicServer.jar,unitName=GraphicServerPU) to KernelDeployment of: GraphicServer.jar
09:43:22,517 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/GraphicServer.jar state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error deploying GraphicServer.jar: <injection-target> could not be found: com.le.graphicsServer.domain.AnimationBean.GraphicServerPU
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:192)
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:95)
at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:672)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
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.lang.RuntimeException: <injection-target> could not be found: com.le.graphicsServer.domain.AnimationBean.GraphicServerPU
at org.jboss.injection.InjectionUtil.findInjectionTarget(InjectionUtil.java:225)
at org.jboss.injection.InjectionUtil.injectionTarget(InjectionUtil.java:301)
at org.jboss.injection.PersistenceContextHandler.loadXml(PersistenceContextHandler.java:64)
at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:561)
at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:392)
at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:505)
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:185)
... 26 more
09:43:22,532 WARN [HDScanner] Failed to process changes
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** CONTEXTS IN ERROR: Name -> Error
vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/GraphicServer.jar -> java.lang.RuntimeException: <injection-target> could not be found: com.le.graphicsServer.domain.AnimationBean.GraphicServerPU
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:676)
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:661)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:291)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
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)
Here is the code for ApplicationBean.java
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.le.graphicsServer.domain;
import com.le.graphicsServer.persistence.Animation;
import com.le.graphicsServer.persistence.Login;
import com.le.graphicsServer.persistence.Plain;
import com.le.graphicsServer.persistence.PlainElements;
import com.le.graphicsServer.util.Constants;
import com.le.graphicsServer.util.Constants.Animation_Constants;
import com.le.graphicsServer.util.Constants.Error_Message;
import com.le.graphicsServer.util.Constants.Login_Constants;
import com.le.graphicsServer.util.Constants.Response;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityExistsException;
import javax.persistence.EntityManager;
import javax.persistence.NoResultException;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
import org.apache.log4j.Logger;
/**
*
* @author mayank.mittal
*/
@Stateless
public class AnimationBean implements AnimationLocal {
@PersistenceContext(name = "GraphicServerPU")
private EntityManager entityManager;
private static Logger log;
static {
log = Logger.getLogger(AnimationBean.class);
}
//<editor-fold defaultstate="collapsed" desc="Add a new Animation to the database with the name provided">
@Override
public Error_Message addAnimation(Hashtable<Enum, String> htbDetail) {
log.debug("Entered into addAnimation Method::::::::::::::");
Error_Message error_Message = null;
error_Message = Error_Message.Error_Occured;
String strAnimationName = htbDetail.get(Animation_Constants.Animation_Name);
String strUserID = htbDetail.get(Login_Constants.User_ID);
Animation animation = new Animation();
try {
entityManager.createQuery("Select a From Animation a where a.animationName='" + strAnimationName + "'").getSingleResult();
error_Message = Error_Message.Record_Already_Exists;
} catch (NoResultException noResultException) {
log.info("Name not found:::::::::::;;;;;;");
animation.setAnimationName(strAnimationName);
animation.setValidated(0);
animation.setUserID(strUserID);
entityManager.persist(animation);
error_Message = Error_Message.Record_Sucessfully_Added;
} catch (Exception exception) {
log.error("Exception Occured in addAnimation");
error_Message = Error_Message.Error_Occured;
}
log.debug("Exiting with error Status " + error_Message.toString());
return error_Message;
}
//</editor-fold>
//<editor-fold defaultstate="collapsed" desc="Provides Functionality to edit Animation details">
@Override
public Error_Message editAnimation(HashMap<Animation_Constants, Object> mapData) {
Error_Message errorIndex = Error_Message.Error_Occured;
Animation animation = null;
Integer iAnimationID;
String strAnimationName;
try {
iAnimationID = (Integer) mapData.get(Animation_Constants.Animation_ID);
strAnimationName = (String) mapData.get(Animation_Constants.Animation_Name);
if (!(iAnimationID == null)) {
animation = entityManager.find(Animation.class, iAnimationID);
if (!(animation == null)) {
try {
entityManager.createQuery("Select a From Animation a Where a.animationName='" + strAnimationName + "'").getSingleResult();
errorIndex = Error_Message.Record_Already_Exists;
} catch (NoResultException noResultException) {
animation.setAnimationName(strAnimationName);
errorIndex = Error_Message.Record_Sucessfully_Added;
}
} else {
errorIndex = Error_Message.Animation_Not_Available;
}
} else {
errorIndex = Error_Message.Invalid_Data_Provided;
}
} catch (Exception exception) {
errorIndex = Error_Message.Error_Occured;
}
return errorIndex;
}
//</editor-fold>
//<editor-fold defaultstate="collapsed" desc="Returns Animation Details" >
@Override
public Hashtable<Enum, Object> getAnimationDetailsByAnimationID(Integer iAnimationID) {
Hashtable<Enum, Object> htbResponse = null;
List plains = null;
List lstPlainElements = null;
Query query = null;
Integer iPlainCount = null;
Integer iIFrameCount = 0;
Integer iButtonCount = 0;
Integer iBMPCount = 0;
Animation animation = null;
htbResponse = new Hashtable<Enum, Object>();
try {
if (iAnimationID == null) {
htbResponse.put(Constants.Response.Error_Index, Error_Message.Invalid_Data_Provided);
return htbResponse;
}
} catch (Exception e) {
htbResponse.put(Constants.Response.Error_Index, Error_Message.Invalid_Data_Provided);
return htbResponse;
}
animation = entityManager.find(Animation.class, iAnimationID);
plains = (List) animation.getPlains();
if (plains.isEmpty() == true) {
htbResponse.put(Constants.Response.Error_Index, Error_Message.No_Plain_Found);
return htbResponse;
}
iPlainCount = plains.size(); // Total No. of Plains in Animation
for (Plain plain : plains) {
query = entityManager.createQuery("Select p from PlainElement as p where p.plainID = " + plain.getPlainID().intValue());
lstPlainElements = query.getResultList();
for (PlainElements plainElements : lstPlainElements) {
switch (plainElements.getElementType()) {
case 0x80:
iButtonCount++;
break;
case 0x86:
iIFrameCount++;
break;
case 0x82:
iBMPCount++;
break;
}
}
}
htbResponse.put(Constants.Animation_Constants.Plain_Count, iPlainCount);
htbResponse.put(Constants.Animation_Constants.IFrame_Count, iIFrameCount);
htbResponse.put(Constants.Animation_Constants.BMP_Count, iBMPCount);
htbResponse.put(Constants.Animation_Constants.Button_Count, iButtonCount);
htbResponse.put(Constants.Animation_Constants.Animation_ID, iAnimationID);
htbResponse.put(Constants.Response.Error_Index, Constants.Error_Message.Error_Occured);
return htbResponse;
}
//</editor-fold>
@Override
public Hashtable<Enum, Object> getAnimationDetailsByLoginID(String userID) {
log.info("Enter into getAnimationDetailsByLoginID::::::::::::");
Error_Message errorIndex = Error_Message.Error_Occured;
Hashtable<Animation_Constants, Integer> htbCount = null;
Hashtable<Enum, Object> htbResponse = new Hashtable<Enum, Object>();
Hashtable<String, Hashtable<Animation_Constants, Integer>> htbDetail = new Hashtable<String, Hashtable<Animation_Constants, Integer>>();
List lstplains = null;
List lstPlainElements = null;
List lstAnimation = null;
Query query = null;
Integer iAnimationID = null;
try {
if (!(userID == null)) {
Login login = entityManager.find(Login.class, userID);
int iPermission = login.getPermission();
if (iPermission == 0) {
lstAnimation = entityManager.createQuery("Select a From Animation a").getResultList();
} else {
lstAnimation = entityManager.createQuery("Select a From Animation a Where a.userID='" + userID + "'").getResultList();
}
Integer ianimationcount = 0;
if (!(lstAnimation.isEmpty())) {
ianimationcount = lstAnimation.size();
log.debug("animation count::::::::::::" + ianimationcount);
for (Animation animation : lstAnimation) {
Integer iPlainCount = 0;
Integer iIFrameCount = 0;
Integer iButtonCount = 0;
Integer iBMPCount = 0;
Integer iVDOCount = 0;
lstplains = (List) animation.getPlains();
htbCount = new Hashtable<Animation_Constants, Integer>();
iPlainCount = lstplains.size(); // Total No. of Plains in Animation
log.debug("plain count::::::::::::" + iPlainCount);
for (Plain plain : lstplains) {
query = entityManager.createQuery("Select p from PlainElements as p where p.plainID = " + plain.getPlainID().intValue());
lstPlainElements = query.getResultList();
for (PlainElements plainElements : lstPlainElements) {
switch (plainElements.getElementType()) {
case 0x80:
iButtonCount++;
break;
case 0x86:
iIFrameCount++;
break;
case 0x82:
iBMPCount++;
break;
case 0x85:
iVDOCount++;
break;
}
}
}
htbCount.put(Constants.Animation_Constants.Plain_Count, iPlainCount);
htbCount.put(Constants.Animation_Constants.IFrame_Count, iIFrameCount);
htbCount.put(Constants.Animation_Constants.BMP_Count, iBMPCount);
log.debug("animation.getAnimationID()::::::::::::" + animation.getAnimationID());
htbCount.put(Constants.Animation_Constants.Button_Count, iButtonCount);
htbCount.put(Constants.Animation_Constants.Video_Count, iVDOCount);
htbCount.put(Constants.Animation_Constants.Animation_ID, animation.getAnimationID());
htbDetail.put(animation.getAnimationName(), htbCount);
}
htbResponse.put(Response.Data, htbDetail);
errorIndex = Error_Message.No_Error;
} else {
errorIndex = Error_Message.Animation_Not_Available;
}
} else {
errorIndex = Error_Message.Invalid_Data_Provided;
}
} catch (Exception e) {
log.error("Exception in getAnimationDetailsByLoginID::::::::::::");
e.printStackTrace();
}
htbResponse.put(Error_Message.ERROR_INDEX, errorIndex);
log.info("Exit from getAnimationDetailsByLoginID::::::::::::" + htbResponse);
return htbResponse;
}
}
Application.java (Entity Bean)
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.le.graphicsServer.persistence;
import java.io.Serializable;
import java.util.Collection;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;
/**
*
* @author rahul.nikhra
*/
@Entity
public class Animation implements Serializable {
private static final long serialVersionUID = 1L;
private Integer animationID;
private String animationName;
private Integer validated;
private String userID;
public Collection < Plain > collPlain;
public Collection < Button > collbuttons;
@Id
@GeneratedValue
public Integer getAnimationID() {
return animationID;
}
public void setAnimationID(Integer animationID) {
this.animationID = animationID;
}
public String getUserID() {
return userID;
}
public void setUserID(String userID) {
this.userID = userID;
}
public String getAnimationName() {
return animationName;
}
public void setAnimationName(String animationName) {
this.animationName = animationName;
}
public Integer getValidated() {
return validated;
}
public void setValidated(Integer validated) {
this.validated = validated;
}
/////////////////////////////////////////////////////////////////////////////////
@OneToMany
@JoinColumn(name = "animationID")
public Collection < Plain > getPlains() {
return collPlain;
}
public void setPlains(Collection< Plain > collPlain) {
this.collPlain = collPlain;
}
@OneToMany(mappedBy = "linkID")
public Collection < Button > getButtons() {
return collbuttons;
}
public void setButtons(Collection < Button > buttons) {
this.collbuttons = buttons;
}
/////////////////////////////////////////////////////////////////////////////////
@Override
public int hashCode() {
int hash = 0;
hash += (animationID != null ? animationID.hashCode() : 0);
return hash;
}
@Override
public boolean equals(Object object) {
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof Animation)) {
return false;
}
Animation other = (Animation) object;
if ((this.animationID == null && other.animationID != null) || (this.animationID != null && !this.animationID.equals(other.animationID))) {
return false;
}
return true;
}
@Override
public String toString() {
return "Persistence.Animation[animationID=" + animationID + "]";
}
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179476#4179476
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179476
17 years, 6 months
[Installation, Configuration & DEPLOYMENT] - Re: Configuring JBoss 5.0.0 CR1 for MySQL
by mayankmit2002
Hi Peter,
i'm posting the complete stack trace for deployment of EJB jar.
==========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: E:\jboss-5.0.0.CR1
JAVA: c:\program files\java\jdk1.6.0_10\bin\java
JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
CLASSPATH: E:\jboss-5.0.0.CR1\bin\run.jar
===============================================================================
09:40:41,863 INFO [ServerImpl] Starting JBoss (Microcontainer)...
09:40:41,863 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.CR1 (build: SVNTag=JBoss_5_0_0_CR1 date=200806301254)
09:40:41,879 INFO [ServerImpl] Home Dir: E:\jboss-5.0.0.CR1
09:40:41,879 INFO [ServerImpl] Home URL: file:/E:/jboss-5.0.0.CR1/
09:40:41,879 INFO [ServerImpl] Library URL: file:/E:/jboss-5.0.0.CR1/lib/
09:40:41,879 INFO [ServerImpl] Patch URL: null
09:40:41,879 INFO [ServerImpl] Server Name: default
09:40:41,879 INFO [ServerImpl] Server Home Dir: E:\jboss-5.0.0.CR1\server\default
09:40:41,879 INFO [ServerImpl] Server Home URL: file:/E:/jboss-5.0.0.CR1/server/default/
09:40:41,879 INFO [ServerImpl] Server Data Dir: E:\jboss-5.0.0.CR1\server\default\data
09:40:41,879 INFO [ServerImpl] Server Temp Dir: E:\jboss-5.0.0.CR1\server\default\tmp
09:40:41,879 INFO [ServerImpl] Server Config URL: file:/E:/jboss-5.0.0.CR1/server/default/conf/
09:40:41,879 INFO [ServerImpl] Server Library URL: file:/E:/jboss-5.0.0.CR1/server/default/lib/
09:40:41,879 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml
09:40:42,854 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/E:/jboss-5.0.0.CR1/server/default/conf/bootstrap.xml
09:40:44,127 INFO [CopyMechanism] VFS temp dir: E:\jboss-5.0.0.CR1\server\default\tmp
09:40:44,127 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
09:40:48,953 INFO [ServerInfo] Java version: 1.6.0_10-beta,Sun Microsystems Inc.
09:40:48,953 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 11.0-b11,Sun Microsystems Inc.
09:40:48,953 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
09:40:49,173 INFO [JMXKernel] Legacy JMX core initialized
09:40:51,516 INFO [MetaDataAwareProfile] Using profile root:E:\jboss-5.0.0.CR1\server\default
09:40:56,106 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
09:41:14,153 WARN [HackClassloaderMetaDataDeployer] FIXME Using loader repository config: jboss.console:sar=console-mgr.sar for vfsfile:/E:/jboss-5.0.0.CR1/server/default/deploy/management/console-mgr.sar/ use classloading metadata not loader repository config
09:41:15,395 INFO [AspectDeployer] Deploying xml into org.jboss.aop.AspectManager@3171e for BaseClassLoader@107c405{vfsfile:/E:/jboss-5.0.0.CR1/server/default/deploy/ejb3-interceptors-aop.xml}
09:42:18,041 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
09:42:18,482 INFO [MailService] Mail Service bound to java:/Mail
09:42:18,544 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instru
ctions on how to do this.
09:42:19,598 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
09:42:19,598 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
09:42:20,352 INFO [TransactionManagerService] Starting recovery manager
09:42:20,793 INFO [TransactionManagerService] Recovery manager started
09:42:20,808 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
09:42:22,113 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: c:\program files\java\jdk1.6.0_10\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS
;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\ULTRAE~1;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\CVSNT\;C:\Program Files\Java\jdk1.6.0_10\bin
09:42:22,239 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
09:42:22,239 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
09:42:22,255 INFO [Catalina] Initialization processed in 337 ms
09:42:22,255 INFO [StandardService] Starting service jboss.web
09:42:22,255 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.1.CR3
09:42:22,380 INFO [Catalina] Server startup in 127 ms
09:42:22,805 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
09:42:22,820 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
09:42:22,883 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/jms-ra.rar/META-INF/ra.xml
09:42:22,899 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/mail-ra.rar/META-INF/ra.xml
09:42:22,946 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
09:42:23,889 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
09:42:23,968 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
09:42:23,984 INFO [RAMJobStore] RAMJobStore initialized.
09:42:23,984 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
09:42:23,984 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
09:42:23,984 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
09:42:24,565 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
09:42:24,565 INFO [NativeServerConfig] 3.0.2.GA
09:42:27,222 INFO [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war
09:42:28,445 INFO [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sar/web-console.war
09:42:29,165 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
09:42:29,275 INFO [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-management.war
09:42:29,447 INFO [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war
09:42:29,666 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
09:42:31,420 WARN [JDBCPersistenceManager]
JBoss Messaging Warning: DataSource connection transaction isolation should be READ_COMMITTED, but it is currently REPEATABLE_READ.
Using an isolation level less strict than READ_COMMITTED may lead to data consistency problems.
Using an isolation level more strict than READ_COMMITTED may lead to deadlock.
09:42:31,749 WARN [QuartzTimerServiceFactory] sql failed: CREATE TABLE QRTZ_JOB_DETAILS(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME VARCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VA
RCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAME,JOB_GROUP))
09:42:31,827 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
09:42:31,827 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
09:42:31,843 INFO [JobStoreCMT] Using db table-based data access locking (synchronization).
09:42:31,858 INFO [JobStoreCMT] Removed 0 Volatile Trigger(s).
09:42:31,858 INFO [JobStoreCMT] Removed 0 Volatile Job(s).
09:42:31,858 INFO [JobStoreCMT] JobStoreCMT initialized.
09:42:31,858 INFO [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized from an externally provided properties instance.
09:42:31,858 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
09:42:31,858 INFO [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state.
09:42:31,858 INFO [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shut-down.
09:42:31,858 INFO [JobStoreCMT] Recovery complete.
09:42:31,874 INFO [JobStoreCMT] Removed 0 'complete' triggers.
09:42:31,874 INFO [JobStoreCMT] Removed 0 stale fired job entries.
09:42:31,874 INFO [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started.
09:42:32,312 INFO [ServerPeer] JBoss Messaging 1.4.1.CR1 server [0] started
09:42:32,516 WARN [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
09:42:32,516 WARN [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
09:42:32,673 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
09:42:32,673 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@a852b started
09:42:32,688 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
09:42:32,688 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1edf48d started
09:42:32,688 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
09:42:32,688 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@104f3a5 started
09:42:32,704 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
09:42:32,720 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
09:42:32,720 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
09:42:33,565 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
09:42:33,597 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
09:42:33,612 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.CR1 (build: SVNTag=JBoss_5_0_0_CR1 date=200806301254)] Started in 1m:51s:733ms
09:43:20,528 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,185 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,248 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,342 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,405 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,483 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,577 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,749 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,843 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,078 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,172 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,266 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,344 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,391 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,470 INFO [JBossASKernel] Created KernelDeployment for: GraphicServer.jar
09:43:22,485 INFO [JBossASKernel] installing bean: persistence.units:ear=GraphicServer.jar.ear,jar=GraphicServer.jar,unitName=GraphicServerPU
09:43:22,485 INFO [JBossASKernel] with dependencies:
09:43:22,485 INFO [JBossASKernel] and demands:
09:43:22,501 INFO [JBossASKernel] jboss.jca:name=DefaultDS,service=DataSourceBinding
09:43:22,501 INFO [JBossASKernel] and supplies:
09:43:22,501 INFO [JBossASKernel] persistence.units:unitName=GraphicServerPU
09:43:22,501 INFO [JBossASKernel] Added bean(persistence.units:ear=GraphicServer.jar.ear,jar=GraphicServer.jar,unitName=GraphicServerPU) to KernelDeployment of: GraphicServer.jar
09:43:22,517 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/GraphicServer.jar state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error deploying GraphicServer.jar: <injection-target> could not be found: com.le.graphicsServer.domain.AnimationBean.GraphicServerPU
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:192)
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:95)
at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:672)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
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.lang.RuntimeException: <injection-target> could not be found: com.le.graphicsServer.domain.AnimationBean.GraphicServerPU
at org.jboss.injection.InjectionUtil.findInjectionTarget(InjectionUtil.java:225)
at org.jboss.injection.InjectionUtil.injectionTarget(InjectionUtil.java:301)
at org.jboss.injection.PersistenceContextHandler.loadXml(PersistenceContextHandler.java:64)
at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:561)
at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:392)
at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:505)
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:185)
... 26 more
09:43:22,532 WARN [HDScanner] Failed to process changes
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** CONTEXTS IN ERROR: Name -> Error
vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/GraphicServer.jar -> java.lang.RuntimeException: <injection-target> could not be found: com.le.graphicsServer.domain.AnimationBean.GraphicServerPU
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:676)
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:661)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:291)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
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)
Here is the code for ApplicationBean.java
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.le.graphicsServer.domain;
import com.le.graphicsServer.persistence.Animation;
import com.le.graphicsServer.persistence.Login;
import com.le.graphicsServer.persistence.Plain;
import com.le.graphicsServer.persistence.PlainElements;
import com.le.graphicsServer.util.Constants;
import com.le.graphicsServer.util.Constants.Animation_Constants;
import com.le.graphicsServer.util.Constants.Error_Message;
import com.le.graphicsServer.util.Constants.Login_Constants;
import com.le.graphicsServer.util.Constants.Response;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityExistsException;
import javax.persistence.EntityManager;
import javax.persistence.NoResultException;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
import org.apache.log4j.Logger;
/**
*
* @author mayank.mittal
*/
@Stateless
public class AnimationBean implements AnimationLocal {
@PersistenceContext(name = "GraphicServerPU")
private EntityManager entityManager;
private static Logger log;
static {
log = Logger.getLogger(AnimationBean.class);
}
//<editor-fold defaultstate="collapsed" desc="Add a new Animation to the database with the name provided">
@Override
public Error_Message addAnimation(Hashtable<Enum, String> htbDetail) {
log.debug("Entered into addAnimation Method::::::::::::::");
Error_Message error_Message = null;
error_Message = Error_Message.Error_Occured;
String strAnimationName = htbDetail.get(Animation_Constants.Animation_Name);
String strUserID = htbDetail.get(Login_Constants.User_ID);
Animation animation = new Animation();
try {
entityManager.createQuery("Select a From Animation a where a.animationName='" + strAnimationName + "'").getSingleResult();
error_Message = Error_Message.Record_Already_Exists;
} catch (NoResultException noResultException) {
log.info("Name not found:::::::::::;;;;;;");
animation.setAnimationName(strAnimationName);
animation.setValidated(0);
animation.setUserID(strUserID);
entityManager.persist(animation);
error_Message = Error_Message.Record_Sucessfully_Added;
} catch (Exception exception) {
log.error("Exception Occured in addAnimation");
error_Message = Error_Message.Error_Occured;
}
log.debug("Exiting with error Status " + error_Message.toString());
return error_Message;
}
//</editor-fold>
//<editor-fold defaultstate="collapsed" desc="Provides Functionality to edit Animation details">
@Override
public Error_Message editAnimation(HashMap<Animation_Constants, Object> mapData) {
Error_Message errorIndex = Error_Message.Error_Occured;
Animation animation = null;
Integer iAnimationID;
String strAnimationName;
try {
iAnimationID = (Integer) mapData.get(Animation_Constants.Animation_ID);
strAnimationName = (String) mapData.get(Animation_Constants.Animation_Name);
if (!(iAnimationID == null)) {
animation = entityManager.find(Animation.class, iAnimationID);
if (!(animation == null)) {
try {
entityManager.createQuery("Select a From Animation a Where a.animationName='" + strAnimationName + "'").getSingleResult();
errorIndex = Error_Message.Record_Already_Exists;
} catch (NoResultException noResultException) {
animation.setAnimationName(strAnimationName);
errorIndex = Error_Message.Record_Sucessfully_Added;
}
} else {
errorIndex = Error_Message.Animation_Not_Available;
}
} else {
errorIndex = Error_Message.Invalid_Data_Provided;
}
} catch (Exception exception) {
errorIndex = Error_Message.Error_Occured;
}
return errorIndex;
}
//</editor-fold>
//<editor-fold defaultstate="collapsed" desc="Returns Animation Details" >
@Override
public Hashtable<Enum, Object> getAnimationDetailsByAnimationID(Integer iAnimationID) {
Hashtable<Enum, Object> htbResponse = null;
List plains = null;
List lstPlainElements = null;
Query query = null;
Integer iPlainCount = null;
Integer iIFrameCount = 0;
Integer iButtonCount = 0;
Integer iBMPCount = 0;
Animation animation = null;
htbResponse = new Hashtable<Enum, Object>();
try {
if (iAnimationID == null) {
htbResponse.put(Constants.Response.Error_Index, Error_Message.Invalid_Data_Provided);
return htbResponse;
}
} catch (Exception e) {
htbResponse.put(Constants.Response.Error_Index, Error_Message.Invalid_Data_Provided);
return htbResponse;
}
animation = entityManager.find(Animation.class, iAnimationID);
plains = (List) animation.getPlains();
if (plains.isEmpty() == true) {
htbResponse.put(Constants.Response.Error_Index, Error_Message.No_Plain_Found);
return htbResponse;
}
iPlainCount = plains.size(); // Total No. of Plains in Animation
for (Plain plain : plains) {
query = entityManager.createQuery("Select p from PlainElement as p where p.plainID = " + plain.getPlainID().intValue());
lstPlainElements = query.getResultList();
for (PlainElements plainElements : lstPlainElements) {
switch (plainElements.getElementType()) {
case 0x80:
iButtonCount++;
break;
case 0x86:
iIFrameCount++;
break;
case 0x82:
iBMPCount++;
break;
}
}
}
htbResponse.put(Constants.Animation_Constants.Plain_Count, iPlainCount);
htbResponse.put(Constants.Animation_Constants.IFrame_Count, iIFrameCount);
htbResponse.put(Constants.Animation_Constants.BMP_Count, iBMPCount);
htbResponse.put(Constants.Animation_Constants.Button_Count, iButtonCount);
htbResponse.put(Constants.Animation_Constants.Animation_ID, iAnimationID);
htbResponse.put(Constants.Response.Error_Index, Constants.Error_Message.Error_Occured);
return htbResponse;
}
//</editor-fold>
@Override
public Hashtable<Enum, Object> getAnimationDetailsByLoginID(String userID) {
log.info("Enter into getAnimationDetailsByLoginID::::::::::::");
Error_Message errorIndex = Error_Message.Error_Occured;
Hashtable<Animation_Constants, Integer> htbCount = null;
Hashtable<Enum, Object> htbResponse = new Hashtable<Enum, Object>();
Hashtable<String, Hashtable<Animation_Constants, Integer>> htbDetail = new Hashtable<String, Hashtable<Animation_Constants, Integer>>();
List lstplains = null;
List lstPlainElements = null;
List lstAnimation = null;
Query query = null;
Integer iAnimationID = null;
try {
if (!(userID == null)) {
Login login = entityManager.find(Login.class, userID);
int iPermission = login.getPermission();
if (iPermission == 0) {
lstAnimation = entityManager.createQuery("Select a From Animation a").getResultList();
} else {
lstAnimation = entityManager.createQuery("Select a From Animation a Where a.userID='" + userID + "'").getResultList();
}
Integer ianimationcount = 0;
if (!(lstAnimation.isEmpty())) {
ianimationcount = lstAnimation.size();
log.debug("animation count::::::::::::" + ianimationcount);
for (Animation animation : lstAnimation) {
Integer iPlainCount = 0;
Integer iIFrameCount = 0;
Integer iButtonCount = 0;
Integer iBMPCount = 0;
Integer iVDOCount = 0;
lstplains = (List) animation.getPlains();
htbCount = new Hashtable<Animation_Constants, Integer>();
iPlainCount = lstplains.size(); // Total No. of Plains in Animation
log.debug("plain count::::::::::::" + iPlainCount);
for (Plain plain : lstplains) {
query = entityManager.createQuery("Select p from PlainElements as p where p.plainID = " + plain.getPlainID().intValue());
lstPlainElements = query.getResultList();
for (PlainElements plainElements : lstPlainElements) {
switch (plainElements.getElementType()) {
case 0x80:
iButtonCount++;
break;
case 0x86:
iIFrameCount++;
break;
case 0x82:
iBMPCount++;
break;
case 0x85:
iVDOCount++;
break;
}
}
}
htbCount.put(Constants.Animation_Constants.Plain_Count, iPlainCount);
htbCount.put(Constants.Animation_Constants.IFrame_Count, iIFrameCount);
htbCount.put(Constants.Animation_Constants.BMP_Count, iBMPCount);
log.debug("animation.getAnimationID()::::::::::::" + animation.getAnimationID());
htbCount.put(Constants.Animation_Constants.Button_Count, iButtonCount);
htbCount.put(Constants.Animation_Constants.Video_Count, iVDOCount);
htbCount.put(Constants.Animation_Constants.Animation_ID, animation.getAnimationID());
htbDetail.put(animation.getAnimationName(), htbCount);
}
htbResponse.put(Response.Data, htbDetail);
errorIndex = Error_Message.No_Error;
} else {
errorIndex = Error_Message.Animation_Not_Available;
}
} else {
errorIndex = Error_Message.Invalid_Data_Provided;
}
} catch (Exception e) {
log.error("Exception in getAnimationDetailsByLoginID::::::::::::");
e.printStackTrace();
}
htbResponse.put(Error_Message.ERROR_INDEX, errorIndex);
log.info("Exit from getAnimationDetailsByLoginID::::::::::::" + htbResponse);
return htbResponse;
}
}
Application.java (Entity Bean)
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.le.graphicsServer.persistence;
import java.io.Serializable;
import java.util.Collection;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;
/**
*
* @author rahul.nikhra
*/
@Entity
public class Animation implements Serializable {
private static final long serialVersionUID = 1L;
private Integer animationID;
private String animationName;
private Integer validated;
private String userID;
public Collection < Plain > collPlain;
public Collection < Button > collbuttons;
@Id
@GeneratedValue
public Integer getAnimationID() {
return animationID;
}
public void setAnimationID(Integer animationID) {
this.animationID = animationID;
}
public String getUserID() {
return userID;
}
public void setUserID(String userID) {
this.userID = userID;
}
public String getAnimationName() {
return animationName;
}
public void setAnimationName(String animationName) {
this.animationName = animationName;
}
public Integer getValidated() {
return validated;
}
public void setValidated(Integer validated) {
this.validated = validated;
}
/////////////////////////////////////////////////////////////////////////////////
@OneToMany
@JoinColumn(name = "animationID")
public Collection < Plain > getPlains() {
return collPlain;
}
public void setPlains(Collection< Plain > collPlain) {
this.collPlain = collPlain;
}
@OneToMany(mappedBy = "linkID")
public Collection < Button > getButtons() {
return collbuttons;
}
public void setButtons(Collection < Button > buttons) {
this.collbuttons = buttons;
}
/////////////////////////////////////////////////////////////////////////////////
@Override
public int hashCode() {
int hash = 0;
hash += (animationID != null ? animationID.hashCode() : 0);
return hash;
}
@Override
public boolean equals(Object object) {
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof Animation)) {
return false;
}
Animation other = (Animation) object;
if ((this.animationID == null && other.animationID != null) || (this.animationID != null && !this.animationID.equals(other.animationID))) {
return false;
}
return true;
}
@Override
public String toString() {
return "Persistence.Animation[animationID=" + animationID + "]";
}
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179475#4179475
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179475
17 years, 6 months
[Installation, Configuration & DEPLOYMENT] - Re: Configuring JBoss 5.0.0 CR1 for MySQL
by mayankmit2002
Hi Peter,
i'm posting the complete stack trace for deployment of EJB jar.
==========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: E:\jboss-5.0.0.CR1
JAVA: c:\program files\java\jdk1.6.0_10\bin\java
JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
CLASSPATH: E:\jboss-5.0.0.CR1\bin\run.jar
===============================================================================
09:40:41,863 INFO [ServerImpl] Starting JBoss (Microcontainer)...
09:40:41,863 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.CR1 (build: SVNTag=JBoss_5_0_0_CR1 date=200806301254)
09:40:41,879 INFO [ServerImpl] Home Dir: E:\jboss-5.0.0.CR1
09:40:41,879 INFO [ServerImpl] Home URL: file:/E:/jboss-5.0.0.CR1/
09:40:41,879 INFO [ServerImpl] Library URL: file:/E:/jboss-5.0.0.CR1/lib/
09:40:41,879 INFO [ServerImpl] Patch URL: null
09:40:41,879 INFO [ServerImpl] Server Name: default
09:40:41,879 INFO [ServerImpl] Server Home Dir: E:\jboss-5.0.0.CR1\server\default
09:40:41,879 INFO [ServerImpl] Server Home URL: file:/E:/jboss-5.0.0.CR1/server/default/
09:40:41,879 INFO [ServerImpl] Server Data Dir: E:\jboss-5.0.0.CR1\server\default\data
09:40:41,879 INFO [ServerImpl] Server Temp Dir: E:\jboss-5.0.0.CR1\server\default\tmp
09:40:41,879 INFO [ServerImpl] Server Config URL: file:/E:/jboss-5.0.0.CR1/server/default/conf/
09:40:41,879 INFO [ServerImpl] Server Library URL: file:/E:/jboss-5.0.0.CR1/server/default/lib/
09:40:41,879 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml
09:40:42,854 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/E:/jboss-5.0.0.CR1/server/default/conf/bootstrap.xml
09:40:44,127 INFO [CopyMechanism] VFS temp dir: E:\jboss-5.0.0.CR1\server\default\tmp
09:40:44,127 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
09:40:48,953 INFO [ServerInfo] Java version: 1.6.0_10-beta,Sun Microsystems Inc.
09:40:48,953 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 11.0-b11,Sun Microsystems Inc.
09:40:48,953 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
09:40:49,173 INFO [JMXKernel] Legacy JMX core initialized
09:40:51,516 INFO [MetaDataAwareProfile] Using profile root:E:\jboss-5.0.0.CR1\server\default
09:40:56,106 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
09:41:14,153 WARN [HackClassloaderMetaDataDeployer] FIXME Using loader repository config: jboss.console:sar=console-mgr.sar for vfsfile:/E:/jboss-5.0.0.CR1/server/default/deploy/management/console-mgr.sar/ use classloading metadata not loader repository config
09:41:15,395 INFO [AspectDeployer] Deploying xml into org.jboss.aop.AspectManager@3171e for BaseClassLoader@107c405{vfsfile:/E:/jboss-5.0.0.CR1/server/default/deploy/ejb3-interceptors-aop.xml}
09:42:18,041 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
09:42:18,482 INFO [MailService] Mail Service bound to java:/Mail
09:42:18,544 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instru
ctions on how to do this.
09:42:19,598 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
09:42:19,598 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
09:42:20,352 INFO [TransactionManagerService] Starting recovery manager
09:42:20,793 INFO [TransactionManagerService] Recovery manager started
09:42:20,808 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
09:42:22,113 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: c:\program files\java\jdk1.6.0_10\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS
;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\ULTRAE~1;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\CVSNT\;C:\Program Files\Java\jdk1.6.0_10\bin
09:42:22,239 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
09:42:22,239 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
09:42:22,255 INFO [Catalina] Initialization processed in 337 ms
09:42:22,255 INFO [StandardService] Starting service jboss.web
09:42:22,255 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.1.CR3
09:42:22,380 INFO [Catalina] Server startup in 127 ms
09:42:22,805 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
09:42:22,820 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
09:42:22,883 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/jms-ra.rar/META-INF/ra.xml
09:42:22,899 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/mail-ra.rar/META-INF/ra.xml
09:42:22,946 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
09:42:23,889 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
09:42:23,968 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
09:42:23,984 INFO [RAMJobStore] RAMJobStore initialized.
09:42:23,984 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
09:42:23,984 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
09:42:23,984 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
09:42:24,565 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
09:42:24,565 INFO [NativeServerConfig] 3.0.2.GA
09:42:27,222 INFO [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war
09:42:28,445 INFO [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sar/web-console.war
09:42:29,165 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
09:42:29,275 INFO [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-management.war
09:42:29,447 INFO [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war
09:42:29,666 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
09:42:31,420 WARN [JDBCPersistenceManager]
JBoss Messaging Warning: DataSource connection transaction isolation should be READ_COMMITTED, but it is currently REPEATABLE_READ.
Using an isolation level less strict than READ_COMMITTED may lead to data consistency problems.
Using an isolation level more strict than READ_COMMITTED may lead to deadlock.
09:42:31,749 WARN [QuartzTimerServiceFactory] sql failed: CREATE TABLE QRTZ_JOB_DETAILS(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME VARCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VA
RCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAME,JOB_GROUP))
09:42:31,827 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
09:42:31,827 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
09:42:31,843 INFO [JobStoreCMT] Using db table-based data access locking (synchronization).
09:42:31,858 INFO [JobStoreCMT] Removed 0 Volatile Trigger(s).
09:42:31,858 INFO [JobStoreCMT] Removed 0 Volatile Job(s).
09:42:31,858 INFO [JobStoreCMT] JobStoreCMT initialized.
09:42:31,858 INFO [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized from an externally provided properties instance.
09:42:31,858 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
09:42:31,858 INFO [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state.
09:42:31,858 INFO [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shut-down.
09:42:31,858 INFO [JobStoreCMT] Recovery complete.
09:42:31,874 INFO [JobStoreCMT] Removed 0 'complete' triggers.
09:42:31,874 INFO [JobStoreCMT] Removed 0 stale fired job entries.
09:42:31,874 INFO [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started.
09:42:32,312 INFO [ServerPeer] JBoss Messaging 1.4.1.CR1 server [0] started
09:42:32,516 WARN [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
09:42:32,516 WARN [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
09:42:32,673 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
09:42:32,673 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@a852b started
09:42:32,688 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
09:42:32,688 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1edf48d started
09:42:32,688 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
09:42:32,688 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@104f3a5 started
09:42:32,704 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
09:42:32,720 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
09:42:32,720 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
09:42:33,565 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
09:42:33,597 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
09:42:33,612 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.CR1 (build: SVNTag=JBoss_5_0_0_CR1 date=200806301254)] Started in 1m:51s:733ms
09:43:20,528 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,185 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,248 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,342 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,405 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,483 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,577 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,749 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,843 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,078 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,172 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,266 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,344 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,391 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,470 INFO [JBossASKernel] Created KernelDeployment for: GraphicServer.jar
09:43:22,485 INFO [JBossASKernel] installing bean: persistence.units:ear=GraphicServer.jar.ear,jar=GraphicServer.jar,unitName=GraphicServerPU
09:43:22,485 INFO [JBossASKernel] with dependencies:
09:43:22,485 INFO [JBossASKernel] and demands:
09:43:22,501 INFO [JBossASKernel] jboss.jca:name=DefaultDS,service=DataSourceBinding
09:43:22,501 INFO [JBossASKernel] and supplies:
09:43:22,501 INFO [JBossASKernel] persistence.units:unitName=GraphicServerPU
09:43:22,501 INFO [JBossASKernel] Added bean(persistence.units:ear=GraphicServer.jar.ear,jar=GraphicServer.jar,unitName=GraphicServerPU) to KernelDeployment of: GraphicServer.jar
09:43:22,517 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/GraphicServer.jar state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error deploying GraphicServer.jar: <injection-target> could not be found: com.le.graphicsServer.domain.AnimationBean.GraphicServerPU
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:192)
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:95)
at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:672)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
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.lang.RuntimeException: <injection-target> could not be found: com.le.graphicsServer.domain.AnimationBean.GraphicServerPU
at org.jboss.injection.InjectionUtil.findInjectionTarget(InjectionUtil.java:225)
at org.jboss.injection.InjectionUtil.injectionTarget(InjectionUtil.java:301)
at org.jboss.injection.PersistenceContextHandler.loadXml(PersistenceContextHandler.java:64)
at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:561)
at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:392)
at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:505)
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:185)
... 26 more
09:43:22,532 WARN [HDScanner] Failed to process changes
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** CONTEXTS IN ERROR: Name -> Error
vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/GraphicServer.jar -> java.lang.RuntimeException: <injection-target> could not be found: com.le.graphicsServer.domain.AnimationBean.GraphicServerPU
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:676)
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:661)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:291)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
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)
Here is the code for ApplicationBean.java
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.le.graphicsServer.domain;
import com.le.graphicsServer.persistence.Animation;
import com.le.graphicsServer.persistence.Login;
import com.le.graphicsServer.persistence.Plain;
import com.le.graphicsServer.persistence.PlainElements;
import com.le.graphicsServer.util.Constants;
import com.le.graphicsServer.util.Constants.Animation_Constants;
import com.le.graphicsServer.util.Constants.Error_Message;
import com.le.graphicsServer.util.Constants.Login_Constants;
import com.le.graphicsServer.util.Constants.Response;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityExistsException;
import javax.persistence.EntityManager;
import javax.persistence.NoResultException;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
import org.apache.log4j.Logger;
/**
*
* @author mayank.mittal
*/
@Stateless
public class AnimationBean implements AnimationLocal {
@PersistenceContext(name = "GraphicServerPU")
private EntityManager entityManager;
private static Logger log;
static {
log = Logger.getLogger(AnimationBean.class);
}
//<editor-fold defaultstate="collapsed" desc="Add a new Animation to the database with the name provided">
@Override
public Error_Message addAnimation(Hashtable<Enum, String> htbDetail) {
log.debug("Entered into addAnimation Method::::::::::::::");
Error_Message error_Message = null;
error_Message = Error_Message.Error_Occured;
String strAnimationName = htbDetail.get(Animation_Constants.Animation_Name);
String strUserID = htbDetail.get(Login_Constants.User_ID);
Animation animation = new Animation();
try {
entityManager.createQuery("Select a From Animation a where a.animationName='" + strAnimationName + "'").getSingleResult();
error_Message = Error_Message.Record_Already_Exists;
} catch (NoResultException noResultException) {
log.info("Name not found:::::::::::;;;;;;");
animation.setAnimationName(strAnimationName);
animation.setValidated(0);
animation.setUserID(strUserID);
entityManager.persist(animation);
error_Message = Error_Message.Record_Sucessfully_Added;
} catch (Exception exception) {
log.error("Exception Occured in addAnimation");
error_Message = Error_Message.Error_Occured;
}
log.debug("Exiting with error Status " + error_Message.toString());
return error_Message;
}
//</editor-fold>
//<editor-fold defaultstate="collapsed" desc="Provides Functionality to edit Animation details">
@Override
public Error_Message editAnimation(HashMap<Animation_Constants, Object> mapData) {
Error_Message errorIndex = Error_Message.Error_Occured;
Animation animation = null;
Integer iAnimationID;
String strAnimationName;
try {
iAnimationID = (Integer) mapData.get(Animation_Constants.Animation_ID);
strAnimationName = (String) mapData.get(Animation_Constants.Animation_Name);
if (!(iAnimationID == null)) {
animation = entityManager.find(Animation.class, iAnimationID);
if (!(animation == null)) {
try {
entityManager.createQuery("Select a From Animation a Where a.animationName='" + strAnimationName + "'").getSingleResult();
errorIndex = Error_Message.Record_Already_Exists;
} catch (NoResultException noResultException) {
animation.setAnimationName(strAnimationName);
errorIndex = Error_Message.Record_Sucessfully_Added;
}
} else {
errorIndex = Error_Message.Animation_Not_Available;
}
} else {
errorIndex = Error_Message.Invalid_Data_Provided;
}
} catch (Exception exception) {
errorIndex = Error_Message.Error_Occured;
}
return errorIndex;
}
//</editor-fold>
//<editor-fold defaultstate="collapsed" desc="Returns Animation Details" >
@Override
public Hashtable<Enum, Object> getAnimationDetailsByAnimationID(Integer iAnimationID) {
Hashtable<Enum, Object> htbResponse = null;
List plains = null;
List lstPlainElements = null;
Query query = null;
Integer iPlainCount = null;
Integer iIFrameCount = 0;
Integer iButtonCount = 0;
Integer iBMPCount = 0;
Animation animation = null;
htbResponse = new Hashtable<Enum, Object>();
try {
if (iAnimationID == null) {
htbResponse.put(Constants.Response.Error_Index, Error_Message.Invalid_Data_Provided);
return htbResponse;
}
} catch (Exception e) {
htbResponse.put(Constants.Response.Error_Index, Error_Message.Invalid_Data_Provided);
return htbResponse;
}
animation = entityManager.find(Animation.class, iAnimationID);
plains = (List) animation.getPlains();
if (plains.isEmpty() == true) {
htbResponse.put(Constants.Response.Error_Index, Error_Message.No_Plain_Found);
return htbResponse;
}
iPlainCount = plains.size(); // Total No. of Plains in Animation
for (Plain plain : plains) {
query = entityManager.createQuery("Select p from PlainElement as p where p.plainID = " + plain.getPlainID().intValue());
lstPlainElements = query.getResultList();
for (PlainElements plainElements : lstPlainElements) {
switch (plainElements.getElementType()) {
case 0x80:
iButtonCount++;
break;
case 0x86:
iIFrameCount++;
break;
case 0x82:
iBMPCount++;
break;
}
}
}
htbResponse.put(Constants.Animation_Constants.Plain_Count, iPlainCount);
htbResponse.put(Constants.Animation_Constants.IFrame_Count, iIFrameCount);
htbResponse.put(Constants.Animation_Constants.BMP_Count, iBMPCount);
htbResponse.put(Constants.Animation_Constants.Button_Count, iButtonCount);
htbResponse.put(Constants.Animation_Constants.Animation_ID, iAnimationID);
htbResponse.put(Constants.Response.Error_Index, Constants.Error_Message.Error_Occured);
return htbResponse;
}
//</editor-fold>
@Override
public Hashtable<Enum, Object> getAnimationDetailsByLoginID(String userID) {
log.info("Enter into getAnimationDetailsByLoginID::::::::::::");
Error_Message errorIndex = Error_Message.Error_Occured;
Hashtable<Animation_Constants, Integer> htbCount = null;
Hashtable<Enum, Object> htbResponse = new Hashtable<Enum, Object>();
Hashtable<String, Hashtable<Animation_Constants, Integer>> htbDetail = new Hashtable<String, Hashtable<Animation_Constants, Integer>>();
List lstplains = null;
List lstPlainElements = null;
List lstAnimation = null;
Query query = null;
Integer iAnimationID = null;
try {
if (!(userID == null)) {
Login login = entityManager.find(Login.class, userID);
int iPermission = login.getPermission();
if (iPermission == 0) {
lstAnimation = entityManager.createQuery("Select a From Animation a").getResultList();
} else {
lstAnimation = entityManager.createQuery("Select a From Animation a Where a.userID='" + userID + "'").getResultList();
}
Integer ianimationcount = 0;
if (!(lstAnimation.isEmpty())) {
ianimationcount = lstAnimation.size();
log.debug("animation count::::::::::::" + ianimationcount);
for (Animation animation : lstAnimation) {
Integer iPlainCount = 0;
Integer iIFrameCount = 0;
Integer iButtonCount = 0;
Integer iBMPCount = 0;
Integer iVDOCount = 0;
lstplains = (List) animation.getPlains();
htbCount = new Hashtable<Animation_Constants, Integer>();
iPlainCount = lstplains.size(); // Total No. of Plains in Animation
log.debug("plain count::::::::::::" + iPlainCount);
for (Plain plain : lstplains) {
query = entityManager.createQuery("Select p from PlainElements as p where p.plainID = " + plain.getPlainID().intValue());
lstPlainElements = query.getResultList();
for (PlainElements plainElements : lstPlainElements) {
switch (plainElements.getElementType()) {
case 0x80:
iButtonCount++;
break;
case 0x86:
iIFrameCount++;
break;
case 0x82:
iBMPCount++;
break;
case 0x85:
iVDOCount++;
break;
}
}
}
htbCount.put(Constants.Animation_Constants.Plain_Count, iPlainCount);
htbCount.put(Constants.Animation_Constants.IFrame_Count, iIFrameCount);
htbCount.put(Constants.Animation_Constants.BMP_Count, iBMPCount);
log.debug("animation.getAnimationID()::::::::::::" + animation.getAnimationID());
htbCount.put(Constants.Animation_Constants.Button_Count, iButtonCount);
htbCount.put(Constants.Animation_Constants.Video_Count, iVDOCount);
htbCount.put(Constants.Animation_Constants.Animation_ID, animation.getAnimationID());
htbDetail.put(animation.getAnimationName(), htbCount);
}
htbResponse.put(Response.Data, htbDetail);
errorIndex = Error_Message.No_Error;
} else {
errorIndex = Error_Message.Animation_Not_Available;
}
} else {
errorIndex = Error_Message.Invalid_Data_Provided;
}
} catch (Exception e) {
log.error("Exception in getAnimationDetailsByLoginID::::::::::::");
e.printStackTrace();
}
htbResponse.put(Error_Message.ERROR_INDEX, errorIndex);
log.info("Exit from getAnimationDetailsByLoginID::::::::::::" + htbResponse);
return htbResponse;
}
}
Application.java (Entity Bean)
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.le.graphicsServer.persistence;
import java.io.Serializable;
import java.util.Collection;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;
/**
*
* @author rahul.nikhra
*/
@Entity
public class Animation implements Serializable {
private static final long serialVersionUID = 1L;
private Integer animationID;
private String animationName;
private Integer validated;
private String userID;
public Collection < Plain > collPlain;
public Collection < Button > collbuttons;
@Id
@GeneratedValue
public Integer getAnimationID() {
return animationID;
}
public void setAnimationID(Integer animationID) {
this.animationID = animationID;
}
public String getUserID() {
return userID;
}
public void setUserID(String userID) {
this.userID = userID;
}
public String getAnimationName() {
return animationName;
}
public void setAnimationName(String animationName) {
this.animationName = animationName;
}
public Integer getValidated() {
return validated;
}
public void setValidated(Integer validated) {
this.validated = validated;
}
/////////////////////////////////////////////////////////////////////////////////
@OneToMany
@JoinColumn(name = "animationID")
public Collection < Plain > getPlains() {
return collPlain;
}
public void setPlains(Collection< Plain > collPlain) {
this.collPlain = collPlain;
}
@OneToMany(mappedBy = "linkID")
public Collection < Button > getButtons() {
return collbuttons;
}
public void setButtons(Collection < Button > buttons) {
this.collbuttons = buttons;
}
/////////////////////////////////////////////////////////////////////////////////
@Override
public int hashCode() {
int hash = 0;
hash += (animationID != null ? animationID.hashCode() : 0);
return hash;
}
@Override
public boolean equals(Object object) {
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof Animation)) {
return false;
}
Animation other = (Animation) object;
if ((this.animationID == null && other.animationID != null) || (this.animationID != null && !this.animationID.equals(other.animationID))) {
return false;
}
return true;
}
@Override
public String toString() {
return "Persistence.Animation[animationID=" + animationID + "]";
}
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179474#4179474
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179474
17 years, 6 months
[Installation, Configuration & DEPLOYMENT] - Re: Configuring JBoss 5.0.0 CR1 for MySQL
by mayankmit2002
Hi Peter,
i'm posting the complete stack trace for deployment of EJB jar.
==========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: E:\jboss-5.0.0.CR1
JAVA: c:\program files\java\jdk1.6.0_10\bin\java
JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
CLASSPATH: E:\jboss-5.0.0.CR1\bin\run.jar
===============================================================================
09:40:41,863 INFO [ServerImpl] Starting JBoss (Microcontainer)...
09:40:41,863 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.CR1 (build: SVNTag=JBoss_5_0_0_CR1 date=200806301254)
09:40:41,879 INFO [ServerImpl] Home Dir: E:\jboss-5.0.0.CR1
09:40:41,879 INFO [ServerImpl] Home URL: file:/E:/jboss-5.0.0.CR1/
09:40:41,879 INFO [ServerImpl] Library URL: file:/E:/jboss-5.0.0.CR1/lib/
09:40:41,879 INFO [ServerImpl] Patch URL: null
09:40:41,879 INFO [ServerImpl] Server Name: default
09:40:41,879 INFO [ServerImpl] Server Home Dir: E:\jboss-5.0.0.CR1\server\default
09:40:41,879 INFO [ServerImpl] Server Home URL: file:/E:/jboss-5.0.0.CR1/server/default/
09:40:41,879 INFO [ServerImpl] Server Data Dir: E:\jboss-5.0.0.CR1\server\default\data
09:40:41,879 INFO [ServerImpl] Server Temp Dir: E:\jboss-5.0.0.CR1\server\default\tmp
09:40:41,879 INFO [ServerImpl] Server Config URL: file:/E:/jboss-5.0.0.CR1/server/default/conf/
09:40:41,879 INFO [ServerImpl] Server Library URL: file:/E:/jboss-5.0.0.CR1/server/default/lib/
09:40:41,879 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml
09:40:42,854 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/E:/jboss-5.0.0.CR1/server/default/conf/bootstrap.xml
09:40:44,127 INFO [CopyMechanism] VFS temp dir: E:\jboss-5.0.0.CR1\server\default\tmp
09:40:44,127 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
09:40:48,953 INFO [ServerInfo] Java version: 1.6.0_10-beta,Sun Microsystems Inc.
09:40:48,953 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 11.0-b11,Sun Microsystems Inc.
09:40:48,953 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
09:40:49,173 INFO [JMXKernel] Legacy JMX core initialized
09:40:51,516 INFO [MetaDataAwareProfile] Using profile root:E:\jboss-5.0.0.CR1\server\default
09:40:56,106 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
09:41:14,153 WARN [HackClassloaderMetaDataDeployer] FIXME Using loader repository config: jboss.console:sar=console-mgr.sar for vfsfile:/E:/jboss-5.0.0.CR1/server/default/deploy/management/console-mgr.sar/ use classloading metadata not loader repository config
09:41:15,395 INFO [AspectDeployer] Deploying xml into org.jboss.aop.AspectManager@3171e for BaseClassLoader@107c405{vfsfile:/E:/jboss-5.0.0.CR1/server/default/deploy/ejb3-interceptors-aop.xml}
09:42:18,041 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
09:42:18,482 INFO [MailService] Mail Service bound to java:/Mail
09:42:18,544 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instru
ctions on how to do this.
09:42:19,598 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
09:42:19,598 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
09:42:20,352 INFO [TransactionManagerService] Starting recovery manager
09:42:20,793 INFO [TransactionManagerService] Recovery manager started
09:42:20,808 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
09:42:22,113 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: c:\program files\java\jdk1.6.0_10\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS
;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\ULTRAE~1;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\CVSNT\;C:\Program Files\Java\jdk1.6.0_10\bin
09:42:22,239 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
09:42:22,239 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
09:42:22,255 INFO [Catalina] Initialization processed in 337 ms
09:42:22,255 INFO [StandardService] Starting service jboss.web
09:42:22,255 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.1.CR3
09:42:22,380 INFO [Catalina] Server startup in 127 ms
09:42:22,805 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
09:42:22,820 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
09:42:22,883 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/jms-ra.rar/META-INF/ra.xml
09:42:22,899 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/mail-ra.rar/META-INF/ra.xml
09:42:22,946 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
09:42:23,889 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
09:42:23,968 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
09:42:23,984 INFO [RAMJobStore] RAMJobStore initialized.
09:42:23,984 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
09:42:23,984 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
09:42:23,984 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
09:42:24,565 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
09:42:24,565 INFO [NativeServerConfig] 3.0.2.GA
09:42:27,222 INFO [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war
09:42:28,445 INFO [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sar/web-console.war
09:42:29,165 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
09:42:29,275 INFO [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-management.war
09:42:29,447 INFO [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war
09:42:29,666 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
09:42:31,420 WARN [JDBCPersistenceManager]
JBoss Messaging Warning: DataSource connection transaction isolation should be READ_COMMITTED, but it is currently REPEATABLE_READ.
Using an isolation level less strict than READ_COMMITTED may lead to data consistency problems.
Using an isolation level more strict than READ_COMMITTED may lead to deadlock.
09:42:31,749 WARN [QuartzTimerServiceFactory] sql failed: CREATE TABLE QRTZ_JOB_DETAILS(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME VARCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VA
RCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAME,JOB_GROUP))
09:42:31,827 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
09:42:31,827 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
09:42:31,843 INFO [JobStoreCMT] Using db table-based data access locking (synchronization).
09:42:31,858 INFO [JobStoreCMT] Removed 0 Volatile Trigger(s).
09:42:31,858 INFO [JobStoreCMT] Removed 0 Volatile Job(s).
09:42:31,858 INFO [JobStoreCMT] JobStoreCMT initialized.
09:42:31,858 INFO [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized from an externally provided properties instance.
09:42:31,858 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
09:42:31,858 INFO [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state.
09:42:31,858 INFO [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shut-down.
09:42:31,858 INFO [JobStoreCMT] Recovery complete.
09:42:31,874 INFO [JobStoreCMT] Removed 0 'complete' triggers.
09:42:31,874 INFO [JobStoreCMT] Removed 0 stale fired job entries.
09:42:31,874 INFO [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started.
09:42:32,312 INFO [ServerPeer] JBoss Messaging 1.4.1.CR1 server [0] started
09:42:32,516 WARN [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
09:42:32,516 WARN [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
09:42:32,673 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
09:42:32,673 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@a852b started
09:42:32,688 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
09:42:32,688 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1edf48d started
09:42:32,688 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
09:42:32,688 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@104f3a5 started
09:42:32,704 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
09:42:32,720 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
09:42:32,720 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
09:42:33,565 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
09:42:33,597 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
09:42:33,612 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.CR1 (build: SVNTag=JBoss_5_0_0_CR1 date=200806301254)] Started in 1m:51s:733ms
09:43:20,528 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,185 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,248 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,342 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,405 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,483 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,577 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,749 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:21,843 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,078 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,172 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,266 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,344 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,391 INFO [STDOUT] ======> Creating interceptor metadata bridge
09:43:22,470 INFO [JBossASKernel] Created KernelDeployment for: GraphicServer.jar
09:43:22,485 INFO [JBossASKernel] installing bean: persistence.units:ear=GraphicServer.jar.ear,jar=GraphicServer.jar,unitName=GraphicServerPU
09:43:22,485 INFO [JBossASKernel] with dependencies:
09:43:22,485 INFO [JBossASKernel] and demands:
09:43:22,501 INFO [JBossASKernel] jboss.jca:name=DefaultDS,service=DataSourceBinding
09:43:22,501 INFO [JBossASKernel] and supplies:
09:43:22,501 INFO [JBossASKernel] persistence.units:unitName=GraphicServerPU
09:43:22,501 INFO [JBossASKernel] Added bean(persistence.units:ear=GraphicServer.jar.ear,jar=GraphicServer.jar,unitName=GraphicServerPU) to KernelDeployment of: GraphicServer.jar
09:43:22,517 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/GraphicServer.jar state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error deploying GraphicServer.jar: <injection-target> could not be found: com.le.graphicsServer.domain.AnimationBean.GraphicServerPU
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:192)
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:95)
at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:672)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
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.lang.RuntimeException: <injection-target> could not be found: com.le.graphicsServer.domain.AnimationBean.GraphicServerPU
at org.jboss.injection.InjectionUtil.findInjectionTarget(InjectionUtil.java:225)
at org.jboss.injection.InjectionUtil.injectionTarget(InjectionUtil.java:301)
at org.jboss.injection.PersistenceContextHandler.loadXml(PersistenceContextHandler.java:64)
at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:561)
at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:392)
at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:505)
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:185)
... 26 more
09:43:22,532 WARN [HDScanner] Failed to process changes
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** CONTEXTS IN ERROR: Name -> Error
vfszip:/E:/jboss-5.0.0.CR1/server/default/deploy/GraphicServer.jar -> java.lang.RuntimeException: <injection-target> could not be found: com.le.graphicsServer.domain.AnimationBean.GraphicServerPU
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:676)
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:661)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:291)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
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)
Here is the code for ApplicationBean.java
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.le.graphicsServer.domain;
import com.le.graphicsServer.persistence.Animation;
import com.le.graphicsServer.persistence.Login;
import com.le.graphicsServer.persistence.Plain;
import com.le.graphicsServer.persistence.PlainElements;
import com.le.graphicsServer.util.Constants;
import com.le.graphicsServer.util.Constants.Animation_Constants;
import com.le.graphicsServer.util.Constants.Error_Message;
import com.le.graphicsServer.util.Constants.Login_Constants;
import com.le.graphicsServer.util.Constants.Response;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityExistsException;
import javax.persistence.EntityManager;
import javax.persistence.NoResultException;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
import org.apache.log4j.Logger;
/**
*
* @author mayank.mittal
*/
@Stateless
public class AnimationBean implements AnimationLocal {
@PersistenceContext(name = "GraphicServerPU")
private EntityManager entityManager;
private static Logger log;
static {
log = Logger.getLogger(AnimationBean.class);
}
//<editor-fold defaultstate="collapsed" desc="Add a new Animation to the database with the name provided">
@Override
public Error_Message addAnimation(Hashtable<Enum, String> htbDetail) {
log.debug("Entered into addAnimation Method::::::::::::::");
Error_Message error_Message = null;
error_Message = Error_Message.Error_Occured;
String strAnimationName = htbDetail.get(Animation_Constants.Animation_Name);
String strUserID = htbDetail.get(Login_Constants.User_ID);
Animation animation = new Animation();
try {
entityManager.createQuery("Select a From Animation a where a.animationName='" + strAnimationName + "'").getSingleResult();
error_Message = Error_Message.Record_Already_Exists;
} catch (NoResultException noResultException) {
log.info("Name not found:::::::::::;;;;;;");
animation.setAnimationName(strAnimationName);
animation.setValidated(0);
animation.setUserID(strUserID);
entityManager.persist(animation);
error_Message = Error_Message.Record_Sucessfully_Added;
} catch (Exception exception) {
log.error("Exception Occured in addAnimation");
error_Message = Error_Message.Error_Occured;
}
log.debug("Exiting with error Status " + error_Message.toString());
return error_Message;
}
//</editor-fold>
//<editor-fold defaultstate="collapsed" desc="Provides Functionality to edit Animation details">
@Override
public Error_Message editAnimation(HashMap<Animation_Constants, Object> mapData) {
Error_Message errorIndex = Error_Message.Error_Occured;
Animation animation = null;
Integer iAnimationID;
String strAnimationName;
try {
iAnimationID = (Integer) mapData.get(Animation_Constants.Animation_ID);
strAnimationName = (String) mapData.get(Animation_Constants.Animation_Name);
if (!(iAnimationID == null)) {
animation = entityManager.find(Animation.class, iAnimationID);
if (!(animation == null)) {
try {
entityManager.createQuery("Select a From Animation a Where a.animationName='" + strAnimationName + "'").getSingleResult();
errorIndex = Error_Message.Record_Already_Exists;
} catch (NoResultException noResultException) {
animation.setAnimationName(strAnimationName);
errorIndex = Error_Message.Record_Sucessfully_Added;
}
} else {
errorIndex = Error_Message.Animation_Not_Available;
}
} else {
errorIndex = Error_Message.Invalid_Data_Provided;
}
} catch (Exception exception) {
errorIndex = Error_Message.Error_Occured;
}
return errorIndex;
}
//</editor-fold>
//<editor-fold defaultstate="collapsed" desc="Returns Animation Details" >
@Override
public Hashtable<Enum, Object> getAnimationDetailsByAnimationID(Integer iAnimationID) {
Hashtable<Enum, Object> htbResponse = null;
List plains = null;
List lstPlainElements = null;
Query query = null;
Integer iPlainCount = null;
Integer iIFrameCount = 0;
Integer iButtonCount = 0;
Integer iBMPCount = 0;
Animation animation = null;
htbResponse = new Hashtable<Enum, Object>();
try {
if (iAnimationID == null) {
htbResponse.put(Constants.Response.Error_Index, Error_Message.Invalid_Data_Provided);
return htbResponse;
}
} catch (Exception e) {
htbResponse.put(Constants.Response.Error_Index, Error_Message.Invalid_Data_Provided);
return htbResponse;
}
animation = entityManager.find(Animation.class, iAnimationID);
plains = (List) animation.getPlains();
if (plains.isEmpty() == true) {
htbResponse.put(Constants.Response.Error_Index, Error_Message.No_Plain_Found);
return htbResponse;
}
iPlainCount = plains.size(); // Total No. of Plains in Animation
for (Plain plain : plains) {
query = entityManager.createQuery("Select p from PlainElement as p where p.plainID = " + plain.getPlainID().intValue());
lstPlainElements = query.getResultList();
for (PlainElements plainElements : lstPlainElements) {
switch (plainElements.getElementType()) {
case 0x80:
iButtonCount++;
break;
case 0x86:
iIFrameCount++;
break;
case 0x82:
iBMPCount++;
break;
}
}
}
htbResponse.put(Constants.Animation_Constants.Plain_Count, iPlainCount);
htbResponse.put(Constants.Animation_Constants.IFrame_Count, iIFrameCount);
htbResponse.put(Constants.Animation_Constants.BMP_Count, iBMPCount);
htbResponse.put(Constants.Animation_Constants.Button_Count, iButtonCount);
htbResponse.put(Constants.Animation_Constants.Animation_ID, iAnimationID);
htbResponse.put(Constants.Response.Error_Index, Constants.Error_Message.Error_Occured);
return htbResponse;
}
//</editor-fold>
@Override
public Hashtable<Enum, Object> getAnimationDetailsByLoginID(String userID) {
log.info("Enter into getAnimationDetailsByLoginID::::::::::::");
Error_Message errorIndex = Error_Message.Error_Occured;
Hashtable<Animation_Constants, Integer> htbCount = null;
Hashtable<Enum, Object> htbResponse = new Hashtable<Enum, Object>();
Hashtable<String, Hashtable<Animation_Constants, Integer>> htbDetail = new Hashtable<String, Hashtable<Animation_Constants, Integer>>();
List lstplains = null;
List lstPlainElements = null;
List lstAnimation = null;
Query query = null;
Integer iAnimationID = null;
try {
if (!(userID == null)) {
Login login = entityManager.find(Login.class, userID);
int iPermission = login.getPermission();
if (iPermission == 0) {
lstAnimation = entityManager.createQuery("Select a From Animation a").getResultList();
} else {
lstAnimation = entityManager.createQuery("Select a From Animation a Where a.userID='" + userID + "'").getResultList();
}
Integer ianimationcount = 0;
if (!(lstAnimation.isEmpty())) {
ianimationcount = lstAnimation.size();
log.debug("animation count::::::::::::" + ianimationcount);
for (Animation animation : lstAnimation) {
Integer iPlainCount = 0;
Integer iIFrameCount = 0;
Integer iButtonCount = 0;
Integer iBMPCount = 0;
Integer iVDOCount = 0;
lstplains = (List) animation.getPlains();
htbCount = new Hashtable<Animation_Constants, Integer>();
iPlainCount = lstplains.size(); // Total No. of Plains in Animation
log.debug("plain count::::::::::::" + iPlainCount);
for (Plain plain : lstplains) {
query = entityManager.createQuery("Select p from PlainElements as p where p.plainID = " + plain.getPlainID().intValue());
lstPlainElements = query.getResultList();
for (PlainElements plainElements : lstPlainElements) {
switch (plainElements.getElementType()) {
case 0x80:
iButtonCount++;
break;
case 0x86:
iIFrameCount++;
break;
case 0x82:
iBMPCount++;
break;
case 0x85:
iVDOCount++;
break;
}
}
}
htbCount.put(Constants.Animation_Constants.Plain_Count, iPlainCount);
htbCount.put(Constants.Animation_Constants.IFrame_Count, iIFrameCount);
htbCount.put(Constants.Animation_Constants.BMP_Count, iBMPCount);
log.debug("animation.getAnimationID()::::::::::::" + animation.getAnimationID());
htbCount.put(Constants.Animation_Constants.Button_Count, iButtonCount);
htbCount.put(Constants.Animation_Constants.Video_Count, iVDOCount);
htbCount.put(Constants.Animation_Constants.Animation_ID, animation.getAnimationID());
htbDetail.put(animation.getAnimationName(), htbCount);
}
htbResponse.put(Response.Data, htbDetail);
errorIndex = Error_Message.No_Error;
} else {
errorIndex = Error_Message.Animation_Not_Available;
}
} else {
errorIndex = Error_Message.Invalid_Data_Provided;
}
} catch (Exception e) {
log.error("Exception in getAnimationDetailsByLoginID::::::::::::");
e.printStackTrace();
}
htbResponse.put(Error_Message.ERROR_INDEX, errorIndex);
log.info("Exit from getAnimationDetailsByLoginID::::::::::::" + htbResponse);
return htbResponse;
}
}
Application.java (Entity Bean)
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.le.graphicsServer.persistence;
import java.io.Serializable;
import java.util.Collection;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;
/**
*
* @author rahul.nikhra
*/
@Entity
public class Animation implements Serializable {
private static final long serialVersionUID = 1L;
private Integer animationID;
private String animationName;
private Integer validated;
private String userID;
public Collection < Plain > collPlain;
public Collection < Button > collbuttons;
@Id
@GeneratedValue
public Integer getAnimationID() {
return animationID;
}
public void setAnimationID(Integer animationID) {
this.animationID = animationID;
}
public String getUserID() {
return userID;
}
public void setUserID(String userID) {
this.userID = userID;
}
public String getAnimationName() {
return animationName;
}
public void setAnimationName(String animationName) {
this.animationName = animationName;
}
public Integer getValidated() {
return validated;
}
public void setValidated(Integer validated) {
this.validated = validated;
}
/////////////////////////////////////////////////////////////////////////////////
@OneToMany
@JoinColumn(name = "animationID")
public Collection < Plain > getPlains() {
return collPlain;
}
public void setPlains(Collection< Plain > collPlain) {
this.collPlain = collPlain;
}
@OneToMany(mappedBy = "linkID")
public Collection < Button > getButtons() {
return collbuttons;
}
public void setButtons(Collection < Button > buttons) {
this.collbuttons = buttons;
}
/////////////////////////////////////////////////////////////////////////////////
@Override
public int hashCode() {
int hash = 0;
hash += (animationID != null ? animationID.hashCode() : 0);
return hash;
}
@Override
public boolean equals(Object object) {
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof Animation)) {
return false;
}
Animation other = (Animation) object;
if ((this.animationID == null && other.animationID != null) || (this.animationID != null && !this.animationID.equals(other.animationID))) {
return false;
}
return true;
}
@Override
public String toString() {
return "Persistence.Animation[animationID=" + animationID + "]";
}
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179474#4179474
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179474
17 years, 6 months
[JBossWS] - SOAP calls done with native stack blocked by SmartDefense fi
by maffeis
Hi
I would like to inform you of an issue I encountered while deploying JBoss and JBossWS (native) at a bank. The bank uses the SmartDefense intrusion detection system, and SmartDefense blocks SOAP calls done via the JBossWS native stack because of a "non-compliant HTTP header". The only details we could get from the intrusion detection system is that a header contains non-ascii data (our URLs, headers, payload does not contain any funny characters). Sorry but I have no further details nor dumps.
Of course that could also be a bug in the intrusion detection system, but it was not possible to overcome the issue. So I replaced the native stack by metro and the issue went away.
Not sure whether my input is valuable to the JBossWS team but I felt I should let you know of this issue, as other deployments might be affected as well.
Silvano
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179469#4179469
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179469
17 years, 6 months
[Installation, Configuration & DEPLOYMENT] - mvn Jboss:deploy plugin issue
by gyan_kush
I get a server response as http 500 error code while executing mvn jboss:deploy .
The output of mnv -e is pasted below.Pls advise
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Mojo error occurred: Server returned HTTP response code: 500 for URL: http://209.135.157.212:8080/
jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:service%3DMainDeployer&methodName=deploy&argType=java.net.URL&arg0=file:C:\mysystems-app\c
ollaboration\trunk\mysystems-earapp\target/mysystems-earapp-1.0.ear
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Mojo error occurred: Server returned HTTP response code: 500 for URL: http://209.135.157.212:80
80/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:service%3DMainDeployer&methodName=deploy&argType=java.net.URL&arg0=file:C:\mysystems-ap
p\collaboration\trunk\mysystems-earapp\target/mysystems-earapp-1.0.ear
at org.codehaus.mojo.jboss.AbstractDeployerMojo.doURL(AbstractDeployerMojo.java:101)
at org.codehaus.mojo.jboss.DeployMojo.execute(DeployMojo.java:40)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
... 16 more
Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://209.135.157.212:8080/jmx-console/HtmlAdaptor?action=invokeOpByName
&name=jboss.system:service%3DMainDeployer&methodName=deploy&argType=java.net.URL&arg0=file:C:\mysystems-app\collaboration\trunk\mysystems-earapp\target/my
systems-earapp-1.0.ear
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1241)
at org.codehaus.mojo.jboss.AbstractDeployerMojo.doURL(AbstractDeployerMojo.java:96)
... 19 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179455#4179455
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179455
17 years, 6 months
Re: Custom InvokerInterceptor
by samk@twinix.com
See Thread at: http://www.techienuggets.com/Detail?tx=52347 Posted on behalf of a User
I think you'll want to modify the EJB stack defined in server/all/deploy/ejb3-interceptors-aop.xml.
You can add your custom interceptor or simply remove/comment-out the "IsLocal" interceptor.
For example, if you want to make the change for clustered stateless session beans the applicable section could look like this:
<stack name="ClusteredStatelessSessionClientInterceptors">
<!-- interceptor-ref name="org.jboss.ejb3.remoting.ClusteredIsLocalInterceptor"/ -->
<interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
<interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
<interceptor-ref name="org.jboss.aspects.remoting.ClusterChooserInterceptor"/>
<interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
</stack>
Notice the commented out ClusteredIsLocalInterceptor.
I've been trying to do the exact same thing as you (i.e. cluster ejbs called from within the same JBoss 4.2.3 server). And I just figured this out today. I think it does what I want, but haven't fully "exercised" it in any way. Let me know if this helps.
-Randy
In Response To:
Hi All,
After much reading up, it appears that I need to write a custom InvokerInterceptor to achieve clustering of Session beans in JBoss (I am running on 4.2.3) and I have a couple of questions before I venture down this road (although it is not a lot of code when looking at it)
I have an application that runs entirely in the container, I no external client, the system is implemented in Sessions beans, Entity Beans, JMX MBeans and MDB Beans (it also has a minimal web client built on tapestry 5 for mainly management and configuration tasks), all in EJB3, and is a fairly highly stressed system which has become cpu bound, hence we are looking at gaining a performance increase by clustering.
As the application is fully contained within the container, we have the scenario where clients and session beans run in the same JVM (MDB's and JMX beans act as clients as well as session beans dependent on other session beans) so I predict a large performance increase by being able to load balance our session bean calls between multiple servers, however the limitation of the "optimization" where by the InvokerInterceptor routes calls to local instances only is a big limiting factor and does not allow us to distribute the load, hence looking at implementing a custom InvokerInterceptor.
1. When overriding hasLocalTarget and simply returning false, will the round robin process still send some requests to the "local" session bean instance as well as the "remote" instances in the cluster, or will it send ALL requests to the remote instances / nodes for processing and ignore the local instance all together?
2. If the answer to 1 is "Yes, it will send all requests to remote nodes" under the scenario of simply returning false, is the InvokerInterceptor "statefull". What i mean by this is would something like the following work:
| public class CustomInvokerInterceptor extends InvokerInterceptor {
|
| private boolean _local = false;
|
| public boolean hasLocalTarget() {
| if (_local) {
| _local = false;
| return true;
| } else {
| _local = true;
| return false;
| }
| }
| }
|
such that between calls to hasLocalTarget, the state of _local will be maintained, or will the be a fresh instantiation between invocations and thus always return false? If this is not the case and all calls end up going remote, we would essentially have an under utilised node on the cluster that simply acts as a client to the other nodes (I hate wasted resources :) )
3. Based on the fact that there are a number of threads regarding this issue over some time now, is it still an issue? IE, in 4.2.3 or even 5, do we still need to implement a custom InvokerInterceptor to "de-optimize" JBoss so we can optimize out application, or has it now been made configurable such that we can change a config setting to tell the container that we want a certain behavior or some other way to achieve RoundRobin load balancing? I understand the fact that it is more resource intensive to route a call to a remote node when it could be serviced locally, but that rule doesn't cater very well for the scenario where the local node is 100% CPU stressed and an application has become CPU bound.
Cheers,
Ben
17 years, 6 months
[JCA/JBoss] - Re: Setting up JBoss 4.2.2 so MDBs can subscribe to Topic on
by gortman
We now have the WebLogic topic messages being sent to a secured queue (one of the default queues, queue/A) on our JBoss server. However, we haven't been able to configure our EJB3 MDBs to listen to the local queue. It should be an easy thing but has turned out to be anything but. We are getting a "not bound" exception when JBoss tries to deploy the MDB to listen to queue/A.
Any tips on what the solution might be? Here are the activation configs we are using in our MDB:
@ActivationConfigProperty(propertyName="destinationType",
propertyValue="javax.jms.Queue"),
@ActivationConfigProperty(propertyName="destination",
propertyValue="queue/A"),
@ActivationConfigProperty(propertyName="userName",
propertyValue="uname"),
@ActivationConfigProperty(propertyName="password",
propertyValue="psswd"),
@ActivationConfigProperty(propertyName="providerUrl",
propertyValue="jnp://localhost:1299"),
@ActivationConfigProperty(propertyName="JmsProviderAdapterJNDI",
propertyValue="DefaultJMSProvider")
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179440#4179440
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179440
17 years, 6 months
[JBossMQ] - problem while Getting reply message... in Request / reply pa
by rahb
I am using JMS Request / Reply pattern, I can send message to the consumer...consumer process it and again sends back to the producer...
but withhen that I get the following error message....Tell me where it could be the wrong...
15:15:58,640 WARN [loggerI18N] [com.arjuna.ats.internal.jta.resources.arjunacore.preparefailed] [com.arjuna.ats.internal.jta.resources.arjunacore.preparefailed] XAResourceRecord.prepare - prepare failed with exception XAException.XAER_RMERR
15:15:58,640 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_50] - Prepare phase of action a010668:e33:48e128e4:a4 received heuristic decision: TwoPhaseOutcome.HEURISTIC_HAZARD
15:15:58,640 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_36] - BasicAction.End() - prepare phase of action-id a010668:e33:48e128e4:a4 failed.
15:15:58,640 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_37] - Received heuristic: TwoPhaseOutcome.HEURISTIC_HAZARD .
15:15:58,640 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_38] - Action Aborting
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179438#4179438
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179438
17 years, 6 months
[JBoss Portal] - Re: change portlet titlebar style
by PeterJ
The title bar is created in:
org.jboss.portal.theme.impl.render.div.DivDecorationRenderer.render()
which calls
org.jboss.portal.theme.impl.render.div.DivDecorationRenderer.renderTriggerableActions()
which in turn places an icon for every valid action. The valid actions are maintained by the class
org.jboss.portal.theme.page.WindowContext
which in turn is initialized by this statement in the *-object.xml file:
<supported-window-states>
| <window-state>normal</window-state>
| <window-state>minimized</window-state>
| <window-state>maximized</window-state>
| </supported-window-states>
So the first step would appear to be adding to the supported states, and updating the css to reference the icons (example: the "help" state creates an anchor with class "portlet-mode-help", and in the css this class references image images/help.gif ).
If you look at the code I mentioned, you will notice that the states are divided into "mode" and "windowstate" states. I have not dug deep enough to determine how to get a new state mapped to one of these.
Hopefully this will get you far enough to at least know where to look.
Disclaimer: I have not tried this so I do not know if it will even work.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179434#4179434
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179434
17 years, 6 months
[JBoss Tools (users)] - 3.0.0 alpha, and seam tutorial problem
by jjfraney
I don't know the root of the problem, may not be jboss tool, but its a place to start.
I run the tutorial at http://docs.jboss.com/seam/latest/reference/en-US/html/gettingstartedwith....
I finish the 'add action' section. There are two failures at this point. I'm not sure what these mean. I'm not expecting these kinds of errors in a tutorial. The tutorial hasn't given enough information, I think, to figgure out how to proceed.
1) clicking the 'ping!' button in the web view causes a null pointer exception (like the injection of log and facesMessages did not happen). Seam gives me the error page.
Here is the relevant part of stack trace (I left off ejb transaction rollback stack traces, but if you want to see them, I'll post 'em)
org.domain.seamhello.session.PingBean.ping(PingBean.java:21)
| sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| java.lang.reflect.Method.invoke(Method.java:597)
| org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
| org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
| org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
|
2) The testng unit test fails for the ping method. A little red x appears next to the test named: 'org.domain.seamhello.test.PingTest.init' and the following shows up in the 'Failure Exception' window:
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
|
| *** CONTEXTS IN ERROR: Name -> Error
|
| SARDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;
|
| ServiceDeploymentDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;
|
| ServiceClassLoaderDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;
|
| BeanDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;
|
| ServiceDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;
|
| BeanMetaDataDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;
|
| KernelDeploymentDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;
|
|
| at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:576)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:559)
| at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:149)
| at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:183)
| at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:195)
| at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:11)
| at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1041)
| at org.jboss.seam.mock.BaseSeamTest.startSeam(BaseSeamTest.java:935)
| at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:923)
| at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
| 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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
| at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:398)
| at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:145)
| at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:82)
| at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:167)
| at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
| at org.testng.TestRunner.runWorkers(TestRunner.java:712)
| at org.testng.TestRunner.privateRun(TestRunner.java:582)
| at org.testng.TestRunner.run(TestRunner.java:477)
| at org.testng.SuiteRunner.runTest(SuiteRunner.java:324)
| at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319)
| at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292)
| at org.testng.SuiteRunner.run(SuiteRunner.java:198)
| at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:823)
| at org.testng.TestNG.runSuitesLocally(TestNG.java:790)
| at org.testng.TestNG.run(TestNG.java:708)
| at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:73)
| at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:124)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179432#4179432
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179432
17 years, 6 months
[Beginners Corner] - Re: PermGen space
by PeterJ
In a typical application, the permgen will grow to a certain size and then stay at that size for the rest of the app run. Some of the reasons that the pergen size will increase are:
* Deploying a new application
* Redeploying an application
* Accessing new functionality within an application
If you find that you are redeploying applications often, then you will need to periodically restart the app server.
The JVM will remove unneeded class definitions from the permgen during a garbage collection, but sometimes classes in an old version of an application still hang around even after a new version has been deployed, hence the increase in permgen size.
If you are not redeploying applications, then you need to monitor the permgen size (use JConsole or a similar tool) and when you see a permgen increase you need to figure out what was going on at that time.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179429#4179429
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179429
17 years, 6 months
[JCA/JBoss] - Re: Problems changing DefaultDS
by PeterJ
Someone set up this wiki page to describe the steps to convert DefaultDS to use MySQL:
http://wiki.jboss.org/wiki/SetUpMysqlAsDefaultDS
The steps for Oracle should be the same, though the details will change. (I haven't reviewed those steps in detail, and lately all of my work has been done with 5.0 where the steps to replace hsqldb with another database are somewhat different. In addition, I work with MySQL and PostgreSQL.)
Essentially, the steps you outlined are correct. The catch is the DDL statements used by the various services. The wiki page you referenced details getting the messaging service DDL statements converted. But there are also tables for timers, hi-lo sequence tables, and transactions - you have run into issues with the first two, and looking at the last one I don't think that will be a problem. The issue is, of course, that different databases do not accept the same data types. But once you have corrected all of the tables, then you are done.
By the way, one way to view all of the tables is to use the hsqldb-ds.xml file, and start and then stop the app server. The tables can be view in the file server/xxx/data/hypersonic/localDB.script.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179428#4179428
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179428
17 years, 6 months
Delivery Status Notification (Failure)
by postmaster@lists.jboss.org
This is an automatically generated Delivery Status Notification.
Delivery to the following recipients failed.
buhg@localhost
17 years, 6 months
[JBossMQ] - Re: JBossMQ HA configuration
by venukb
I was hoping very much on the working of selectors in a cluster (In fact I read the same point on the JBM wiki this morning :) )
It was one reason of wanting to have a JBoss MQ in HA (Not sure if the selector behavior is same in MQ as well)
There are some notifications which flow in from a external entity into the enterprise tier and this needs to pushed into the web tier so that its pushed again to the browser (using DWR/cometd).
I was relying on the fact that the web tier could listen based on some selector say (login ID) and we apply that selector on these external notifications so that is picked up by the node where he has logged in.
I was under the assumption that clustered destinations are not bound to any server and expected it to be picked by the right consumer
Guess need to find an alternate way to solve this :)
Also just to be clear, Round Robin and Sucker works only on "Clustered" destinations right ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179425#4179425
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179425
17 years, 6 months
[JBossMQ] - Re: Problems changing DefaultDS
by drathnow
Jay,
This whole thing started because of something I read from the WIKI that specifically targeted JBossMQ. After I tried to solve the problem, it looked like it went beyond JBossMQ, hence my post to the JCA forum. Somebody there suggested I post here.
Since you are obviously aware that I posted in JCA, perhaps you might go and actually read the post and the responses I got.
I have not removed my DefaultDS. All I did was change it from HSQL to Oracle as was documented in the WIKI. I did find the file you pointed out and fixed that problem but then something else broke.
I'm not the first person who has run into this. I've found other posts with similar problem but nobody responded.
Thanks for you help,
Dave
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179421#4179421
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179421
17 years, 6 months
[JBossMQ] - Re: Problems changing DefaultDS
by jhowell@redhat.com
This is not an MQ problem. This is a problem in the UUID generator for EJBs.(hence the org.jboss.ejb.plugins....). Please don't cross post issues into forums, until you have gotten an answer from the other. This is not a JCA issue and it's not an MQ issue. It's an EJB issue. Can you please close out your other JCA post, so someone doesn't look up the answer on the other forum.
The problem that you are facing is probably in your server/default/deploy/uuid-key-generator.sar/META-INF/jboss-service.xml file. This file uses a datasource. If you have removed your DefualtDS or you have changed it so it doesn't work, you need to change the line in the file mentioned above to match your datasource.
<depends optional-attribute-name="DataSource">jboss.jca:service=DataSourceBinding,name=DefaultDS
Jay:)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179415#4179415
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179415
17 years, 6 months
[JBossMQ] - Problems changing DefaultDS
by drathnow
I originally posted this in the JCA forum but it was suggested that I post it here. So, here it is...
JBoss Version is 4.2.0.GA
I searched the Wiki and forums for a solution to this problem. I've seen two other posts with the same problem but nobody responded with a solution to I'll try.
I'm trying to change the DefaultDS datasource from hsql to Oracle. I've followed the instructions I found in the wiki at http://wiki.jboss.org/auth/wiki/ConfigJBossMQDB?action=e&windowstate=norm....
All the JMS tables are being created but the KeyGeneratorFactory fails to deploy. I get the following stack trace in the log:
2008-09-26 08:35:26,847 DEBUG [org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory] Starting jboss:service=KeyGeneratorFactory,type=HiLo
2008-09-26 08:35:26,863 DEBUG [org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory] Executing SQL: select HIGHVALUES from HILOSEQUENCES where SEQUENCENAME='general'
2008-09-26 08:35:26,894 DEBUG [org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory] Starting failed jboss:service=KeyGeneratorFactory,type=HiLo
java.sql.SQLException: ORA-00942: table or view does not exist
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:790)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1037)
at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:830)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1272)
at org.jboss.resource.adapter.jdbc.WrappedStatement.executeQuery(WrappedStatement.java:171)
at org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory.initSequence(HiLoKeyGeneratorFactory.java:320)
at org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory.startService(HiLoKeyGeneratorFactory.java:281)
If anyone is interested in the entire stack trace I will post it.
Can anyone tell me what I need to do to get this to fix this?
Thanks,
Dave.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179411#4179411
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179411
17 years, 6 months
[JBoss Portal] - Re: Quick Start - Quick Fail
by PeterJ
anonymous wrote : maybe I already have some conflicting libraries in my classpath
I hope that you have not set the CLASSPATH environment variable. That is a sure way to get into trouble. The run script will set everything you need. On my machines, the only Java-related env vars I have set are JAVA_HOME and various other "home" directories (e.g. ANT_HOME).
Another thing to check is that you do not any endorsed directories - JAR files therein could also cause issues.
One way to track down unwanted JAR files is to set the -verbose:class JVM option in the run script. This option will list each class loaded and the JAR file containing that class. The only JAR files you should see are rt.jar and those within JBOSS_HOME; if you see any others they are suspect.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179406#4179406
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179406
17 years, 6 months
[JBossWS] - Re: Not getting instance of Service object from a WSDL file.
by PeterJ
Are you using wsrunclient to run your client? I have found that the wsrunclient script does not include all of the JARs needed to run a web services client. Here is how I set the classpath (this is for JBoss AS 5.0.0.CR2, the actual list might be different for 4.2.2):
## Initialize the environment:
| CLASSPATH=myclient.jar
| CLASSPATH=$CLASSPATH:$JBOSS_HOME/client/jbossall-client.jar
| CLASSPATH=$CLASSPATH:$JBOSS_HOME/client/jbossws-native-jaxws.jar
| CLASSPATH=$CLASSPATH:$JBOSS_HOME/client/jbossws-native-core.jar
| CLASSPATH=$CLASSPATH:$JBOSS_HOME/client/jbossws-native-jaxws-ext.jar
| CLASSPATH=$CLASSPATH:$JBOSS_HOME/client/jbossws-spi.jar
| CLASSPATH=$CLASSPATH:$JBOSS_HOME/client/jbossws-common.jar
| CLASSPATH=$CLASSPATH:$JBOSS_HOME/client/wsdl4j.jar
| CLASSPATH=$CLASSPATH:$JBOSS_HOME/client/jboss-xml-binding.jar
| CLASSPATH=$CLASSPATH:$JBOSS_HOME/client/jbossws-native-jaxrpc.jar
| CLASSPATH=$CLASSPATH:$JBOSS_HOME/client/activation.jar
| CLASSPATH=$CLASSPATH:$JBOSS_HOME/client/jbossws-native-saaj.jar
| CLASSPATH=$CLASSPATH:$JBOSS_HOME/client/mail.jar
| CLASSPATH=$CLASSPATH:$JBOSS_HOME/client/policy.jar
| CLASSPATH=$CLASSPATH:$JBOSS_HOME/client/jaxb-api.jar
| CLASSPATH=$CLASSPATH:$JBOSS_HOME/client/javassist.jar
| CLASSPATH=$CLASSPATH:$JBOSS_HOME/client/jaxb-impl.jar
| CLASSPATH=$CLASSPATH:$JBOSS_HOME/client/stax-api.jar
|
| ## Invoke the application, letting the user know what is being run:
| APP="$JBOSS_HOME/bin/wsrunclient.sh -classpath $CLASSPATH my.package.name.Client $*"
| echo $APP
| $APP
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179404#4179404
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179404
17 years, 6 months
[JBossMQ] - Re: JBossMQ HA configuration
by jhowell@redhat.com
I think that's a very wise choice to stay on 4.2.3. One point to note though about the load balancer in JBM 1.4.0 sp3. There are two different components that load balance.
1. Round Robin connection when using the clustered connection factory. What this means is that if you are using the clustered connection factory, each connection you request you will get a connection to a different server. Messages being consumed or being added will go to that server.
2. Suckers - the suckers pull messages from one machine to the other to try to balance the load. So in a clustered queue, one machine will pull from the other. But it will only pull messages if it's queue is empty. So the queue has to be completely empty in order to start to look for messages elsewhere.
Cautions and Warnings about using a clustered queue:
1. Selectors don't work clusterwide. This means that while you may add a selector, it will only select from the server that it is connected by. If you have a consumer that has a selector and the server queue that it is connected to has messages, but doesn't match the selector, no load balancing will take place. Because there's still a message in the queue, it just doesn't match your selector. It's important to understand that selectors don't work in a clustered scenerio, because they are the solution to many jms antipatterns.
2. Queue Browse doesn't work clusterwide. Since this is a peer to peer server setup, there is no way to browse the entire queue, because a small piece of that queue is on each server. I suppose we could write something that would gather the queue contents from each machine and send them back, but by the time they got back the data would be stale. A clustered queue-browse is just not feasible with the current setup.
Hopefully you won't fall into any of these gotyas.
Jay:)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179370#4179370
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179370
17 years, 6 months
[Installation, Configuration & DEPLOYMENT] - FileNotFoundException... (Access denied) Tuscany deployment
by drlzzt
Hi,
I've tried to deploy tuscany sca application to JBoss 4.2.x (4.2.2 and 4.2.3) AS with Java 1.5 and 1.6. The issue is the same. I've also tried to follow this guide to change jboss-we-deployer configuration: http://confluence.atlassian.com/pages/viewpage.action?pageId=104300830 but it haven't solved my problem. Have seen some topics here regarding this issue on JBoss 4.05 but there is no answer also.
Stack strace is as follows:
Exception starting filter tuscany
org.osoa.sca.ServiceRuntimeException: java.lang.reflect.InvocationTargetException
at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:276)
at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:83)
at org.apache.tuscany.sca.host.webapp.WebAppServletHost.init(WebAppServletHost.java:218)
at org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.init(TuscanyServletFilter.java:52)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3722)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4367)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
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:585)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
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:585)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy44.start(Unknown Source)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
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:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy45.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
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:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:258)
... 141 more
Caused by: org.osoa.sca.ServiceRuntimeException: java.io.FileNotFoundException: C:\JavaPrograms\jboss-4.2.3.GA\server\default\.\tmp\deploy\tmp38384MDASWebappDeploy-exp.war (Access is denied)
at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.addContribution(DefaultSCADomain.java:331)
at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.init(DefaultSCADomain.java:183)
at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.(DefaultSCADomain.java:120)
at org.apache.tuscany.sca.host.webapp.WebSCADomain.(WebSCADomain.java:41)
... 146 more
Caused by: java.io.FileNotFoundException: C:\JavaPrograms\jboss-4.2.3.GA\server\default\.\tmp\deploy\tmp38384MDASWebappDeploy-exp.war (Access is denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:105)
at org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl$2.run(ContributionServiceImpl.java:364)
at org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl$2.run(ContributionServiceImpl.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.addContribution(ContributionServiceImpl.java:362)
at org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.contribute(ContributionServiceImpl.java:189)
at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain$3.run(DefaultSCADomain.java:326)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.addContribution(DefaultSCADomain.java:324)
... 149 more
15:22:56,959 ERROR [StandardContext] Error filterStart
15:22:56,959 ERROR [StandardContext] Context [/MDASWebappDeploy] startup failed due to previous errors
15:22:57,006 WARN [ServiceController] Problem starting service jboss.web.deployment:war=MDASWebappDeploy.war,id=205212761
org.jboss.deployment.DeploymentException: URL file:/C:/JavaPrograms/jboss-4.2.3.GA/server/default/tmp/deploy/tmp38384MDASWebappDeploy-exp.war/ deployment failed
at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:386)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy44.start(Unknown Source)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
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:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy45.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)</
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179367#4179367
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179367
17 years, 6 months
jboss 5 cr2 with jdk6 , java.lang.LinkageError on startup
by Halil Ağın
Hello List;
I have a struts2 web project. I easily deployed the project into tomcat and
there was no problem. then, i moved the project into jboss 5.0.0 cr2 and i
got the below error. I googled but could not find anything.
Some info for my environment:
server: JBoss 5.0.0.CR2
jdk: 1.6 (or java 6)
my web project: name is TVQ, jdk1.6 compiled, it is a struts2 and hibernate3
project.
i read readme.html file which is shipped with the jboss 5.0.0.cr2 . an apply
followings settings (these are mentioned on Compatibility issues in
readme.html file)
i moved
- jbossws-native-saaj.jar
- jbossws-native-jaxrpc.jar
- jbossws-native-jaxws.jar
- jbossws-native-jaxws-ext.jar
into <JBOSS_HOME>/lib/endorsed
and set "-Dsun.lang.ClassLoader.allowArraySyntax=true" to runtime settings.
Can you help me?
regards,
-halil agin.
java.lang.LinkageError: loader constraint violation: when resolving
overridden method
"org.apache.xerces.jaxp.SAXParserImpl.getXMLReader()Lorg/xml/sax/XMLReader;"
the class loader (instance of
org/jboss/classloader/spi/base/BaseClassLoader) of the current class,
org/apache/xerces/jaxp/SAXParserImpl, and its superclass loader (instance of
<bootloader>), have different Class objects for the type
org/xml/sax/XMLReader used in the signature
at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown
Source)
at
com.sun.faces.config.ConfigureListener$WebXmlProcessor.scanForFacesServlet(ConfigureListener.java:671)
at
com.sun.faces.config.ConfigureListener$WebXmlProcessor.<init>(ConfigureListener.java:643)
at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:155)
at
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:73)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3887)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4370)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:352)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:140)
at
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:459)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy35.start(Unknown Source)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
at
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at
org.jboss.system.ServiceController.doChange(ServiceController.java:672)
at org.jboss.system.ServiceController.start(ServiceController.java:444)
at
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1003)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1024)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:627)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:265)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:143)
at
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:544)
at java.lang.Thread.run(Thread.java:619)
15:23:35,221 INFO [[/TVQ]] Initializing Spring root WebApplicationContext
15:23:35,221 INFO [STDOUT] 15:23:35,221 INFO [ContextLoader] Root
WebApplicationContext: initialization started
15:23:35,289 INFO [STDOUT] 15:23:35,289 INFO [XmlWebApplicationContext]
Refreshing
org.springframework.web.context.support.XmlWebApplicationContext@2c637d:
display name [Root WebApplicationContext]; startup date [Mon Sep 29 15:23:35
EEST 2008]; root of context hierarchy
15:23:35,434 INFO [STDOUT] 15:23:35,434 INFO [XmlBeanDefinitionReader]
Loading XML bean definitions from ServletContext resource
[/WEB-INF/applicationContext.xml]
15:23:35,477 INFO [STDOUT] 15:23:35,473 ERROR [ContextLoader] Context
initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected
exception parsing XML document from ServletContext resource
[/WEB-INF/applicationContext.xml]; nested exception is
java.lang.LinkageError: loader constraint violation: when resolving
overridden method
"org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document;"
the class loader (instance of
org/jboss/classloader/spi/base/BaseClassLoader) of the current class,
org/apache/xerces/jaxp/DocumentBuilderImpl, and its superclass loader
(instance of <bootloader>), have different Class objects for the type
org/xml/sax/InputSource used in the signature
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353)
at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3887)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4370)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:352)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:140)
at
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:459)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy35.start(Unknown Source)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
at
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at
org.jboss.system.ServiceController.doChange(ServiceController.java:672)
at org.jboss.system.ServiceController.start(ServiceController.java:444)
at
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1003)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1024)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:627)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:265)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:143)
at
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:544)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.LinkageError: loader constraint violation: when
resolving overridden method
"org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document;"
the class loader (instance of
org/jboss/classloader/spi/base/BaseClassLoader) of the current class,
org/apache/xerces/jaxp/DocumentBuilderImpl, and its superclass loader
(instance of <bootloader>), have different Class objects for the type
org/xml/sax/InputSource used in the signature
at
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.setAttribute(Unknown
Source)
at
org.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilderFactory(DefaultDocumentLoader.java:99)
at org.springfram
15:23:35,478 INFO [STDOUT]
ework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:70)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
... 71 more
15:23:35,478 ERROR [[/TVQ]] Exception sending context initialized event to
listener instance of class
org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected
exception parsing XML document from ServletContext resource
[/WEB-INF/applicationContext.xml]; nested exception is
java.lang.LinkageError: loader constraint violation: when resolving
overridden method
"org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document;"
the class loader (instance of
org/jboss/classloader/spi/base/BaseClassLoader) of the current class,
org/apache/xerces/jaxp/DocumentBuilderImpl, and its superclass loader
(instance of <bootloader>), have different Class objects for the type
org/xml/sax/InputSource used in the signature
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353)
at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3887)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4370)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:352)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:140)
at
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:459)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy35.start(Unknown Source)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
at
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at
org.jboss.system.ServiceController.doChange(ServiceController.java:672)
at org.jboss.system.ServiceController.start(ServiceController.java:444)
at
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1003)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1024)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:627)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:265)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:143)
at
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:544)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.LinkageError: loader constraint violation: when
resolving overridden method
"org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document;"
the class loader (instance of
org/jboss/classloader/spi/base/BaseClassLoader) of the current class,
org/apache/xerces/jaxp/DocumentBuilderImpl, and its superclass loader
(instance of <bootloader>), have different Class objects for the type
org/xml/sax/InputSource used in the signature
at
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.setAttribute(Unknown
Source)
at
org.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilderFactory(DefaultDocumentLoader.java:99)
at
org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:70)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
... 71 more
15:23:35,585 INFO [STDOUT] 15:23:35,585 INFO [BasicTilesContainer]
Initializing Tiles2 container. . .
15:23:35,588 INFO [STDOUT] 15:23:35,588 WARN [BasicTilesContainer] Unable
to find configured definition '/WEB-INF/tiles.xml'
15:23:35,653 INFO [STDOUT] 15:23:35,652 INFO [BasicTilesContainer] Tiles2
container initialization complete.
15:23:35,661 INFO [STDOUT] 15:23:35,661 INFO [TilesAccess] Publishing
TilesContext for context: org.apache.catalina.core.ApplicationContextFacade
15:23:35,661 ERROR [StandardContext] Error listenerStart
15:23:35,662 ERROR [StandardContext] Context [/TVQ] startup failed due to
previous errors
15:23:35,662 INFO [STDOUT] 15:23:35,662 INFO [TilesAccess] Removing
TilesContext for context: org.apache.catalina.core.ApplicationContextFacade
15:23:35,662 INFO [[/TVQ]] Closing Spring root WebApplicationContext
15:23:35,705 ERROR [AbstractKernelController] Error installing to Start:
name=jboss.web.deployment:war=/TVQ state=Create mode=Manual
requiredState=Installed
org.jboss.deployers.spi.DeploymentException: URL
file:/usr/local/jboss50/server/default/tmp/deploy/TVQ57183-exp.war/
deployment failed
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:373)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:140)
at
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:459)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy35.start(Unknown Source)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
at
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at
org.jboss.system.ServiceController.doChange(ServiceController.java:672)
at org.jboss.system.ServiceController.start(ServiceController.java:444)
at
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1003)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1024)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:627)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:265)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:143)
at
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:544)
at java.lang.Thread.run(Thread.java:619)
15:23:35,775 ERROR [AbstractKernelController] Error installing to Real:
name=vfszip:/usr/local/jboss50/server/default/deploy/TVQ.war state=PreReal
mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: URL
file:/usr/local/jboss50/server/default/tmp/deploy/TVQ57183-exp.war/
deployment failed
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:373)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:140)
at
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:459)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy35.start(Unknown Source)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
at
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at
org.jboss.system.ServiceController.doChange(ServiceController.java:672)
at org.jboss.system.ServiceController.start(ServiceController.java:444)
at
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1003)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1024)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:627)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:265)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:143)
at
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:544)
at java.lang.Thread.run(Thread.java:619)
15:23:35,815 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console,
vfsUrl=jmx-console.war
15:23:35,919 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary
of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** CONTEXTS IN ERROR: Name -> Error
vfszip:/usr/local/jboss50/server/default/deploy/TVQ.war ->
org.jboss.deployers.spi.DeploymentException: URL
file:/usr/local/jboss50/server/default/tmp/deploy/TVQ57183-exp.war/
deployment failed
17 years, 6 months
[JBossWS] - jboss.xml wsdl-override works with one JBoss version, but no
by jimpo
I try to override my @WebServiceRef wsdl location using jboss.xml and wsdl-location. This works fine with portal 2.6.4 which is deployed on JBossAS 4.2.1GA but override is not being done with bundled portal 2.6.6 (JBossAS 4.2.3GA).
One of my EJBs:
| @WebServiceRef(com.fooz.baz.webservice.vacationrequest.VacationRequestService_Service.class)
| private transient VacationRequestService vacationRequestService;
|
| @WebServiceRef(com.fooz.baz.webservice.employee.EmployeeService_Service.class)
| private transient EmployeeService employeeService;
jboss.xml excerpt:
<session>
| <ejb-name>ApplicationListingAction</ejb-name>
| <service-ref>
| <service-ref-name>com.fooz.baz.portlet.searchandapply.ApplicationListingAction/vacationRequestService</service-ref-name>
| <wsdl-override>http://remoteserver:8080/service/vacation?wsdl</wsdl-override>
| </service-ref>
| <service-ref>
| <service-ref-name>com.fooz.baz.portlet.searchandapply.ApplicationListingAction/employeeService</service-ref-name>
| <wsdl-override>http://remoteserver:8080/employee-service/employee?wsdl</wsdl-override>
| </service-ref>
| </session>
| </enterprise-beans>
| </jboss>
When this is deployed on JBoss4.2.1GA I see what name the servicerefs get, and am able to use the same name in jboss.xml service-ref-name:
| 14:14:13,722 INFO [EJBContainer] STARTED EJB: com.fooz.baz.portlet.freetextsearch.SearchAction ejbName: SearchAction
| 14:14:13,725 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateful.StatefulContainer
| 14:14:13,726 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=portlets.ear,jar=ejb.jar,name=ManagerApplicationEditAction,service=EJB3 with dependen
| cies:
| 14:14:13,739 INFO [ServiceRefHandlerJAXWS] setupServiceRef [jndi=/env/com.fooz.baz.portlet.manager.ManagerApplicationEditAction/vacationRequestProcess,tar
| get=com.fooz.baz.webservice.vacationrequestprocess.VacationRequestProcess]
| 14:14:13,742 INFO [ServiceRefHandlerJAXWS] setupServiceRef [jndi=/env/com.fooz.baz.portlet.manager.ManagerApplicationEditAction/employeeService,target=com
| .fooz.baz.webservice.employee.EmployeeService]
| 14:14:13,743 INFO [ServiceRefHandlerJAXWS] setupServiceRef [jndi=/env/com.fooz.baz.portlet.manager.ManagerApplicationEditAction/fortimeVacationService,tar
But none of that is displayed when I deploy on JBoss 4.2.3 GA. When I ttry to use the EJB I see that the override ("remoteserver") is not working and instead the original wsdl ("localhost") location is used:
| 14:25:38,497 INFO [STDOUT] DEBUG ApplicationListingAction.create(108) | Creating
| 14:25:38,642 WARN [ServiceDelegateImpl] Cannot access wsdlURL: http://localhost:8080/employee-service/employee?wsdl
| 14:25:38,644 WARN [ServiceDelegateImpl] Cannot get port meta data for: {http://www.ugu.fi/soa-poc/EmployeeServiceWSDL}EmployeeServiceSOAP
| 14:25:38,749 WARN [ServiceDelegateImpl] Cannot access wsdlURL: http://localhost:8080/service/vacation?wsdl
| 14:25:38,751 WARN [ServiceDelegateImpl] Cannot get port meta data for: {http://www.ugu.fi/soa-poc/VacationRequestServiceWSDL}VacationRequestServiceSOAP
| 14:25:38,917 INFO [STDOUT] DEBUG ApplicationListingAction.create(108) | Creating
| 14:25:39,001 ERROR [STDERR] 29.9.2008 14:25:38 com.sun.facelets.FaceletViewHandler handleRenderException
| SEVERE: Error Rendering View[/pages/apply/applicationList.xhtml]
| javax.ejb.EJBTransactionRolledbackException: org.jboss.ws.WSException: Target endpoint address not set
| at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:87)
| at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
Also I think I should be able to see the webservice-ref in the JNDI using JMXConsole -> JNDIView, but neither server displays the webservice-refs there, why? How could I see which JNDI name the webservice-refs are bound to?
I have also tried adding "name" and "mappedName" attributes to the WebServiceRef annotation and using the same value as service-ref-name, without success.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179336#4179336
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179336
17 years, 6 months
[Installation, Configuration & DEPLOYMENT] - wsdl-override does not work with JBossAS 4.2.3GA, fine with
by jimpo
I'm using JBoss portal 2.6.6 with AS 4.2.3GA and wsdl-override in jboss.xml does not work. It works fine with portal 2.6.4 and AS 4.2.1GA.
I try to override my @WebServiceRef wsdl location using jboss.xml and wsdl-location. This works fine with portal 2.6.4 which is deployed on JBossAS 4.2.1GA but override is not being done with bundled portal 2.6.6 (JBossAS 4.2.3GA).
One of my EJBs:
| @WebServiceRef(com.fooz.baz.webservice.vacationrequest.VacationRequestService_Service.class)
| private transient VacationRequestService vacationRequestService;
|
| @WebServiceRef(com.fooz.baz.webservice.employee.EmployeeService_Service.class)
| private transient EmployeeService employeeService;
jboss.xml excerpt:
<session>
| <ejb-name>ApplicationListingAction</ejb-name>
| <service-ref>
| <service-ref-name>com.fooz.baz.portlet.searchandapply.ApplicationListingAction/vacationRequestService</service-ref-name>
| <wsdl-override>http://remoteserver:8080/service/vacation?wsdl</wsdl-override>
| </service-ref>
| <service-ref>
| <service-ref-name>com.fooz.baz.portlet.searchandapply.ApplicationListingAction/employeeService</service-ref-name>
| <wsdl-override>http://remoteserver:8080/employee-service/employee?wsdl</wsdl-override>
| </service-ref>
| </session>
| </enterprise-beans>
| </jboss>
When this is deployed on JBoss4.2.1GA I see what name the servicerefs get, and am able to use the same name in jboss.xml service-ref-name:
| 14:14:13,722 INFO [EJBContainer] STARTED EJB: com.fooz.baz.portlet.freetextsearch.SearchAction ejbName: SearchAction
| 14:14:13,725 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateful.StatefulContainer
| 14:14:13,726 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=portlets.ear,jar=ejb.jar,name=ManagerApplicationEditAction,service=EJB3 with dependen
| cies:
| 14:14:13,739 INFO [ServiceRefHandlerJAXWS] setupServiceRef [jndi=/env/com.fooz.baz.portlet.manager.ManagerApplicationEditAction/vacationRequestProcess,tar
| get=com.fooz.baz.webservice.vacationrequestprocess.VacationRequestProcess]
| 14:14:13,742 INFO [ServiceRefHandlerJAXWS] setupServiceRef [jndi=/env/com.fooz.baz.portlet.manager.ManagerApplicationEditAction/employeeService,target=com
| .fooz.baz.webservice.employee.EmployeeService]
| 14:14:13,743 INFO [ServiceRefHandlerJAXWS] setupServiceRef [jndi=/env/com.fooz.baz.portlet.manager.ManagerApplicationEditAction/fortimeVacationService,tar
But none of that is displayed when I deploy on JBoss 4.2.3 GA. When I ttry to use the EJB I see that the override ("remoteserver") is not working and instead the original wsdl ("localhost") location is used:
| 14:25:38,497 INFO [STDOUT] DEBUG ApplicationListingAction.create(108) | Creating
| 14:25:38,642 WARN [ServiceDelegateImpl] Cannot access wsdlURL: http://localhost:8080/employee-service/employee?wsdl
| 14:25:38,644 WARN [ServiceDelegateImpl] Cannot get port meta data for: {http://www.ugu.fi/soa-poc/EmployeeServiceWSDL}EmployeeServiceSOAP
| 14:25:38,749 WARN [ServiceDelegateImpl] Cannot access wsdlURL: http://localhost:8080/service/vacation?wsdl
| 14:25:38,751 WARN [ServiceDelegateImpl] Cannot get port meta data for: {http://www.ugu.fi/soa-poc/VacationRequestServiceWSDL}VacationRequestServiceSOAP
| 14:25:38,917 INFO [STDOUT] DEBUG ApplicationListingAction.create(108) | Creating
| 14:25:39,001 ERROR [STDERR] 29.9.2008 14:25:38 com.sun.facelets.FaceletViewHandler handleRenderException
| SEVERE: Error Rendering View[/pages/apply/applicationList.xhtml]
| javax.ejb.EJBTransactionRolledbackException: org.jboss.ws.WSException: Target endpoint address not set
| at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:87)
| at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
Also I think I should be able to see the webservice-ref in the JNDI using JMXConsole -> JNDIView, but neither server displays the webservice-refs there, why? How could I see which JNDI name the webservice-refs are bound to?
I have also tried adding "name" and "mappedName" attributes to the WebServiceRef annotation and using the same value as service-ref-name, without success.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179335#4179335
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179335
17 years, 6 months
[EJB 3.0] - Re: Help!! Failed to call remote methods in jboss 4. (EJB3,
by MyNameIsDaniel
oooops!!! Fogot to give the code.
The code of EJB is totally ok. Here're some codes of the Swing client:
/*
*RemoteString.java
*/
package ejbtest;
import java.util.*;
import javax.naming.*;
import com.foshanshop.ejb3.HelloWorld;
public class RemoteString {
public static String getRemoteString(String name,String url) throws Exception{
Properties props = new Properties();
props.setProperty("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
props.setProperty("java.naming.provider.url", url + ":1099");
InitialContext ctx = new InitialContext(props);
HelloWorld helloworld = (HelloWorld)ctx.lookup("HelloWorldBean/remote");
return helloworld.SayHello(name);
}
}
/*
*A part of the codes for Swing, mouse event:
*/
public void mouseReleased(MouseEvent arg0) {
try{
String info[] = textField.getText().split(":");
textArea.setText(RemoteString.getRemoteString(info[1],info[0]));
}
catch(Exception e){textArea.setText(e.getMessage());}
}
I repeat: the SwingEJBTest.JAR ran well on the server computer,
but not in other ones.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179333#4179333
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179333
17 years, 6 months
[JBoss Portal] - wsdl-override does not work with portal 2.6.6, fine with 2.6
by jimpo
I try to override my @WebServiceRef wsdl location using jboss.xml and wsdl-location. This works fine with portal 2.6.4 which is deployed on JBossAS 4.2.1GA but override is not being done with bundled portal 2.6.6 (JBossAS 4.2.3GA).
One of my EJBs:
| @WebServiceRef(com.fooz.baz.webservice.vacationrequest.VacationRequestService_Service.class)
| private transient VacationRequestService vacationRequestService;
|
| @WebServiceRef(com.fooz.baz.webservice.employee.EmployeeService_Service.class)
| private transient EmployeeService employeeService;
jboss.xml excerpt:
<session>
| <ejb-name>ApplicationListingAction</ejb-name>
| <service-ref>
| <service-ref-name>com.fooz.baz.portlet.searchandapply.ApplicationListingAction/vacationRequestService</service-ref-name>
| <wsdl-override>http://remoteserver:8080/service/vacation?wsdl</wsdl-override>
| </service-ref>
| <service-ref>
| <service-ref-name>com.fooz.baz.portlet.searchandapply.ApplicationListingAction/employeeService</service-ref-name>
| <wsdl-override>http://remoteserver:8080/employee-service/employee?wsdl</wsdl-override>
| </service-ref>
| </session>
| </enterprise-beans>
| </jboss>
When this is deployed on JBoss4.2.1GA I see what name the servicerefs get, and am able to use the same name in jboss.xml service-ref-name:
| 14:14:13,722 INFO [EJBContainer] STARTED EJB: com.fooz.baz.portlet.freetextsearch.SearchAction ejbName: SearchAction
| 14:14:13,725 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateful.StatefulContainer
| 14:14:13,726 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=portlets.ear,jar=ejb.jar,name=ManagerApplicationEditAction,service=EJB3 with dependen
| cies:
| 14:14:13,739 INFO [ServiceRefHandlerJAXWS] setupServiceRef [jndi=/env/com.fooz.baz.portlet.manager.ManagerApplicationEditAction/vacationRequestProcess,tar
| get=com.fooz.baz.webservice.vacationrequestprocess.VacationRequestProcess]
| 14:14:13,742 INFO [ServiceRefHandlerJAXWS] setupServiceRef [jndi=/env/com.fooz.baz.portlet.manager.ManagerApplicationEditAction/employeeService,target=com
| .fooz.baz.webservice.employee.EmployeeService]
| 14:14:13,743 INFO [ServiceRefHandlerJAXWS] setupServiceRef [jndi=/env/com.fooz.baz.portlet.manager.ManagerApplicationEditAction/fortimeVacationService,tar
But none of that is displayed when I deploy on JBoss 4.2.3 GA. When I ttry to use the EJB I see that the override ("remoteserver") is not working and instead the original wsdl ("localhost") location is used:
| 14:25:38,497 INFO [STDOUT] DEBUG ApplicationListingAction.create(108) | Creating
| 14:25:38,642 WARN [ServiceDelegateImpl] Cannot access wsdlURL: http://localhost:8080/employee-service/employee?wsdl
| 14:25:38,644 WARN [ServiceDelegateImpl] Cannot get port meta data for: {http://www.ugu.fi/soa-poc/EmployeeServiceWSDL}EmployeeServiceSOAP
| 14:25:38,749 WARN [ServiceDelegateImpl] Cannot access wsdlURL: http://localhost:8080/service/vacation?wsdl
| 14:25:38,751 WARN [ServiceDelegateImpl] Cannot get port meta data for: {http://www.ugu.fi/soa-poc/VacationRequestServiceWSDL}VacationRequestServiceSOAP
| 14:25:38,917 INFO [STDOUT] DEBUG ApplicationListingAction.create(108) | Creating
| 14:25:39,001 ERROR [STDERR] 29.9.2008 14:25:38 com.sun.facelets.FaceletViewHandler handleRenderException
| SEVERE: Error Rendering View[/pages/apply/applicationList.xhtml]
| javax.ejb.EJBTransactionRolledbackException: org.jboss.ws.WSException: Target endpoint address not set
| at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:87)
| at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
Also I think I should be able to see the webservice-ref in the JNDI using JMXConsole -> JNDIView, but neither server displays the webservice-refs there, why? How could I see which JNDI name the webservice-refs are bound to?
I have also tried adding "name" and "mappedName" attributes to the WebServiceRef annotation and using the same value as service-ref-name, without success.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179332#4179332
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179332
17 years, 6 months
[EJB 3.0] - Help!! Failed to call remote methods in jboss 4. (EJB3, Stat
by MyNameIsDaniel
Hi all,
I got a problem with my first EJB3 test.
I could call my remote method ONLY in the computer that runs JBoss.
Here's the detailed situation:
I wrote a Stateless Session Bean in Eclipse.
It simply provides (remote) a static String method SayHello(String name).
SayHello("Daniel") -> "Daniel says: Hello!"
Then I copied the exported JAR file into server/default/deploy.
JBoss 4 was launched and the jndi was up there. HelloWorldBean/remote
Everything ran pretty well.
Then I started another project in Eclipse which is called "SwingEJBTest"
I wanted to use a Swing project to call the remote method.
There was a JTextField (for Input), a JTextArea (for Output) and a JButton.
I'm not good at describing things in English, please see my code below...
I copied the interface HelloWorld.class and all the JARs in client folder.
Then I set all the Classpaths, wrote codes and generated JAR with FatJAR.
I launched the SwingEJBTest.jar with .bat file and everything was OK.
I input "localhost:Daniel" and it outputs "Daniel says: Hello!".
Then I copied the JAR to another computer and the problem came:
I input "192.168.1.101:Daniel" (JBossServer: 192.168.1.101:1099).
There was an exception thrown:
Could not obtain connection to any of these urls: 192.168.1.101:1099...
I closed the firewall on the JBossServer computer, pinged 198.168.1.101,
but I found nothing abnormal. I can access the server computer,
JBoss was still running there, firewall totally off.
I packed the JAR with FatJAR, totally dependant from external JARs.
Could anyone tell me why I got this Exception on another computer?
Thanks a lot for your kind help.
Regards,
Daniel
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179329#4179329
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179329
17 years, 6 months
[EJB 3.0] - 2 Stateless session beans, same name+interface, different ja
by gr28
Hello,
using JBoss 4.2.3
We are having a Stateless Session bean with a specific name ("mybean"):
@Local(IBean1.class)
@Stateless(name="mybean")
public class Bean1 implements IBean1 {
The class Bean1 and the interface IBean1 belong to core.jar.
An other SLSB (in core.jar) injects the "mybean" bean:
@EJB(beanName="mybean")
IBean1 beanImpl;
I now want to replace the bean under name "mybean" with a project specific implementation. We add project.jar, which has a dependeny to core.jar. It deploys the following bean:
@Local(IBean1.class)
@Stateless(name="mybean")
public class Bean1Project implements IBean1 {
The "mybean" is now registered under JNDI as follows:
ear=naming.ear,jar=core.jar,name=mybean,service=EJB3
ear=naming.ear,jar=project.jar,name=mybean,service=EJB3
After a simple test I found out that beanImpl gets an instance of Bean1Project injected. Can anyone please explain, why that bean is used?
Is it possible to remove the SLSB from JNDI defined in core.jar without changing core.jar? The requirement is that the product core defines several SLSB that are always deployed and can always be replaced by a project specific implementation.
Thank you for any help!
Georg Raffer
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179322#4179322
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179322
17 years, 6 months
[JBoss Cache: Core Edition] - Re: Resident Nodes evicted in heavy load conditions
by mahendragoyal
Hi Markus,
we have encountered the same issue again, following are the settings used
jboss.Transaction.IsolationLevel=NONE
jboss.clustered.CacheMode=LOCAL
jboss.policyClass=org.jboss.cache.eviction.LRUPolicy
jboss.evictionThread.wakeUpIntervalSeconds=600
jboss.region.products.maxNodes=300jboss.region.products.timeToLiveSeconds=14400
jboss.region.products.eventQueueSize=200000
Stack Trace
--------------
org.jboss.cache.NodeNotValidException: Node /Products is not valid. Perhaps it has been moved or removed.
| at org.jboss.cache.invocation.NodeInvocationDelegate.assertValid(NodeInvocationDelegate.java:497)
| at org.jboss.cache.invocation.NodeInvocationDelegate.getChild(NodeInvocationDelegate.java:330)
| at com.pearson.commonbiz.app.appservices.caching.JBossCacheAdpater.getFromCache(JBossCacheAdpater.java:316)
| at com.pearson.commonbiz.app.appservices.ResourcesCacheHelper.getFromCache(ResourcesCacheHelper.java:232)
| at com.pearson.commonbiz.app.appservices.ResourcesCacheHelper.getResourceIDTypeListFromCache(ResourcesCacheHelper.java:156)
| at com.pearson.ph.ois.presentation.actions.OISCoreAction.isProductHasService(OISCoreAction.java:734)
| at com.pearson.ph.ois.presentation.actions.GetAllAssignmentsForClassAction.processRequest(GetAllAssignmentsForClassAction.java:319)
| at com.pearson.ph.ois.presentation.actions.OISCoreAction.execute(OISCoreAction.java:87)
| at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
| at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
| at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
| at com.pearson.commonsys.dynaweb.uicontroller.ConcertActionServlet.process(ConcertActionServlet.java:230)
| at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
Like I told you earlier we store the "Product" node in a hashtable which is marked as resident in the begining after the creation
Lately in our performance tests the error was coming up in logs every few hours.
I am not sure how I can reproduce it since its very inconsistent.
Could you please help us a bit with this
Many Thanks,
mahendra
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179320#4179320
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179320
17 years, 6 months
Migrate Tomcat configuration to JBoss 4.2.x
by Sertic Mirko, Bedag
Hi@all
I am running some Tomcat 5.5 applications, all deployed as a .war file.
For JNDI and DataSource configuration, I use the external context.xml
files, all stored in conf/catalina/localhost/<contextname>.xml. Now, I
want to deploy some of the applications to JBoss 4.2.x. Now, the
question is : where to put the datasource, and how can i use the
external context configuration file on JBoss 4.2.x out of the box? Is
there a tutorial available?
Thanks a lot
Mirko
17 years, 6 months
[Remoting] - org.jboss.remoting.marshal.InvalidMarshallingResource: Can n
by sridhargoud_k
Hi,
Am using "SourceInfo.java" It is a transfer object containing some elementary details of a Source.It is created so as to transfer the data across, in a SOAP friendly manner.
This clas is being deployed as part of .ejb3 jar file on jboss server.When the server is running am getting the following exception seldomly.
| org.jboss.remoting.marshal.InvalidMarshallingResource: Can not find a valid marshaller for data type: serializable
| at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:79)
| at org.jboss.remoting.Client.invoke(Client.java:1634)
| at org.jboss.remoting.Client.invoke(Client.java:548)
| at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107)
| at $Proxy0.getSourcesInfo(Unknown Source)
| at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at com.barco.cms.dependency.CmsPerspectiveMgt$PerspectiveMgtInvocationHandler.invokeMethod(Unknown Source)
| at com.barco.cms.dependency.CmsPerspectiveMgt$PerspectiveMgtInvocationHandler.invoke(Unknown Source)
| at $Proxy1.getSourcesInfo(Unknown Source)
| at com.barco.cms.perspectivemgtproxy.pool.SourcePool.getSourceInfo(Unknown Source)
| at com.barco.cms.perspectivemgtproxy.impl.ProxySource.getSourceInfo(Unknown Source)
| at com.barco.cms.perspectivemgtproxy.impl.ProxySource.isOnline(Unknown Source)
| at com.barco.cms.perspectivemgtproxy.eventsupport.SourceEventSupport.onSourcePropertyChanged(Unknown Source)
| at com.barco.cms.perspectivemgtproxy.eventsupport.SourceEventSupport.onPropertyChanged(Unknown Source)
| at com.barco.cms.perspectivemgtproxy.eventsupport.SourceEventSupport.fireEvent(Unknown Source)
| at com.barco.cms.perspectivemgtproxy.impl.ProxySource.fireEvent(Unknown Source)
| at com.barco.cms.perspectivemgtproxy.eventsupport.PerspectiveMgtEventReader.fireEvent(Unknown Source)
| at com.barco.cms.perspectivemgtproxy.eventsupport.PerspectiveMgtEventReader.access$700(Unknown Source)
| at com.barco.cms.perspectivemgtproxy.eventsupport.PerspectiveMgtEventReader$EventProcessor.run(Unknown Source)
| at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
| at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
| at java.util.concurrent.FutureTask.run(Unknown Source)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
| at java.lang.Thread.run(Unknown Source)
| at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:74)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107)
| at $Proxy0.getSourcesInfo(Unknown Source)
| at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at com.barco.cms.dependency.CmsPerspectiveMgt$PerspectiveMgtInvocationHandler.invokeMethod(Unknown Source)
| at com.barco.cms.dependency.CmsPerspectiveMgt$PerspectiveMgtInvocationHandler.invoke(Unknown Source)
| at $Proxy1.getSourcesInfo(Unknown Source)
| at com.barco.cms.perspectivemgtproxy.pool.SourcePool.getSourceInfo(Unknown Source)
| at com.barco.cms.perspectivemgtproxy.impl.ProxySource.getSourceInfo(Unknown Source)
| at com.barco.cms.perspectivemgtproxy.impl.ProxySource.isOnline(Unknown Source)
| at com.barco.cms.perspectivemgtproxy.eventsupport.SourceEventSupport.onSourcePropertyChanged(Unknown Source)
| at com.barco.cms.perspectivemgtproxy.eventsupport.SourceEventSupport.onPropertyChanged(Unknown Source)
| at com.barco.cms.perspectivemgtproxy.eventsupport.SourceEventSupport.fireEvent(Unknown Source)
| at com.barco.cms.perspectivemgtproxy.impl.ProxySource.fireEvent(Unknown Source)
| at com.barco.cms.perspectivemgtproxy.eventsupport.PerspectiveMgtEventReader.fireEvent(Unknown Source)
| at com.barco.cms.perspectivemgtproxy.eventsupport.PerspectiveMgtEventReader.access$700(Unknown Source)
| at com.barco.cms.perspectivemgtproxy.eventsupport.PerspectiveMgtEventReader$EventProcessor.run(Unknown Source)
| at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
| at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
| at java.util.concurrent.FutureTask.run(Unknown Source)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
| at java.lang.Thread.run(Unknown Source)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179308#4179308
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179308
17 years, 6 months
[Installation, Configuration & DEPLOYMENT] - Re: Exploded EAR deployment problem
by jaikiran
"tamilsmani" wrote : I have configured all 3 different projects in application.xml in EAR project and I referenced in JBOSS server.
|
| The application.xml file entry as follows:
| <application>
| | <display-name>VPS_EAR</display-name>
| | <module>
| | <ejb>../../../../../../VPS_WORKSPACE\VPS_EJB\classes.jar</ejb> // The location where my EJB project is exist
| | </module>
| | <module>
| | <web>
| | <web-uri>/../../../../../VPS_WORKSPACE\VPS_WEB\WebContent</web-uri> // The location where my WEB project is exist
| | <context-root>/VPS</context-root>
| | </web>
| | </module>
| | </application>
| |
|
|
Are you packaging the war and the ejb jar inside the EAR? The application.xml looks incorrect. The path is relative to the root of the ear. So it should look like:
| <application>
| <display-name>VPS_EAR</display-name>
| <module>
| <ejb>classes.jar</ejb>
| </module>
| <module>
| <web>
| <web-uri>WebContent.war</web-uri>
| <context-root>/VPS</context-root>
| </web>
| </module>
| </application>
The jar and the war will be at the root of the EAR.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179299#4179299
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179299
17 years, 6 months
[Installation, Configuration & DEPLOYMENT] - Setting codebase in jboss ejb3 application has no efffect
by esalagea
This is related to the topic http://www.jboss.com/index.html?module=bb&op=viewtopic&t=140498&start=0
I have posted some time ago with no success.
I'll be short:
My bean application A (which runs inside jboss jvm) generates (with javaassist) a class C and perform an rmi call on a remote object RO passing in argument an object of type C (the generated class). My generated class is available on a http class server created by my application. So In my bean application A I add to the
java.rmi.server.codebase property the address of my class server. so two entries are in the codebase: the jboss class server and my class server.
The problem is that when the RO (remote object) receives the call, it will only try to download the class in the jbosses class server (on 8083 port) because it doesn't receive my codebase. So it will not find the class there because it is only availbe on my class server.
So does jboss takes in account the property java.rmi.server.codebase when marshaling objects? does it override the marshaller?
So, in short: whatever my bean writes in the java.rmi.server.codebase property (I also tried to leave it empty), the remote object will receive the codebase of jboss class server.
The question is: can I change this behavior.
Thanks in advance, It would really help me, It's been 2 months since I have this problem.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179293#4179293
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179293
17 years, 6 months
[EJB 3.0] - Re: Cannot load @Remote interfaces with remote class loader
by avogt_sundn
If the lookup takes place outside of the ejb container, i.e. in an unit test, the lookup succeeds and the unknown remote interface gets loaded by the rmi class loader.
21:28:30,859 DEBUG [ClassByteClassLoader] attempting to load from network: remote.classloading.problem.integration.remote.KnownRem
| oteInterface
| 21:28:30,875 DEBUG [MarshallerLoaderHandler] MarshallerLoaderHandler received invocation with param of load_class and data type of
| null
| 21:28:30,875 DEBUG [MarshallerLoaderHandler] MarshallerLoaderHandler: loading class: remote.classloading.problem.integration.remot
| e.KnownRemoteInterface
| 21:28:30,875 DEBUG [MarshallerLoaderHandler] searching repository integration:loader=integration-1.0.EAR
| 21:28:30,875 DEBUG [MarshallerLoaderHandler] found class in repository integration:loader=integration-1.0.EAR
| 21:28:30,875 DEBUG [MarshallerLoaderHandler] MarshallerLoaderHandler: returning class: remote.classloading.problem.integration.rem
| ote.KnownRemoteInterface: ClassBytes [class=remote.classloading.problem.integration.remote.KnownRemoteInterface,value=[B@62a94b]
| 21:28:30,875 DEBUG [ClassByteClassLoader] loaded from network: ClassBytes [class=remote.classloading.problem.integration.remote.Kn
| ownRemoteInterface,value=[B@f140d0]
| 21:28:30,937 DEBUG [InvokerRegistry] removed SocketClientInvoker[1d9e3d9, socket://localhost:3873] from registry
| 21:28:30,937 DEBUG [MicroSocketClientInvoker] SocketClientInvoker[1d9e3d9, socket://localhost:3873] disconnecting ...
| 21:28:30,937 DEBUG [ServerThread] WorkerThread#1[127.0.0.1:4909] closing socketWrapper: ServerSocketWrapper[Socket[addr=/127.0.0.1
| ,port=4909,localport=4873].112a81c]
| 21:28:30,937 DEBUG [ServerSocketWrapper] wrote CLOSING
That concludes:
the server-side of the problem works: the missing class is served and made available for remote class loading.
the client side - when the client is the lookup - failes, once the lookup takes place within the ejb container (from the stateful session bean, using the EJBContext.lookup(name) method).
Why can't the ejb container accept the served classbytes? where is he 'ignoring' them - because as you can see they are requested and then served to the client.
Here is the exception when i do this:
anonymous wrote : @Stateless
| public class SessionBeanFactoryEjb implements SessionBeanFactory {
|
| @Resource
| EJBContext ejbContext;
| @Resource
| SessionContext session;
|
| public void createBean(String jndiName) {
| try {
| Object lookup = new InitialContext().lookup(jndiName);
| KnownRemoteInterface vbean = (KnownRemoteInterface) lookup;
| assert null != vbean;
| String doService = vbean.doService();
| assert doService != null;
| } catch (Exception e) {
| throw new RuntimeException(e);
| }
|
| }
| }
javax.ejb.EJBException: java.lang.RuntimeException: javax.naming.NamingException: Could not dereference object [Root exception is java.lang.ClassNotFoundException: remote.classloading.problem.integration.remote.UnknownRemoteInterface]; nested exception is: java.lang.RuntimeException: javax.naming.NamingException: Could not dereference object [Root exception is java.lang.ClassNotFoundException: remote.classloading.problem.integration.remote.UnknownRemoteInterface]
| java.lang.RuntimeException: javax.naming.NamingException: Could not dereference object [Root exception is java.lang.ClassNotFoundException: remote.classloading.problem.integration.remote.UnknownRemoteInterface]
| at remote.classloading.problem.integration.ear2.SessionBeanFactoryEjb.createBean(SessionBeanFactoryEjb.java:27)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
| at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
| at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:304)
| at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
| at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:809)
| at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:572)
| at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:373)
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
| at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163)
| at org.jboss.remoting.Client.invoke(Client.java:1634)
| at org.jboss.remoting.Client.invoke(Client.java:548)
| at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107)
| at $Proxy6.createBean(Unknown Source)
| at remote.classloading.problem.integration.SessionBeanFactoryTest.testLookupWithoutInterface(SessionBeanFactoryTest.java:25)
| at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:74)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107)
| at $Proxy6.createBean(Unknown Source)
| at remote.classloading.problem.integration.SessionBeanFactoryTest.testLookupWithoutInterface(SessionBeanFactoryTest.java:25)
| Caused by: javax.naming.NamingException: Could not dereference object [Root exception is java.lang.ClassNotFoundException: remote.classloading.problem.integration.remote.UnknownRemoteInterface]
| at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1298)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:763)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
| at javax.naming.InitialContext.lookup(InitialContext.java:392)
| at remote.classloading.problem.integration.ear2.SessionBeanFactoryEjb.createBean(SessionBeanFactoryEjb.java:21)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
| at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
| at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:304)
| at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
| at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:809)
| at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:572)
| at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:373)
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
| Caused by: java.lang.ClassNotFoundException: remote.classloading.problem.integration.remote.UnknownRemoteInterface
| at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
| at java.security.AccessController.doPrivileged(Native Method)
| at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
| at java.lang.Class.forName0(Native Method)
| at java.lang.Class.forName(Class.java:247)
| at sun.rmi.server.LoaderHandler.loadProxyInterfaces(LoaderHandler.java:711)
| at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:655)
| at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:592)
| at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:628)
| at org.jboss.system.JBossRMIClassLoader.loadProxyClass(JBossRMIClassLoader.java:82)
| at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:294)
| at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:238)
| at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1531)
| at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1493)
| at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
| at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
| at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
| at java.rmi.MarshalledObject.get(MarshalledObject.java:142)
| at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
| at org.jboss.ejb3.JndiProxyFactory.getObjectInstance(JndiProxyFactory.java:55)
| at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
| at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1273)
| at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1290)
| ... 37 more
| javax.ejb.EJBException: java.lang.RuntimeException: javax.naming.NamingException: Could not dereference object [Root exception is java.lang.ClassNotFoundException: remote.classloading.problem.integration.remote.UnknownRemoteInterface]; nested exception is: java.lang.RuntimeException: javax.naming.NamingException: Could not dereference object [Root exception is java.lang.ClassNotFoundException: remote.classloading.problem.integration.remote.UnknownRemoteInterface]
| at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:63)
| at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:304)
| at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
| at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:809)
| at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:572)
| at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:373)
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
| Caused by: java.lang.RuntimeException: javax.naming.NamingException: Could not dereference object [Root exception is java.lang.ClassNotFoundException: remote.classloading.problem.integration.remote.UnknownRemoteInterface]
| at remote.classloading.problem.integration.ear2.SessionBeanFactoryEjb.createBean(SessionBeanFactoryEjb.java:27)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
| at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
| at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:304)
| at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
| at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:809)
| at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:572)
| at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:373)
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
| at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163)
| at org.jboss.remoting.Client.invoke(Client.java:1634)
| at org.jboss.remoting.Client.invoke(Client.java:548)
| at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107)
| at $Proxy6.createBean(Unknown Source)
| at remote.classloading.problem.integration.SessionBeanFactoryTest.testLookupWithoutInterface(SessionBeanFactoryTest.java:25)
| at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:74)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107)
| at $Proxy6.createBean(Unknown Source)
| at remote.classloading.problem.integration.SessionBeanFactoryTest.testLookupWithoutInterface(SessionBeanFactoryTest.java:25)
| Caused by: javax.naming.NamingException: Could not dereference object [Root exception is java.lang.ClassNotFoundException: remote.classloading.problem.integration.remote.UnknownRemoteInterface]
| at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1298)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:763)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
| at javax.naming.InitialContext.lookup(InitialContext.java:392)
| at remote.classloading.problem.integration.ear2.SessionBeanFactoryEjb.createBean(SessionBeanFactoryEjb.java:21)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
| at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
| at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:304)
| at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
| at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:809)
| at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:572)
| at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:373)
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
| Caused by: java.lang.ClassNotFoundException: remote.classloading.problem.integration.remote.UnknownRemoteInterface
| at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
| at java.security.AccessController.doPrivileged(Native Method)
| at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
| at java.lang.Class.forName0(Native Method)
| at java.lang.Class.forName(Class.java:247)
| at sun.rmi.server.LoaderHandler.loadProxyInterfaces(LoaderHandler.java:711)
| at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:655)
| at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:592)
| at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:628)
| at org.jboss.system.JBossRMIClassLoader.loadProxyClass(JBossRMIClassLoader.java:82)
| at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:294)
| at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:238)
| at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1531)
| at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1493)
| at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
| at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
| at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
| at java.rmi.MarshalledObject.get(MarshalledObject.java:142)
| at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
| at org.jboss.ejb3.JndiProxyFactory.getObjectInstance(JndiProxyFactory.java:55)
| at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
| at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1273)
| at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1290)
| ... 37 more
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179289#4179289
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179289
17 years, 6 months
[Beginners Corner] - our Own Contraints @UserName
by gopib
I wrote my own constraints @username If Username is registered and it is already present in the database , I should dispaly Username Already Exists , I wrote the code , but I am getting the below exception .
1.Exception during request processing:
Caused by java.lang.IllegalStateException with message: "Could not commit transaction"
2.Caused by javax.transaction.RollbackException with message: "[com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] Can't commit because the transaction is in aborted state"
------------------
Code:UserName.java
--------------------
package com.manam.mortgage.entity;
import java.lang.annotation.Documented;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import java.lang.annotation.Retention;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Target;
import org.hibernate.validator.Validator;
import org.hibernate.validator.ValidatorClass;
@Documented
@ValidatorClass(UserNameValidator.class)
@Target({METHOD, FIELD})
@Retention(RUNTIME)
public @interface UserName {
String tablename();
String columnname();
String message() default "validator.user";
}
----------------------
UserNaemValidator.java
---------------------
package com.manam.mortgage.entity;
import java.io.Serializable;
import java.util.List;
import org.hibernate.validator.Validator;
import javax.persistence.EntityManager;
import javax.persistence.NoResultException;
import javax.persistence.Query;
import org.hibernate.validator.PropertyConstraint;
import org.jboss.seam.Component;
import org.jboss.seam.annotations.In;
public class UserNameValidator implements Validator, Serializable {
private String tablename;
private String columnname;
@In EntityManager entityManager;
private UserName parameters;
public void initialize(UserName parameters) {
this.parameters = parameters;
this.tablename=parameters.tablename();
this.columnname = parameters.columnname();
}
public boolean isValid(Object v){
if(v==null)
return true;
String fieldvalue=(String)v;
System.out.println("****************************");
System.out.println("column name:"+columnname);
System.out.println("field vale:"+fieldvalue);
System.out.println("table name:"+tablename);
Query q=((EntityManager)Component.getInstance("entityManager")).createQuery("from " +tablename+ " where " +columnname+ " =:fieldvalue ");
q.setParameter("fieldvalue",fieldvalue);
try{
q.getSingleResult();
return true;
}catch(final NoResultException e){
System.out.println("Not Exists Boss ........");
return false;
}
}
}
Please help me any body, Thanking you.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179283#4179283
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179283
17 years, 6 months
[Installation, Configuration & DEPLOYMENT] - Exploded EAR deployment problem
by tamilsmani
Hi all,
I am trying to deploy an application an exploded format. I have created 3 different projects EAR, JAR (EJB) and WAR. I have configured all 3 different projects in application.xml in EAR project and I referenced in JBOSS server.
The application.xml file entry as follows:
<display-name>VPS_EAR</display-name>
../../../../../../VPS_WORKSPACE\VPS_EJB\classes.jar // The location where my EJB project is exist
<web-uri>/../../../../../VPS_WORKSPACE\VPS_WEB\WebContent</web-uri> // The location where my WEB project is exist
<context-root>/VPS</context-root>
I am getting a problem when I started the server and server finds ejb project and start compiling an ejb. The problem was:
12:40:11,884 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.2.2.GA/server/default/deploy/VPS.ear/
12:40:12,650 WARN [ServiceController] Problem creating service jboss.j2ee:service=EJB3,module=classes.jar
java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at sun.reflect.annotation.AnnotationParser.parseClassArray(Unknown Source)
at sun.reflect.annotation.AnnotationParser.parseArray(Unknown Source)
at sun.reflect.annotation.AnnotationParser.parseMemberValue(Unknown Source)
at sun.reflect.annotation.AnnotationParser.parseAnnotation(Unknown Source)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(Unknown Source)
at sun.reflect.annotation.AnnotationParser.parseAnnotations(Unknown Source)
at java.lang.Class.initAnnotationsIfNecessary(Unknown Source)
at java.lang.Class.getAnnotation(Unknown Source)
at org.jboss.aop.annotation.AnnotationElement.getVisibleAnnotation(AnnotationElement.java:88)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179280#4179280
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179280
17 years, 6 months
[EJB 3.0] - View Problem
by Ceene
Hi all
This topic belongs to JBoss Seams, but I can not make a new Topic, so I describe my Problem here.
I have a xhtml-Page
| <table style="width:100%">
| <tr>
| <td style="width:50%">
| <fieldset class="usrFormPos" style="width:50%">
| <legend>Sucheingabe:</legend>
| <h:outputLabel value="BD-Kürzel:" styleClass="" />
| <h:inputText value="#{testhdl.suchKezi}" styleClass="usrFormValueSearch" maxlength="10"/>
| <br />
| <h:outputLabel value="BD-Name:" styleClass="" />
| <h:inputText id="Name" value="#{testhdl.suchName}" styleClass="usrFormValueSearch" maxlength="10"/>
| </fieldset>
| </td>
| <td style="width:50%">
| <fieldset class="usrFormPos" style="width:22%">
| <legend>Steuerung:</legend>
| <h:commandButton value="Suche" action="#{testhdl.userSuchen()}" styleClass="usrFormBtnSuchen"/>
| <br />
| <h:commandButton value="Logout" action="#{identity.logout}" styleClass="usrFormBtnSuchen" />
| <br />
| <h:outputLabel value=" " styleClass="" />
| <br />
| <h:outputLabel value=" " styleClass="" />
| </fieldset>
| </td>
| </tr>
| </table>
|
If I load the Project in JBoss then I can open the Page with no Problems but if I click a Button, or load the side new I get the following errorMassage
javax.faces.FacesException: javax.el.ELException: /pflege/LOV_User.xhtml @28,92 value="#{testhdl.suchKezi}": Error reading 'suchKezi' on type org.javassist.tmp.java.lang.Object_$$_javassist_50
at javax.faces.component.UIOutput.getValue(UIOutput.java:176)
at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:189)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:320)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:200)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:836)
....
I have no idea where my mistake is, I hope somebody can help me.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179273#4179273
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179273
17 years, 6 months
[Persistence, JBoss/CMP, Hibernate, Database] - Database problem in Jboss
by skm2008
Hi,
I m trying to access one application in JBOSS. The configuration is comething like jboss with hibernate and i m connection to DB through datasource. While accessing my app i m facing following exception. Anyone have any locks..????
ERROR [org.apache.catalina.core.ContainerBase] Servlet.service() for servlet jsp threw exception
java.sql.SQLException: Closed Connection
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:273)
at oracle.jdbc.driver.OracleConnection.setAutoCommit(OracleConnection.java:794)
at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkTransaction(BaseWrapperManagedConnection.java:429)
at org.jboss.resource.adapter.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:525)
at org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:184)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:396)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:334)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:88)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1162)
at org.hibernate.loader.Loader.doQuery(Loader.java:390)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:218)
at org.hibernate.loader.Loader.doList(Loader.java:1593)
at org.hibernate.loader.Loader.list(Loader.java:1577)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:395)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:271)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:844)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
my hibernate.cfg.xml file is as follows::
sun.jdbc.odbc.JdbcOdbcDriver
org.hibernate.dialect.Oracle9Dialect
java:jndi name
false
auto
org.hibernate.cache.HashtableCacheProvider
oracle-ds.xml file is as follwos:
<local-tx-datasource>
<jndi-name>jndi name</jndi-name>
<connection-url>jdbc url</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>XXX</user-name>
XXX
<min-pool-size>5</min-pool-size>
<max-pool-size>10</max-pool-size>
<prepared-statement-cache-size>0</prepared-statement-cache-size>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
<type-mapping>Oracle9i</type-mapping>
</local-tx-datasource>
Pleas let me know..!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179266#4179266
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179266
17 years, 6 months
[JCA/JBoss] - JBOSS Error
by skm2008
Hi,
I m trying to access one application in JBOSS. The configuration is comething like jboss with hibernate and i m connection to DB through datasource. While accessing my app i m facing following exception. Anyone have any locks..????
ERROR [org.apache.catalina.core.ContainerBase] Servlet.service() for servlet jsp threw exception
java.sql.SQLException: Closed Connection
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:273)
at oracle.jdbc.driver.OracleConnection.setAutoCommit(OracleConnection.java:794)
at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkTransaction(BaseWrapperManagedConnection.java:429)
at org.jboss.resource.adapter.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:525)
at org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:184)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:396)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:334)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:88)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1162)
at org.hibernate.loader.Loader.doQuery(Loader.java:390)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:218)
at org.hibernate.loader.Loader.doList(Loader.java:1593)
at org.hibernate.loader.Loader.list(Loader.java:1577)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:395)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:271)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:844)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
my hibernate.cfg.xml file is as follows::
sun.jdbc.odbc.JdbcOdbcDriver
org.hibernate.dialect.Oracle9Dialect
java:jndi name
false
auto
org.hibernate.cache.HashtableCacheProvider
oracle-ds.xml file is as follwos:
<local-tx-datasource>
<jndi-name>jndi name</jndi-name>
<connection-url>jdbc url</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>XXX</user-name>
XXX
<min-pool-size>5</min-pool-size>
<max-pool-size>10</max-pool-size>
<prepared-statement-cache-size>0</prepared-statement-cache-size>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
<type-mapping>Oracle9i</type-mapping>
</local-tx-datasource>
Pleas let me know..!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179265#4179265
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179265
17 years, 6 months
[Datasource Configuration] - Error in JBOSS
by skm2008
Hi,
I m trying to access one application in JBOSS. The configuration is comething like jboss with hibernate and i m connection to DB through datasource. While accessing my app i m facing following exception. Anyone have any locks..????
ERROR [org.apache.catalina.core.ContainerBase] Servlet.service() for servlet jsp threw exception
java.sql.SQLException: Closed Connection
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:273)
at oracle.jdbc.driver.OracleConnection.setAutoCommit(OracleConnection.java:794)
at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkTransaction(BaseWrapperManagedConnection.java:429)
at org.jboss.resource.adapter.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:525)
at org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:184)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:396)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:334)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:88)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1162)
at org.hibernate.loader.Loader.doQuery(Loader.java:390)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:218)
at org.hibernate.loader.Loader.doList(Loader.java:1593)
at org.hibernate.loader.Loader.list(Loader.java:1577)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:395)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:271)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:844)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
my hibernate.cfg.xml file is as follows::
sun.jdbc.odbc.JdbcOdbcDriver
org.hibernate.dialect.Oracle9Dialect
java:jndi name
false
auto
org.hibernate.cache.HashtableCacheProvider
oracle-ds.xml file is as follwos:
<local-tx-datasource>
<jndi-name>jndi name</jndi-name>
<connection-url>jdbc url</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>XXX</user-name>
XXX
<min-pool-size>5</min-pool-size>
<max-pool-size>10</max-pool-size>
<prepared-statement-cache-size>0</prepared-statement-cache-size>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
<type-mapping>Oracle9i</type-mapping>
</local-tx-datasource>
Pleas let me know..!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179264#4179264
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179264
17 years, 6 months
[JBoss Messaging] - Re: JBoss MDB fails to consume from JBoss ESB queue
by idaplan
Hi Tim,
thank you for focusing me on this. It has been a while since we have been looking at that list of required jars.
In the meantime we tried JBoss AS 4.2.1.GA to host our MDB. This works fine now - just with adding the jboss-messaging-client.jar (without any changes to existing jars - like patching the jboss-remoting.jar).
I may also mention that the same combination: JBoss AS 4.2.2.GA MDB against a JBoss ESB 4.2.1 works on Windows/Windows too! But not on Linux/Linux :-(
I guess the list of jars mentioned in the user guides serves well when programming a standalone client program. I remember we used this before to get a simple client running with our ESB. But they will likely conflict with the rest of the jars of the JBoss AS. We tried to put jbossall-client.jar into the server/default/lib folder before (when we was still trying with 4.2.2) and it raised exceptions on startup.
Also I do not see how to control the order in which jars are loaded from the server/default/lib folder (e.g. to ensure that the patched jboss-remoting.jar is loaded before jbossall-client.jar).
I am wondering if so little people have this configuration: Running JBoss AS instances against a JBoss ESB using MDBs. It would be nice to have some more hints - for each release - which jars/settings have to be considered. I hardly found anything (googeling, searching the Wiki) regarding this combination.
Regards
Stefan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179256#4179256
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179256
17 years, 6 months