[JBoss jBPM] - EJB-JBPM: transaction clash (rollbacks)
by Johan.Parent
Hi all,
I'm in desperate need for some pointers. I try to introduce jbpm (3.1.4) into an existing EJB2.X app. The jbpm code is wrapped in the thoroughly tested session bean, works. When the 2 are put together things collide. Monitoring of the db queries indicates that the business logic and jbpm are doing there work. BUT all the work is finally undone by a rollback on the db connection.
Unfortunately I can't cut&paste the logged data here. But in a nutshell: the app does a few selects then call the jbpm code to start a process. Nothing more. Any, really ANY, pointer would be welcome.
Best regards,
Johan
The setting:
- weblogic 8.1
- sybase
- jbpm 3.1.4
- both apps use the same datasource
- DbPersistenceServiceFactory:
| <field name="isTransactionEnabled"><false /></field>
|
- hibernate settings:
| <property name="dialect">org.hibernate.dialect.SybaseDialect</property>
| <property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
| <property name="hibernate.connection.datasource">tx_sybase</property>
| <property name="hibernate.transaction.factory_class">org.hibernate.transaction.CMTTransactionFactory</property>
| <property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.WeblogicTransactionManagerLookup</property>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063979#4063979
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063979
19Â years
[JBoss Portal] - Re: Not able to compile from the source portal 2.6
by prassana
My previous append is not formatted correctly. here it is.
------
Hello,
My Env details
----------------
JBoss Portal Version: 2.6
Did you get Portal from CVS? or download it? : Downloaded it.
JBoss AS Version: 4.0.5
Database Vendor and Version : SQL 2005
JDBC Connector and Version : jtds 1.2
OS Platform: Unix Solaris x86.
Error I get when I just do PORTAL_SRC/build/build.sh
dependancies downladed
| .
| .
| .
| .
|
|
| [get-sleepycat] Getting: http://repository.jboss.com/licenses/sleepycat.txt
| [get-sleepycat] To: /u/janarthp/proj/jboss-portal-2.6-src/build/../thirdparty/licenses/sleepycat.txt
| [get-sleepycat] .
| [get-sleepycat] last modified = Mon Apr 09 21:51:59 IST 2007
| [get-license-info.xml] Getting: http://repository.jboss.com/licenses/license-info.xml
| [get-license-info.xml] To: /u/janarthp/proj/jboss-portal-2.6-src/build/../thirdparty/licenses/license-info.xml
| [get-license-info.xml] ..
| [get-license-info.xml] last modified = Mon Apr 09 21:51:59 IST 2007
|
| _buildmagic:init:
| Trying to override old definition of task property
|
| configure-project:
| [echo] groups: default
| [echo] modules: common,test,api,web,jems,server,security,identity,search,format,portlet,portlet-server,bridge,faces,portlet-federation,theme,workflow,cms,registration,core,wsrp,core-admin,core-cms,core-management,core-samples,widget
|
| _buildmagic:modules:most:
|
| ==============================================================
| ==
| == Executing 'most' in module 'common'...
| ==
| ==
|
| configure:
| Overriding previous definition of reference to apache.ant.classpath
|
| _default:compile-classes:
| [mkdir] Created dir: /u/janarthp/proj/jboss-portal-2.6-src/common/output/classes
| [mkdir] Created dir: /u/janarthp/proj/jboss-portal-2.6-src/common/output/gen/classes
| [javac] Compiling 192 source files to /u/janarthp/proj/jboss-portal-2.6-src/common/output/classes
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:34: package org.jboss.portal.common.test.driver.command does not exist
| [execmodules] import org.jboss.portal.common.test.driver.command.StartTestCommand;
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:36: cannot find symbol
| [execmodules] symbol : class FailureResponse
| [execmodules] location: package org.jboss.portal.common.test.driver.response
| [execmodules] import org.jboss.portal.common.test.driver.response.FailureResponse;
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:31: cannot find symbol
| [execmodules] symbol : class ParameterNotBoundException
| [execmodules] location: package org.jboss.portal.common.test.driver
| [execmodules] import org.jboss.portal.common.test.driver.ParameterNotBoundException;
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:34: package org.jboss.portal.common.test.driver.command does not exist
| [execmodules] import org.jboss.portal.common.test.driver.command.StartTestCommand;
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:35: cannot find symbol
| [execmodules] symbol : class EndTestResponse
| [execmodules] location: package org.jboss.portal.common.test.driver.response
| [execmodules] import org.jboss.portal.common.test.driver.response.EndTestResponse;
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:37: cannot find symbol
| [execmodules] symbol : class FailureResponse
| [execmodules] location: package org.jboss.portal.common.test.driver.response
| [execmodules] import org.jboss.portal.common.test.driver.response.FailureResponse;
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/ThrowableDecoder.java:28: cannot find symbol
| [execmodules] symbol : class FailureResponse
| [execmodules] location: package org.jboss.portal.common.test.driver.response
| [execmodules] import org.jboss.portal.common.test.driver.response.FailureResponse;
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/adapter/ClassAdapter.java:75: cannot find symbol
| [execmodules] symbol : class DefaultJavaLangObjectAdapted
| [execmodules] location: class org.jboss.portal.common.adapter.ClassAdapter
| [execmodules] this(loader, adapteds, new DefaultJavaLangObjectAdapted());
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/adapter/ClassAdapter.java:106: cannot find symbol
| [execmodules] symbol : class JavaLangObjectMethodDispatcherFactory
| [execmodules] location: class org.jboss.portal.common.adapter.ClassAdapter
| [execmodules] addAdapted(Object.class, new JavaLangObjectMethodDispatcherFactory(objectAdapted));
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/adapter/ClassAdapter.java:127: cannot find symbol
| [execmodules] symbol : class AdaptedMethodDispatcherFactory
| [execmodules] location: class org.jboss.portal.common.adapter.ClassAdapter
| [execmodules] addAdapted(adapted.itf, new AdaptedMethodDispatcherFactory(adapted.object));
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/i18n/LocaleFormat.java:39: cannot find symbol
| [execmodules] symbol : class RFC3066LanguageTagLocaleFormat
| [execmodules] location: interface org.jboss.portal.common.i18n.LocaleFormat
| [execmodules] final LocaleFormat RFC3066_LANGUAGE_TAG = new RFC3066LanguageTagLocaleFormat();
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/i18n/LocaleFormat.java:45: cannot find symbol
| [execmodules] symbol : class RFC3066LanguageTagLocaleFormat
| [execmodules] location: interface org.jboss.portal.common.i18n.LocaleFormat
| [execmodules] final LocaleFormat RFC3066_LANGUAGE_TAG_NO_CACHE = new CachingLocaleFormat(new RFC3066LanguageTagLocaleFormat());
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/net/URLTools.java:112: warning: [deprecation] setConnectionTimeout(int) in org.apache.commons.httpclient.HttpClient has been deprecated
| [execmodules] client.setConnectionTimeout(connTimeoutMillis);
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/net/URLTools.java:116: warning: [deprecation] setTimeout(int) in org.apache.commons.httpclient.HttpClient has been deprecated
| [execmodules] client.setTimeout(soTimeoutMillis);
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingRequestWrapper.java:43: warning: [deprecation] getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated
| [execmodules] public class BufferingRequestWrapper extends HttpServletRequestWrapper
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingRequestWrapper.java:43: warning: [deprecation] isRequestedSessionIdFromUrl() in javax.servlet.http.HttpServletRequest has been deprecated
| [execmodules] public class BufferingRequestWrapper extends HttpServletRequestWrapper
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingRequestWrapper.java:43: warning: [deprecation] getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated
| [execmodules] public class BufferingRequestWrapper extends HttpServletRequestWrapper
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingResponseWrapper.java:140: warning: [deprecation] setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
| [execmodules] public void setStatus(int arg0, String arg1)
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingResponseWrapper.java:42: warning: [deprecation] encodeRedirectUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
| [execmodules] public class BufferingResponseWrapper extends HttpServletResponseWrapper
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingResponseWrapper.java:42: warning: [deprecation] encodeUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
| [execmodules] public class BufferingResponseWrapper extends HttpServletResponseWrapper
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:119: cannot find symbol
| [execmodules] symbol: class StartTestCommand
| [execmodules] StartTestCommand st = new StartTestCommand(parametrization);
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:119: cannot find symbol
| [execmodules] symbol: class StartTestCommand
| [execmodules] StartTestCommand st = new StartTestCommand(parametrization);
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:121: cannot find symbol
| [execmodules] symbol: class FailureResponse
| [execmodules] if (resp instanceof FailureResponse)
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:123: cannot find symbol
| [execmodules] symbol: class FailureResponse
| [execmodules] FailureResponse fr = (FailureResponse)resp;
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:123: cannot find symbol
| [execmodules] symbol: class FailureResponse
| [execmodules] FailureResponse fr = (FailureResponse)resp;
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:112: cannot find symbol
| [execmodules] symbol : class StartTestCommand
| [execmodules] location: class org.jboss.portal.common.test.junit.POJOJUnitTest
| [execmodules] StartTestCommand start = (StartTestCommand)command;
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:112: cannot find symbol
| [execmodules] symbol : class StartTestCommand
| [execmodules] location: class org.jboss.portal.common.test.junit.POJOJUnitTest
| [execmodules] StartTestCommand start = (StartTestCommand)command;
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:138: cannot find symbol
| [execmodules] symbol : class ParameterNotBoundException
| [execmodules] location: class org.jboss.portal.common.test.junit.POJOJUnitTest
| [execmodules] throw new ParameterNotBoundException(parameterName);
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:159: cannot find symbol
| [execmodules] symbol : class EndTestResponse
| [execmodules] location: class org.jboss.portal.common.test.junit.POJOJUnitTest
| [execmodules] return new EndTestResponse();
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:176: cannot find symbol
| [execmodules] symbol : class FailureResponse
| [execmodules] location: class org.jboss.portal.common.test.junit.POJOJUnitTest
| [execmodules] return new FailureResponse(cause);
| [execmodules] ^
| [execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/ThrowableDecoder.java:55: cannot find symbol
| [execmodules] symbol : class FailureResponse
| [execmodules] location: class org.jboss.portal.common.test.junit.ThrowableDecoder
| [execmodules] return new FailureResponse(afe);
| [execmodules] ^
| [execmodules] 23 errors
| [execmodules] 8 warnings
|
| BUILD FAILED
| /u/janarthp/proj/jboss-portal-2.6-src/tools/etc/buildfragments/buildmagic.ent:273: The following error occurred while executing this line:
| /u/janarthp/proj/jboss-portal-2.6-src/tools/etc/buildfragments/buildmagic.ent:395: Compile failed; see the compiler error output for details.
|
| Total time: 16 minutes 8 seconds
| janarthp@desh0005:/u/janarthp/proj/jboss-portal-2.6-src/build>
Could you please let me know what is I'm missing here.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063970#4063970
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063970
19Â years
[JBoss Portal] - Not able to compile from the source portal 2.6
by prassana
Hello,
My Env details
----------------
JBoss Portal Version: 2.6
Did you get Portal from CVS? or download it? : Downloaded it.
JBoss AS Version: 4.0.5
Database Vendor and Version : SQL 2005
JDBC Connector and Version : jtds 1.2
OS Platform: Unix Solaris x86.
Error I get when I just do PORTAL_SRC/build/build.sh
dependancies downladed
.
.
.
.
[get-sleepycat] Getting: http://repository.jboss.com/licenses/sleepycat.txt
[get-sleepycat] To: /u/janarthp/proj/jboss-portal-2.6-src/build/../thirdparty/licenses/sleepycat.txt
[get-sleepycat] .
[get-sleepycat] last modified = Mon Apr 09 21:51:59 IST 2007
[get-license-info.xml] Getting: http://repository.jboss.com/licenses/license-info.xml
[get-license-info.xml] To: /u/janarthp/proj/jboss-portal-2.6-src/build/../thirdparty/licenses/license-info.xml
[get-license-info.xml] ..
[get-license-info.xml] last modified = Mon Apr 09 21:51:59 IST 2007
_buildmagic:init:
Trying to override old definition of task property
configure-project:
[echo] groups: default
[echo] modules: common,test,api,web,jems,server,security,identity,search,format,portlet,portlet-server,bridge,faces,portlet-federation,theme,workflow,cms,registration,core,wsrp,core-admin,core-cms,core-management,core-samples,widget
_buildmagic:modules:most:
==============================================================
==
== Executing 'most' in module 'common'...
==
==
configure:
Overriding previous definition of reference to apache.ant.classpath
_default:compile-classes:
[mkdir] Created dir: /u/janarthp/proj/jboss-portal-2.6-src/common/output/classes
[mkdir] Created dir: /u/janarthp/proj/jboss-portal-2.6-src/common/output/gen/classes
[javac] Compiling 192 source files to /u/janarthp/proj/jboss-portal-2.6-src/common/output/classes
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:34: package org.jboss.portal.common.test.driver.command does not exist
[execmodules] import org.jboss.portal.common.test.driver.command.StartTestCommand;
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:36: cannot find symbol
[execmodules] symbol : class FailureResponse
[execmodules] location: package org.jboss.portal.common.test.driver.response
[execmodules] import org.jboss.portal.common.test.driver.response.FailureResponse;
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:31: cannot find symbol
[execmodules] symbol : class ParameterNotBoundException
[execmodules] location: package org.jboss.portal.common.test.driver
[execmodules] import org.jboss.portal.common.test.driver.ParameterNotBoundException;
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:34: package org.jboss.portal.common.test.driver.command does not exist
[execmodules] import org.jboss.portal.common.test.driver.command.StartTestCommand;
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:35: cannot find symbol
[execmodules] symbol : class EndTestResponse
[execmodules] location: package org.jboss.portal.common.test.driver.response
[execmodules] import org.jboss.portal.common.test.driver.response.EndTestResponse;
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:37: cannot find symbol
[execmodules] symbol : class FailureResponse
[execmodules] location: package org.jboss.portal.common.test.driver.response
[execmodules] import org.jboss.portal.common.test.driver.response.FailureResponse;
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/ThrowableDecoder.java:28: cannot find symbol
[execmodules] symbol : class FailureResponse
[execmodules] location: package org.jboss.portal.common.test.driver.response
[execmodules] import org.jboss.portal.common.test.driver.response.FailureResponse;
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/adapter/ClassAdapter.java:75: cannot find symbol
[execmodules] symbol : class DefaultJavaLangObjectAdapted
[execmodules] location: class org.jboss.portal.common.adapter.ClassAdapter
[execmodules] this(loader, adapteds, new DefaultJavaLangObjectAdapted());
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/adapter/ClassAdapter.java:106: cannot find symbol
[execmodules] symbol : class JavaLangObjectMethodDispatcherFactory
[execmodules] location: class org.jboss.portal.common.adapter.ClassAdapter
[execmodules] addAdapted(Object.class, new JavaLangObjectMethodDispatcherFactory(objectAdapted));
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/adapter/ClassAdapter.java:127: cannot find symbol
[execmodules] symbol : class AdaptedMethodDispatcherFactory
[execmodules] location: class org.jboss.portal.common.adapter.ClassAdapter
[execmodules] addAdapted(adapted.itf, new AdaptedMethodDispatcherFactory(adapted.object));
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/i18n/LocaleFormat.java:39: cannot find symbol
[execmodules] symbol : class RFC3066LanguageTagLocaleFormat
[execmodules] location: interface org.jboss.portal.common.i18n.LocaleFormat
[execmodules] final LocaleFormat RFC3066_LANGUAGE_TAG = new RFC3066LanguageTagLocaleFormat();
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/i18n/LocaleFormat.java:45: cannot find symbol
[execmodules] symbol : class RFC3066LanguageTagLocaleFormat
[execmodules] location: interface org.jboss.portal.common.i18n.LocaleFormat
[execmodules] final LocaleFormat RFC3066_LANGUAGE_TAG_NO_CACHE = new CachingLocaleFormat(new RFC3066LanguageTagLocaleFormat());
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/net/URLTools.java:112: warning: [deprecation] setConnectionTimeout(int) in org.apache.commons.httpclient.HttpClient has been deprecated
[execmodules] client.setConnectionTimeout(connTimeoutMillis);
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/net/URLTools.java:116: warning: [deprecation] setTimeout(int) in org.apache.commons.httpclient.HttpClient has been deprecated
[execmodules] client.setTimeout(soTimeoutMillis);
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingRequestWrapper.java:43: warning: [deprecation] getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated
[execmodules] public class BufferingRequestWrapper extends HttpServletRequestWrapper
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingRequestWrapper.java:43: warning: [deprecation] isRequestedSessionIdFromUrl() in javax.servlet.http.HttpServletRequest has been deprecated
[execmodules] public class BufferingRequestWrapper extends HttpServletRequestWrapper
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingRequestWrapper.java:43: warning: [deprecation] getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated
[execmodules] public class BufferingRequestWrapper extends HttpServletRequestWrapper
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingResponseWrapper.java:140: warning: [deprecation] setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
[execmodules] public void setStatus(int arg0, String arg1)
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingResponseWrapper.java:42: warning: [deprecation] encodeRedirectUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
[execmodules] public class BufferingResponseWrapper extends HttpServletResponseWrapper
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/servlet/BufferingResponseWrapper.java:42: warning: [deprecation] encodeUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated
[execmodules] public class BufferingResponseWrapper extends HttpServletResponseWrapper
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:119: cannot find symbol
[execmodules] symbol: class StartTestCommand
[execmodules] StartTestCommand st = new StartTestCommand(parametrization);
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:119: cannot find symbol
[execmodules] symbol: class StartTestCommand
[execmodules] StartTestCommand st = new StartTestCommand(parametrization);
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:121: cannot find symbol
[execmodules] symbol: class FailureResponse
[execmodules] if (resp instanceof FailureResponse)
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:123: cannot find symbol
[execmodules] symbol: class FailureResponse
[execmodules] FailureResponse fr = (FailureResponse)resp;
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/JUnitAdapter.java:123: cannot find symbol
[execmodules] symbol: class FailureResponse
[execmodules] FailureResponse fr = (FailureResponse)resp;
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:112: cannot find symbol
[execmodules] symbol : class StartTestCommand
[execmodules] location: class org.jboss.portal.common.test.junit.POJOJUnitTest
[execmodules] StartTestCommand start = (StartTestCommand)command;
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:112: cannot find symbol
[execmodules] symbol : class StartTestCommand
[execmodules] location: class org.jboss.portal.common.test.junit.POJOJUnitTest
[execmodules] StartTestCommand start = (StartTestCommand)command;
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:138: cannot find symbol
[execmodules] symbol : class ParameterNotBoundException
[execmodules] location: class org.jboss.portal.common.test.junit.POJOJUnitTest
[execmodules] throw new ParameterNotBoundException(parameterName);
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:159: cannot find symbol
[execmodules] symbol : class EndTestResponse
[execmodules] location: class org.jboss.portal.common.test.junit.POJOJUnitTest
[execmodules] return new EndTestResponse();
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/POJOJUnitTest.java:176: cannot find symbol
[execmodules] symbol : class FailureResponse
[execmodules] location: class org.jboss.portal.common.test.junit.POJOJUnitTest
[execmodules] return new FailureResponse(cause);
[execmodules] ^
[execmodules] /u/janarthp/proj/jboss-portal-2.6-src/common/src/main/org/jboss/portal/common/test/junit/ThrowableDecoder.java:55: cannot find symbol
[execmodules] symbol : class FailureResponse
[execmodules] location: class org.jboss.portal.common.test.junit.ThrowableDecoder
[execmodules] return new FailureResponse(afe);
[execmodules] ^
[execmodules] 23 errors
[execmodules] 8 warnings
BUILD FAILED
/u/janarthp/proj/jboss-portal-2.6-src/tools/etc/buildfragments/buildmagic.ent:273: The following error occurred while executing this line:
/u/janarthp/proj/jboss-portal-2.6-src/tools/etc/buildfragments/buildmagic.ent:395: Compile failed; see the compiler error output for details.
Total time: 16 minutes 8 seconds
janarthp@desh0005:/u/janarthp/proj/jboss-portal-2.6-src/build>
Could you please let me know what is I'm missing here.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063968#4063968
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063968
19Â years
[JBoss Messaging] - Clustered post office exception
by twistah
Hi !
Not sure if this is the right board, but here goes.
We have two nodes running JBoss 4.2.0 with JBoss messaging 1.3.0GA. We have also updated JBoss Remoting to version 2.2.0.SP1.
Whenever we start up the nodes, the first node spits out the following stacktrace every 3-4 seconds.
I've searched all that I know and am unable to find any pointers to what causes this. Is it my configuration ?
2007-07-13 14:34:08,126 ERROR [org.jgroups.protocols.UDP] error processing incoming message
| java.lang.IllegalStateException: org.jboss.messaging.core.local.PagingFilteredQueue
| at org.jboss.messaging.core.plugin.postoffice.cluster.DefaultClusteredPostOffice.updateQueueStats(DefaultClusteredPostOffice.java:857)
| at org.jboss.messaging.core.plugin.postoffice.cluster.QueueStatsRequest.execute(QueueStatsRequest.java:61)
| at org.jboss.messaging.core.plugin.postoffice.cluster.DefaultClusteredPostOffice$DataReceiver.receive(DefaultClusteredPostOffice.java:2469)
| at org.jgroups.JChannel.up(JChannel.java:1102)
| at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:382)
| at org.jgroups.stack.ProtocolStack.receiveUpEvent(ProtocolStack.java:398)
| at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
| at org.jgroups.protocols.pbcast.GMS.up(GMS.java:768)
| at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
| at org.jgroups.protocols.pbcast.GMS.receiveUpEvent(GMS.java:788)
| at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
| at org.jgroups.protocols.VIEW_SYNC.up(VIEW_SYNC.java:154)
| at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
| at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
| at org.jgroups.protocols.FRAG.up(FRAG.java:168)
| at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
| at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
| at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:258)
| at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
| at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
| at org.jgroups.protocols.UNICAST.up(UNICAST.java:259)
| at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
| at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
| at org.jgroups.protocols.pbcast.NAKACK.handleMessage(NAKACK.java:685)
| at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:517)
| at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
| at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
| at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:170)
| at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
| at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
| at org.jgroups.protocols.FD.up(FD.java:300)
| at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
| at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
| at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:301)
| at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
| at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
| at org.jgroups.protocols.MERGE2.up(MERGE2.java:162)
| at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
| at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
| at org.jgroups.protocols.Discovery.up(Discovery.java:225)
| at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
| at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
| at org.jgroups.stack.Protocol.up(Protocol.java:547)
| at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470)
| at org.jgroups.stack.Protocol.passUp(Protocol.java:520)
| at org.jgroups.protocols.TP.handleIncomingMessage(TP.java:908)
| at org.jgroups.protocols.TP.access$900(TP.java:45)
| at org.jgroups.protocols.TP$IncomingMessageHandler.run(TP.java:1344)
| at java.lang.Thread.run(Thread.java:595)
Thanks !
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063966#4063966
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063966
19Â years
[EJB/JBoss] - Remote EJB
by kalyanbikkani
Hi all,
I want connect remote ejb which is deployed in jboss4.0.5 from swing application.
It works fine in both(jboss+swing app) are in same system and also works fine both r in external ips like (123.*.*.*) but not working external ips like 123*.*.* & 61.*.*.*.
my remote ejb connection in swing app is
| Properties p = new Properties();
|
| p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.HttpNamingContextFactory");
| p.put(Context.PROVIDER_URL, "http://"+remoteSystemIP+":9999/invoker/JNDIFactory");
| |
| | i got an exception like this
| |
| | javax.naming.CommunicationException: Operation failed [Root exception is java.rm
| | | i.ServerException: IOE; nested exception is:
| | | java.net.UnknownHostException: chambers]
| | | at org.jboss.naming.interceptors.ExceptionInterceptor.invoke(ExceptionIn
| | | terceptor.java:65)
| | | at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:7
| | | 0)
| | | at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodIntercepto
| | | r.java:74)
| | | at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
| | | at $Proxy0.lookup(Unknown Source)
| | | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
| | | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
| | | at javax.naming.InitialContext.lookup(InitialContext.java:351)
| | | at com.ehms.database.RemoteObjectInvocation.getRemoteObject(RemoteObject
| | | Invocation.java:43)
| | | at com.ehms.sales.AdminMainFrame$24.actionPerformed(AdminMainFrame.java:
| | | 991)
| | | at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18
| | | 49)
| | | at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
| | | a:2169)
| | | at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
| | | .java:420)
| | | at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
| | | )
| | | at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
| | | at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1
| | | 000)
| | | at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMen
| | | uItemUI.java:1041)
| | | at java.awt.Component.processMouseEvent(Component.java:5488)
| | | at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
| | | at java.awt.Component.processEvent(Component.java:5253)
| | | at java.awt.Container.processEvent(Container.java:1966)
| | | at java.awt.Component.dispatchEventImpl(Component.java:3955)
| | | at java.awt.Container.dispatchEventImpl(Container.java:2024)
| | | at java.awt.Component.dispatchEvent(Component.java:3803)
| | | at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212
| | | )
| | | at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
| | |
| | | at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
| | | at java.awt.Container.dispatchEventImpl(Container.java:2010)
| | | at java.awt.Window.dispatchEventImpl(Window.java:1766)
| | | at java.awt.Component.dispatchEvent(Component.java:3803)
| | | at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
| |
| | Pls help me
| |
| | Thanks&Regards,
| | kalyan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063963#4063963
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063963
19Â years