[jboss-user] [EJB 3.0] - Re: [FieldBeanProperty] failed to set value Proxy to jboss.j

2009-03-23 Thread ALRubinger
"buki79" wrote : seems this helped. Thanks!

Cool.

Would you please open a JIRA under the EJBTHREE project requesting that I 
enhance the error message to account for this case?  While true that the CLs 
didn't match, they wouldn't in this case, and I want to let the user know 
they're trying to inject into the wrong target type.

"buki79" wrote : Where can I find information on this issue? I thought 
declaring the field as the SessionBean is correct. Why do I have to declare the 
field as the LocalBean interface? 

Clients of EJBs don't directly deal with the bean implementation class but 
instead a proxy which implements your business interfaces.  Have a look at EJB 
3.0 Core Specification Section 3.1.

S,
ALR

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220472#4220472

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220472
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - I am not able to start the JBPM Server(jBpm-3.3.1 GA)

2009-03-23 Thread mamidalasrinivas
I am not  able to start the JBPM Server(jBpm-3.3.1 GA)  through the 
jboss-5.0.0.GA JBoss Server and I am not able to view the jbpm console,could 
somebody help.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220469#4220469

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220469
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - jsessionid missged in the request

2009-03-23 Thread guofeng
Hi,

I used JBoss 4.0.4 GA, which embeds Tomcat 5.5.17.  I found an issue that I can 
not interpret if it is a bug in Tomcat.

When I used domain name (like http://domain.com:8080) to login my my 
application by form-based login, I always got a 400 response. but if I use IP 
addres, everything is ok. 

I find that the cookie header does not exist in the request when I use domain 
name to access my application. the 200 response always contains Set-Cookie 
header with different value for jsessionid.

Could any one kindly tell me what happened?

Thanks for your help very much.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220468#4220468

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220468
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Session portlet to another portlet

2009-03-23 Thread peris
Thanks guys. I have changed all the portlets in same war.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220467#4220467

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220467
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple mail sessions

2009-03-23 Thread h4tr3d
Hi All,

We are use JBoss AS 5.0.0 and we have trouble: we create two mail-services but 
when try get information we got similar data for different jndi.

config:

  | 
  | 
  | 
  | java:/mail/jcCrm
  | 
  |   
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  | 
  | jboss:service=Naming
  |   
  |   
  |   
  | java:/mail/gp
  | 
  |   
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  | 
  | jboss:service=Naming
  |   
  | 

We use next part of code for getting mail-sessions:
session1 = (Session) context.lookup("java:/mail/gp");
  | session2 = (Session) context.lookup("java:/mail/jcCrm");
  | 
  | if (session1 != null) {
  | Properties properties = session1.getProperties();
  | properties.list(out);
  | }
  | 
  | if (session2 != null) {
  | Properties properties = session2.getProperties();
  | properties.list(out);
  | }
  | 
  | out.write(" sesion1.equals(session2) = " + 
session1.equals(session2) + " " + "");
  | 

It provide next result:

  | -- listing properties -- mail.user...@greenparts.ru mail.mime.charset=UTF-8 
mail.transport.protocol=smtp mail.smtp.host=mail.japancar.ru mail.debug=true 
mail.from=no-rep...@greenparts.ru mail.smtp.port=25 mail.smtp.auth=true 
mail.password=
  | 
  | -- listing properties -- mail.user...@greenparts.ru mail.mime.charset=UTF-8 
mail.transport.protocol=smtp mail.smtp.host=mail.japancar.ru mail.debug=true 
mail.from=no-rep...@greenparts.ru mail.smtp.port=25 mail.smtp.auth=true 
mail.password= 
  | sesion1.equals(session2) = false
  | 

So, we can see, that for two different jndi we got similar values. Also, this 
code work fine on JBoss AS 4.2.3.GA

Any ideas?


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220462#4220462

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220462
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss Portal v2.7.1 / Solaris 10 SPARC / No route to hos

2009-03-23 Thread thegman
Hi,

Yeah I was reading this link and found that I should upgrade to WS v3.0.4 GA, 
but finding that is somewhat difficult:

http://www.jboss.org/community/docs/DOC-12633

I suspect it meanst he Web Service stack and not Web Server?

Also should I be using "native" or "metro" or "cxf"?

http://www.jboss.org/jbossws/downloads/



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220461#4220461

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220461
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Question on understanding durable subsciber

2009-03-23 Thread gaohoward
Hi, if your client crached leaving session and connection not closed. You can 
wait for some time to let the server detect the crash. When the serer detectes 
that the client crashed, it will clean up the session and connections. Then you 
can restart your client.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220460#4220460

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220460
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Want to get rid of

2009-03-23 Thread PeterJ
Hmm, no mention of which version of JBoss AS, so I'll assume 5.0.x. If you want 
to get rid of the JBoss AS welcome page, remove the directory 
server/xxx/deploy/ROOT.war. If you want your app's main page to use the root 
context, add a context-root entry to WEB-INF/jboss-web.xml to your WAR file:


  | 
  |/
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220459#4220459

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220459
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Creating new theme and URLs getting prefixed with .war filen

2009-03-23 Thread rconner
Environment:
JBoss Portal version 2.6.7.GA [downloaded it]
JBoss version 4.3.0.GA_CP03_EAP (build: SVNTag=JBPAPP_4_3_0_GA_CP03 
date=200810241616)
[no database used by portal - yet]

OS: Linux 2.6.16.46-0.12-bigsmp (i386)

The problem:

I'm trying to add our own customized theme (based off a copy of industrial 
theme) to portal and created an ep-theme.war file containing:

ep\portal_style.css
  | ep\images\activeTab.gif
  | ...snip...
  | ep\images\remove.gif
  | ep\images\view.gif
  | WEB-INF\portal-themes.xml

WEB-INF\portal-themes.xml contains:

  |
  |   EP
  |   
  |   
  |
  | 

ep\portal_style.css is identical to industrial with the following change:
#logoName {
  | /*  Original Logo...*/
  |background-image: url( images/EPLogo.gif );
  | 

After dropping ep-theme.war in JBoss deploy directory, looking at the log files 
seems fine like with the exception that ThemeLink is creating or making links 
like "/ep-theme/themes/ep/..."

And, after configuring the page to use the new "EP" theme, I get no logo, a 
whole lot of blank space with the login/admin nav links.

Looking at the page source, I see that same "/ep-theme/" mangling of the URLs:
...
  | 
  | 
  | ...

This seems to be similar to a prior jira entry: 
https://jira.jboss.org/jira/browse/JBPORTAL-1105 but that shows resolved as of 
2.6.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220456#4220456

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220456
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Want to get rid of "Welcome to JBoss"

2009-03-23 Thread MikePhoenix
What is the easiest way to direct a user who tries to get to our host away from 
the "Welcome to JBoss" page? 
It has been suggested that we use a virtual host, but I find the JBoss 
documentation very confusing and lacking in details. Also it appears that we 
would have to make changes to application configuration files which would need 
to be changed every time we deployed on test and then deployed on production. 
Any suggestions on a better method or directions to some clear explanation of 
how to set up a virtual host on JBoss if that's the only way to get rid of this 
page. Neither the docs at 
http://docs.jboss.org/jbossas/guides/webguide/r2/en/html/ch07.html or the wiki 
offer comprehensible details.

Thanks,
Mike

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220453#4220453

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220453
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: java.lang.NoClassDefFoundError: javax/el/CompositeELReso

2009-03-23 Thread aslocal
Rats!  I meant I get this error:

java.lang.LinkageError: loader constraints violated when linking 
javax/el/ELResolver class
at 
com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:397)
at 
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:189)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312)
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)
at 
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
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: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 $Proxy36.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:688)
at org.jboss.system.ServiceController.start(ServiceController.java:460)
at 
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
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:171)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
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)

[jboss-user] [JBoss Tools (users)] - java.lang.NoClassDefFoundError: javax/el/CompositeELResolver

2009-03-23 Thread aslocal
Hello.  When creating the sample facelet JSF 1.2 project I get the following 
stacktrace on deploy:

16:53:45,664 ERROR [[/]] Error configuring application listener of class 
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
java.lang.NoClassDefFoundError: javax/el/CompositeELResolver
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
at 
org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:258)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3859)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312)
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)
at 
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
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: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 $Proxy36.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:688)
at org.jboss.system.ServiceController.start(ServiceController.java:460)
at 
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
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:171)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at 
org.jboss.dependency

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Random problem (Access is denied) while starting default

2009-03-23 Thread tomespo214
It's Vista Business 32 bit

I checked the "Effective Permissions" for this folder for my user and it shows 
that I have full control.  I'll check into the auditing that you mentioned.  In 
the mean time, here are the results from the icacls command.


  | C:\Users\Tom>icacls C:\devtools\jboss-4.2.3.GA\server\default
  | C:\devtools\jboss-4.2.3.GA\server\default BUILTIN\Administrators:(I)(F)
  |   
BUILTIN\Administrators:(I)(OI)(CI)(IO)(F)
  |   NT AUTHORITY\SYSTEM:(I)(F)
  |   NT 
AUTHORITY\SYSTEM:(I)(OI)(CI)(IO)(F)
  |   BUILTIN\Users:(I)(OI)(CI)(RX)
  |   NT AUTHORITY\Authenticated 
Users:(I)(M)
  |   NT AUTHORITY\Authenticated 
Users:(I)(OI)(CI)(IO)(M)
  | 
  | Successfully processed 1 files; Failed processing 0 files
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220449#4220449

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220449
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Microsoft JDBC Driver for SQL Server 2008 Failure

2009-03-23 Thread PeterJ
Wow, no word whatsoever as to if you followed my advice and copied over the 
mssql-persistence-service.xml file...

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220447#4220447

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220447
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Microsoft JDBC Driver for SQL Server 2008 Failure

2009-03-23 Thread treespace
I guess this means there's a disconnect between the expectations created by the 
server documentation and reality.  HSQL is described as convenience not 
suitable for production. The prescribed solution for production is to point 
your DefaultDS at a production quality database.

The problem is customer-oblivious vendors (read: Microsoft) introducing common 
words to their reserved list. This is easily prevented by choosing some 
variation that is uncommon. 

The next logical place to fix the problem Microsoft introduced here, is not on 
my machine (or the many others who might be tasked with using SQL Server) but 
at the source of the conflict. 

I take it one complete "try" (there's a bunch) of the stack trace will suffice. 
Here it is. 

15:11:55,909 INFO  [ServerPeer] JBoss Messaging 1.4.3.GA server [0] started
15:11:56,080 WARN  [JDBCSupport] SQLException caught, SQLState S0001 code:156- 
assuming deadlock detected, try:1
com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near the 
keyword 'CLUSTERED'.
at 
com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:196)
at 
com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1458)
at 
com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:38
8)
at 
com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:338
)
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:4016)
at 
com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1414)
at 
com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:176)
at 
com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:151)
at 
com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery(SQLServerPreparedStatement.java:281)
at 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:342)
at 
org.jboss.messaging.core.impl.postoffice.MessagingPostOffice$1LoadBindings.doTransaction(MessagingPostOffice.java:249
7)
at 
org.jboss.messaging.core.impl.postoffice.MessagingPostOffice$1LoadBindings.doTransaction(MessagingPostOffice.java:248
0)
at 
org.jboss.messaging.core.impl.JDBCSupport$JDBCTxRunner.execute(JDBCSupport.java:394)
at 
org.jboss.messaging.core.impl.JDBCSupport$JDBCTxRunner.executeWithRetry(JDBCSupport.java:416)
at 
org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.getBindingsFromStorage(MessagingPostOffice.java:2548)
at 
org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.start(MessagingPostOffice.java:363)
at 
org.jboss.messaging.core.jmx.MessagingPostOfficeService.startService(MessagingPostOfficeService.java:462)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)
at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:269)
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.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
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 $Proxy36.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.j
ava: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(AbstractControll

[jboss-user] [Management, JMX/JBoss] - Jboss Mbean invokation

2009-03-23 Thread rahulparashar
Hi,

I am using Jboss as my application server , and trying to invoke an MBean 
through java code. 
My class extends org.jboss.system.ServiceMBeanSupport  , 
the MBean name  is--> 
jboss.jca:name=superPnrDB2DS,service=ManagedConnectionFactory

and my code snippet is 
ObjectName objName=new 
ObjectName("jboss.jca:name=superPnrDB2DS,service=ManagedConnectionFactory");

The problem that i am facing now, is that this works perfectly fine for some of 
the environments , but does not work in others, even though the same version of 
Jboss 4.2 is being used , and the error is

ERROR||com.g2switch.serverstatus.ServerMBeanService||http-clyde/10.194.69.25-8080-1|initializeDBdetails
 : InstanceNotFoundExceptionjboss.jca:name=superPnrDB2DS,service=Managed
ConnectionFactory| .

Please help me in trying to resolve this problem.

Regards
Rahul

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220439#4220439

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220439
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: MDB 'at most, once' delivery (Ack before onMessage)

2009-03-23 Thread azda
For the benefit of someone finding this thread, there is a bug 

https://jira.jboss.org/jira/browse/JBMESSAGING-1554

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220438#4220438

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220438
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: transaction propagation

2009-03-23 Thread asookazian
here is a reply from Ken Saks, spec lead of JSR 318:
anonymous wrote : 
  | On Mar 23, 2009, at 4:26 PM, arbi.sookaz...@cox.com wrote:
  | 
  | 
  | Hello,
  | 
  | I would like to draw attention to this specific part of JSR 318, proposed 
final draft dated Feb 24, 2009, which is the same as in JSR 220, section 
13.3.7.1:
  | 
  | Specifying the TransactionAttribute annotation on the bean class means that 
it applies to all applicable business interface methods of the class.
  | 
  | 
  | 
  | In EJB 3.1 (or later), I'm wondering if it will be possible to demarcate 
transaction attribute value (e.g. REQUIRED, REQUIRES_NEW, etc.) on private, 
protected, or package-private in a SFSB or SLSB (i.e. any method with less than 
public visibility).  The current behavior in EJB 3.0 seems to be that the EJB 
container (in my case JBoss AS) ignores the transaction demarcation annotation 
on a private method and there is no warning from Eclipse, or exception/warning 
during deployment or runtime exception.  
  | 
  | I ran into this problem recently and it took me over *two days* to 
determine the root cause of the behavior in terms of transaction semantics and 
CMT in my SFSB.  My workaround to this problem was to refactor the private 
method to a public method defined in the local interface implemented by a new 
SFSB.  The REQUIRES_NEW transaction demarcation for the public method in the 
new SFSB is now honored by the ejb container.  
  | 
  | Why is it necessary to do this?  We should be able to demarcate non-local 
interface methods or non-remote interface methods with transaction demarcation 
when using CMT.
  | 
  | 
  | 
  | Hi Arbi,
  | 
  | 
  | The behavior you're seeing is not specific to transaction attributes.  All 
the special semantics associated with an EJB component invocation (method 
authorization, container exception handling, threading guarantees, 
container-managed transactions, etc.) only apply to invocations made through an 
EJB reference.  When code already running within a business method invocation 
calls another method on the same class through the "this" pointer, the EJB 
container isn't involved.  Such a method invocation is just a plain Java SE 
method call.  
  | 
  | 
  | If you want to invoke a business method on your bean from another business 
method on the same bean, you'll need to acquire an EJB reference to yourself.  
The easiest way is to call SessionContext.getBusinessObject().  
  | 
  | 
  | 
  | 
  | TestTransactionsLocal ejbRefToMyself =  
sessionCtx.getBusinessObject(TestTransactionsLocal.class)
  | ejbRefToMyself.otherMethod();
  | 
  | 
  | Regards,
  | 
  | 
  | Ken
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220437#4220437

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220437
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - is JBoss SSO ready for production?

2009-03-23 Thread adorandish
is JBoss SSO ready for production?
if yes why?
if no why?
How was your experience with this product? 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220435#4220435

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220435
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Failed to Route Reference[]:RELIABLE to queue

2009-03-23 Thread clebert.suco...@jboss.com
I have seen that when a Clustered Destination is not deployed on every node.

As you should have all your clustered-destinations deployed on every node.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220434#4220434

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220434
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re:

2009-03-23 Thread datasunny
Thanks a lot jaikiran and PeterJ,  the problem is sovled.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220433#4220433

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220433
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Working with holidays

2009-03-23 Thread kukeltje
anonymous wrote : I think it is boring and a common users can't do that..

Boring? h... subjective statement. But I agree that common users can't do 
that. But. it was never meant for common users to change this file. So I do 
not see a real problem 

anonymous wrote : I would you like to know if there's a another way to do that?

Yes there is. You can change the jBPM core so that it reads the file/data from 
somewhere else. Than in addition, you can develop a webapp that helps you 
changing this data. You can even make it configurable per process.

anonymous wrote : I think JBPM doesn't know how to deal with this situation. 
Correct
anonymous wrote : Do you understand me? 
Yes
anonymous wrote : Any idea how to solve it? 
Yes, at least three
1: by writing an application that takes the definition, reads the duedates from 
the definition and recalculates all the new ones PER instance and stores that. 
That is assuming
- you can be sure the duedate should be changed (it was not changed in another 
way) and you know at what date it was set.
- you have the original date so you can recalculate (e.g. it was not based on a 
variable)
-  some other 'hazards'

2: By changing the core of jBPM so it always calculates the duedate (expensive 
in queries!)  based on the latest data

3: By changing the jBPM core so more info about duedates is stored and can be 
used 

(Contributions always welcome ;-))

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220431#4220431

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220431
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: Merging an object twice

2009-03-23 Thread skajotde
Optymistic exception seems correct because you invoke second merge on old 
instance and in database is newest.

I think you should invoke

aMember = getEntityManager().merge(aMember);


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220429#4220429

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220429
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Hot to disable autodeploy seam app on Eclipse

2009-03-23 Thread Yarek
Click right on project and go to Builders properties then uncheck explode 
option.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220428#4220428

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220428
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - SSO ear deployment class cast exception

2009-03-23 Thread adorandish
Problem:
I downloaded the source for the JBoss SSO and followed the instruction given 
in: http://www.jboss.org/community/docs/DOC-12304

Environment:
OS: Windows Vista
JDK: 1.6.0_11
JBoss: JBoss-5.0.1.GA

Error:
here is the error I get when I start the jboss:

  | 14:33:31,801 ERROR [ProfileServiceBootstrap] Failed to load profile:
  | org.jboss.deployers.spi.DeploymentException: Exception determining 
structure: AbstractVFSDeployment(jboss-federation-server.ear)
  | at 
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
  | at 
org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:85)
  | at 
org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:1000)
  | at 
org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:440)
  | at 
org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:390)
  | at 
org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:300)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:303)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
  | at 
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
  | at org.jboss.Main.boot(Main.java:209)
  | at org.jboss.Main$1.run(Main.java:547)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: java.lang.RuntimeException: Error determining structure: 
jboss-federation-server.ear
  | at 
org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:293)
  | at 
org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:73)
  | at 
org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:196
  | at 
org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:221)
  | at 
org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77)
  | ... 10 more
  | Caused by: java.lang.ClassCastException: 
org.jboss.metadata.ear.jboss.JBoss50DTDAppMetaData cannot be cast to 
org.jboss.metadata.ear.spe
  | at 
org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:160)
  | ... 14 more
  | 14:33:31,818 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: 
SVNTag=JBoss_5_0_1_GA date=200902232048)] Started in 10s:491ms
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220427#4220427

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220427
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: [FieldBeanProperty] failed to set value Proxy to jboss.j

2009-03-23 Thread buki79
Another question concerning this:

Where can I find information on this issue? I thought declaring the field as 
the SessionBean is correct. Why do I have to declare the field as the LocalBean 
interface?

Thanks!

Cheers,

Andreas

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220426#4220426

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220426
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: [FieldBeanProperty] failed to set value Proxy to jboss.j

2009-03-23 Thread buki79
Hi,

seems this helped. Thanks!

Cheers,

Andreas

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220425#4220425

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220425
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Jboss build failure on Solaris SPARC with error can n

2009-03-23 Thread apsingh1
Trying to build jboss4.0.5 and it failes. Please see details as follows..

"apsingh1" wrote : # build.sh
  | Searching for build.xml ...
  | Buildfile: /var/im/jboss/jboss-4.0.5.GA-src/build/build.xml
  | 
  | check.inhibit.downloads:
  | 
  | check.proxy:
  | 
  | set.proxy.withoutauth:
  | 
  | set.proxy.auth:
  | 
  | set.proxy:
  | 
  | createthirdparty:
  | 
  | _buildmagic:init:
  | Trying to override old definition of task property
  | 
  | _buildmagic:init:local-properties:
  | 
  | _buildmagic:init:buildlog:
  | 
  | configure:
  |  [echo] groups:  most
  |  [echo] modules: 
jmx,test,system,naming,j2ee,transaction,security,server,deployment,messaging,connector,remoting-int,jaxrpc,cluster,varia,iiop,management,console,aspects,tomcat,hibernate-int
  | 
  | init:
  | 
  | _buildmagic:modules:most:
  | 
  | ==
  | ==  Executing 'most' in module 'jmx'...
  | ==
  | 
  | _buildmagic:init:
  | 
  | configure:
  | Overriding previous definition of reference to xdoclet.task.classpath
  | 
  | init:
  | 
  | _buildmagic:build-bypass-checker:
  | 
  | _buildmagic:build-bypass-notice:
  | 
  | _buildmagic:build-bypass-check:
  | 
  | output:
  | 
  | _buildmagic:init:
  | 
  | init:
  | 
  | compile-mbean-sources:
  | 
  | _default:compile-classes:
  | [javac] Compiling 594 source files to 
/var/im/jboss/jboss-4.0.5.GA-src/jmx/output/classes
  | [execmodules] 
/var/im/jboss/jboss-4.0.5.GA-src/jmx/src/main/test/compliance/notcompliant/support/InterfaceProblemsMBean.java:25:
 cannot resolve symbol
  | [execmodules] symbol  : class InterfaceProblemsSuperMBean 
  | [execmodules] location: interface 
test.compliance.notcompliant.support.InterfaceProblemsMBean
  | [execmodules]extends InterfaceProblemsSuperMBean
  | [execmodules]^
  | [execmodules] 
/var/im/jboss/jboss-4.0.5.GA-src/jmx/src/main/test/implementation/loading/LoaderRepositoryTEST.java:31:
 warning: javax.management.loading.DefaultLoaderRepository in 
javax.management.loading has been deprecated
  | [execmodules] import javax.management.loading.DefaultLoaderRepository;
  | [execmodules] ^
  | [execmodules] 
/var/im/jboss/jboss-4.0.5.GA-src/jmx/src/main/org/jboss/mx/notification/MBeanServerListenerRegistry.java:94:
 cannot resolve symbol
  | [execmodules] symbol  : class MBeanServerListenerRegistrationFactory 
  | [execmodules] location: class 
org.jboss.mx.notification.MBeanServerListenerRegistry
  | [execmodules] registry = new ListenerRegistry(new 
MBeanServerListenerRegistrationFactory(name, broadcaster));
  | [execmodules] ^
  | [execmodules] 
/var/im/jboss/jboss-4.0.5.GA-src/jmx/src/main/test/compliance/notification/NotificationSUITE.java:54:
 cannot resolve symbol
  | [execmodules] symbol  : class AttributeChangeNotificationFilterTestCase 
  | [execmodules] location: class test.compliance.notification.NotificationSUITE
  | [execmodules] suite.addTest(new 
TestSuite(AttributeChangeNotificationFilterTestCase.class));
  | [execmodules] ^
  | [execmodules] 
/var/im/jboss/jboss-4.0.5.GA-src/jmx/src/main/test/compliance/notification/NotificationSUITE.java:55:
 cannot resolve symbol
  | [execmodules] symbol  : class NotificationBroadcasterSupportTestCase 
  | [execmodules] location: class test.compliance.notification.NotificationSUITE
  | [execmodules] suite.addTest(new 
TestSuite(NotificationBroadcasterSupportTestCase.class));
  | [execmodules] ^
  | [execmodules] 
/var/im/jboss/jboss-4.0.5.GA-src/jmx/src/main/test/compliance/openmbean/OpenMBeanSUITE.java:63:
 cannot resolve symbol
  | [execmodules] symbol  : class OpenMBeanConstructorInfoSupportTestCase 
  | [execmodules] location: class test.compliance.openmbean.OpenMBeanSUITE
  | [execmodules] suite.addTest(new 
TestSuite(OpenMBeanConstructorInfoSupportTestCase.class));
  | [execmodules] ^
  | [execmodules] 
/var/im/jboss/jboss-4.0.5.GA-src/jmx/src/main/test/implementation/loading/LoaderRepositoryTEST.java:100:
 warning: javax.management.loading.DefaultLoaderRepository in 
javax.management.loading has been deprecated
  | [execmodules] DefaultLoaderRepository.loadClass(classes);
  | [execmodules] ^
  | [execmodules] 
/var/im/jboss/jboss-4.0.5.GA-src/jmx/src/main/test/implementation/notification/NotificationSUITE.java:54:
 cannot resolve symbol
  | [execmodules] symbol  : class AsynchNotificationBroadcasterSupportTestCase 
  | [execmodules] location: class 
test.implementation.notification.NotificationSUITE
  | [execmodules] suite.addTest(new 
TestSuite(AsynchNotificationBroadcasterSupportTestCase.class));
  | [execmodules] ^
  | [execmodules] 6 errors
  | [execmodules] 2 warnings
  | 
  | BUILD FAILED
  | /var/im/jboss/jboss-4.0.5.GA-src/to

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Jboss Installation failure on Solaris SPARC with error can n

2009-03-23 Thread apsingh1
# build.sh
Searching for build.xml ...
Buildfile: /var/im/jboss/jboss-4.0.5.GA-src/build/build.xml

check.inhibit.downloads:

check.proxy:

set.proxy.withoutauth:

set.proxy.auth:

set.proxy:

createthirdparty:

_buildmagic:init:
Trying to override old definition of task property

_buildmagic:init:local-properties:

_buildmagic:init:buildlog:

configure:
 [echo] groups:  most
 [echo] modules: 
jmx,test,system,naming,j2ee,transaction,security,server,deployment,messaging,connector,remoting-int,jaxrpc,cluster,varia,iiop,management,console,aspects,tomcat,hibernate-int

init:

_buildmagic:modules:most:

==
==  Executing 'most' in module 'jmx'...
==

_buildmagic:init:

configure:
Overriding previous definition of reference to xdoclet.task.classpath

init:

_buildmagic:build-bypass-checker:

_buildmagic:build-bypass-notice:

_buildmagic:build-bypass-check:

output:

_buildmagic:init:

init:

compile-mbean-sources:

_default:compile-classes:
[javac] Compiling 594 source files to 
/var/im/jboss/jboss-4.0.5.GA-src/jmx/output/classes
[execmodules] 
/var/im/jboss/jboss-4.0.5.GA-src/jmx/src/main/test/compliance/notcompliant/support/InterfaceProblemsMBean.java:25:
 cannot resolve symbol
[execmodules] symbol  : class InterfaceProblemsSuperMBean 
[execmodules] location: interface 
test.compliance.notcompliant.support.InterfaceProblemsMBean
[execmodules]extends InterfaceProblemsSuperMBean
[execmodules]^
[execmodules] 
/var/im/jboss/jboss-4.0.5.GA-src/jmx/src/main/test/implementation/loading/LoaderRepositoryTEST.java:31:
 warning: javax.management.loading.DefaultLoaderRepository in 
javax.management.loading has been deprecated
[execmodules] import javax.management.loading.DefaultLoaderRepository;
[execmodules] ^
[execmodules] 
/var/im/jboss/jboss-4.0.5.GA-src/jmx/src/main/org/jboss/mx/notification/MBeanServerListenerRegistry.java:94:
 cannot resolve symbol
[execmodules] symbol  : class MBeanServerListenerRegistrationFactory 
[execmodules] location: class 
org.jboss.mx.notification.MBeanServerListenerRegistry
[execmodules] registry = new ListenerRegistry(new 
MBeanServerListenerRegistrationFactory(name, broadcaster));
[execmodules] ^
[execmodules] 
/var/im/jboss/jboss-4.0.5.GA-src/jmx/src/main/test/compliance/notification/NotificationSUITE.java:54:
 cannot resolve symbol
[execmodules] symbol  : class AttributeChangeNotificationFilterTestCase 
[execmodules] location: class test.compliance.notification.NotificationSUITE
[execmodules] suite.addTest(new 
TestSuite(AttributeChangeNotificationFilterTestCase.class));
[execmodules] ^
[execmodules] 
/var/im/jboss/jboss-4.0.5.GA-src/jmx/src/main/test/compliance/notification/NotificationSUITE.java:55:
 cannot resolve symbol
[execmodules] symbol  : class NotificationBroadcasterSupportTestCase 
[execmodules] location: class test.compliance.notification.NotificationSUITE
[execmodules] suite.addTest(new 
TestSuite(NotificationBroadcasterSupportTestCase.class));
[execmodules] ^
[execmodules] 
/var/im/jboss/jboss-4.0.5.GA-src/jmx/src/main/test/compliance/openmbean/OpenMBeanSUITE.java:63:
 cannot resolve symbol
[execmodules] symbol  : class OpenMBeanConstructorInfoSupportTestCase 
[execmodules] location: class test.compliance.openmbean.OpenMBeanSUITE
[execmodules] suite.addTest(new 
TestSuite(OpenMBeanConstructorInfoSupportTestCase.class));
[execmodules] ^
[execmodules] 
/var/im/jboss/jboss-4.0.5.GA-src/jmx/src/main/test/implementation/loading/LoaderRepositoryTEST.java:100:
 warning: javax.management.loading.DefaultLoaderRepository in 
javax.management.loading has been deprecated
[execmodules] DefaultLoaderRepository.loadClass(classes);
[execmodules] ^
[execmodules] 
/var/im/jboss/jboss-4.0.5.GA-src/jmx/src/main/test/implementation/notification/NotificationSUITE.java:54:
 cannot resolve symbol
[execmodules] symbol  : class AsynchNotificationBroadcasterSupportTestCase 
[execmodules] location: class test.implementation.notification.NotificationSUITE
[execmodules] suite.addTest(new 
TestSuite(AsynchNotificationBroadcasterSupportTestCase.class));
[execmodules] ^
[execmodules] 6 errors
[execmodules] 2 warnings

BUILD FAILED
/var/im/jboss/jboss-4.0.5.GA-src/tools/etc/buildmagic/buildmagic.ent:435: 
Compile failed; see the compiler error output for details.

Total time: 20 seconds


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220421#4220421

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220421
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] UseJBossWebLoader True or False (which setting means isolated)

2009-03-23 Thread Kashif Ali
Hi,

I have just setup a jboss 4.2.3 server and I have deployed 10 applications

all the applications are WAR files and all of them contain saxon.jar. When I
leave the value:

UseJBossWebLoader to its default to false however this causes
exceptions.

if I set this to true, everything seems happy?

reading the config


false

One would think that to have isolated you leave this value as is? However in
my experiance this is not the case. Can someone please confirm if I am wrong
or not?

If I am not the config file and the wiki documentation should be updated.

Just to note:

Jboss version 4.2.3:
file edited
/opt/jboss/server/test/deploy/jboss-web.deployer/META-INF/jboss-service.xml
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Working with holidays

2009-03-23 Thread desson
Hi all,

I am using the business calendar to calculate the time for a task occurs, 
actually I'm scheduling a job.This class reads 
jbpm.business.calendar.properties to know about the business hour and holidays. 
So, to add holidays I need open this file and edit it, I think it is boring and 
a common users can't do that..I would you like to know if there's a another way 
to do that?

Another question is about the absolute duetime. 
For example: I create  a job today (March 23) with the duration of 3 days. So 
the duedate is today + 3 (March 26). But let's suppose that I add a holiday 
(March 24), the duedate should be calculated again. I think JBPM doesn't know 
how to deal with this situation. Do you understand me? Any idea how to solve it?

thanks in advance



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220418#4220418

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220418
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How to diagnose a web deployment problem?

2009-03-23 Thread Crucifix
Thanks for your response Peter.

I did check the log files, but there was no additional information to work 
with.  Perhaps there's a specific class/package I can add a log appender for, 
to see the reason for the failed deployment?

I'll keep tinkering with it - in the meantime, hopefully someone else has run 
across the same thing and has found an answer and can post here.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220416#4220416

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220416
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: [FieldBeanProperty] failed to set value Proxy to jboss.j

2009-03-23 Thread ALRubinger
Servlet field should be of type TwitterSessionBeanLocal.

S,
ALR

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220415#4220415

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220415
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Question on understanding durable subsciber

2009-03-23 Thread CarstenRudat
Hi all,

I have a question on duralbe subscriptions. I create subscription with the 
following code:


  | TopicConnectionFactory tcf = ...
  | TopicConnection conn = tcf.createTopicConnection(user, pw);
  | Topic topic = (Topic) iniCtx.lookup(...);
  | TopicSession session = conn.createTopicSession(false, 
TopicSession.AUTO_ACKNOWLEDGE);
  | conn.start();
  | TopicSubscriber recv = session.createDurableSubscriber(topic, suscrId);
  | 

If anything with my client fails and I cannot stop conn or session and I again 
try the above code, I will get an error (IllegalStateException "Cannot create a 
subscriber on the durable subscription since it already has subscriber(s)").

What could I do now? I tried to unsubscribe, but then, I get a second 
IllegalStateException "Cannot unsubscribe durable subscription  since it has active subscribers" (JBM says, that there is an active 
subscriber... but it's not active, since my client crashed...). If I restart 
the JBoss Server everythink is ok.

I cannot find it in the JavaDoc/JEE Tutorial, so I wounder what I'm doing wrong.

Any advice?
Thank you,
Carsten

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220414#4220414

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220414
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: [FieldBeanProperty] failed to set value Proxy to jboss.j

2009-03-23 Thread buki79
Hi,

the structure is for the web client

TwitterClient
|
--de.brotkasting.buki.cep.servlets.TwitterViewerServlet


The structure of the ejb project

TwitterPoCEJB
|
--de.brotkasting.buki.cep.beans.TwitterSessionBean

Here's the code:
-Servlet

  | public class TweetViewerServlet extends HttpServlet {
  | 
  | //inject EJB
  | @EJB(name="TweetViewerBean",mappedName="EJBs/TweetViewerBean")  
  | private TwitterSessionBean bean;
  | 

-SessionBean

  | @Stateful(name="TweetViewerBean",mappedName="EJBs/TweetViewerBean")
  | public class TwitterSessionBean implements TwitterSessionBeanRemote,
  | TwitterSessionBeanLocal{
  | 

Best regards,

Andreas

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220411#4220411

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220411
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: [FieldBeanProperty] failed to set value Proxy to jboss.j

2009-03-23 Thread ALRubinger
Would you please post your packaging structure?  Looks like the issue here is 
that the Proxy doesn't have the same defining ClassLoader as the CL that loaded 
TwitterSessionBeanRemote in your app.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220410#4220410

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220410
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: java.lan.ClassCastException when casting to remote bean

2009-03-23 Thread ALRubinger
"manemannen" wrote : SimpleStatefulBeanRemote o = (SimpleStatefulBeanRemote) 
ctx.lookup("simpleserver/" + SimpleStatefulBean.class.getSimpleName() + 
"/remote");
  |   | 
  | 
  | I have seen many examples of this and it introduces a dependency from the 
client to the actual implementation and obsoletes the purpose of interfaces - 
weird

It's actually just that the default JNDI name uses the ejb-name, which in turn 
is "BeanImplementationClass.class.getSimpleName()".  If you manually say 
@Stateless.name == "whatever", then the JNDI name is "appName/whatever/remote". 
 So there's not *really* an impl dependency. ;)

S,
ALR

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220408#4220408

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220408
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: remote access to ejb :java.rmi.UnknownHostException

2009-03-23 Thread xmedeko
Well, the exception says, it cannot find the host "admin-836482f5f". So maybe a 
problem in your network settings? What says "ipconfig.exe /all" (or ifconfig). 
Can you "ping admin-836482f5f"?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220407#4220407

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220407
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Random problem (Access is denied) while starting default

2009-03-23 Thread PeterJ
Which version of Vista? Do you have the Security tab when you view the 
properties of a folder? If you do, try turning on auditing for the 
C:\devtools\jboss-4.2.3.GA\server\default directory, and its subdirectories. 
Then look at the Windows security log and see if it gives any clues (there 
should be an "audit failure" messages, or something like that). 

If you have Vista Home Premium, you can get the Security tab by folliwng this: 
http://www.vistax64.com/tutorials/140723-security-properties-tab-restore-remove.html

Also, what are the security settings for the 
C:\devtools\jboss-4.2.3.GA\server\default directory? You can find out by 
entering:

icacls C:\devtools\jboss-4.2.3.GA\server\default directory

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220404#4220404

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220404
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: transaction propagation

2009-03-23 Thread asookazian
"semanticLance" wrote : similar issue for me and same exception.  the 
difference for me is that i don't have a class-wide transaction attribute set.  
just one method calling another.  caller does not support transactions and the 
called method requires a new transaction.
  | 
  | my methods:
  | 
  | 
  |   | @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
  |   | public void persistInt(SimpleInt myInt) {
  |   | persistIntImplementation(getUser(), myInt);
  |   | }
  |   | 
  |   | 
  |   | @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
  |   | private void persistIntImplementation(User user, SimpleInt myInt) {
  |   | myInt.setValue(myInt.getValue() + 1);
  |   | em.persist(myInt);
  |   | }
  |   | 

this case is the same issue I posted and solved here:
[url]
http://www.seamframework.org/Community/EJB3AndSeamNonatomicTransactionsWithLoopScenario[/url]

bottom line: you can't use @TransactionAttribute annotation on private methods 
in a session bean.  It just ignores it unfortunately which is what took me so 
long to figure this limitation out until I read JSR220.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220403#4220403

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220403
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: remote access to ejb :java.rmi.UnknownHostException

2009-03-23 Thread PeterJ
Is admin-836482f5f in you /etc/hosts file? What operating system are you 
running?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220402#4220402

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220402
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: remote access to ejb :java.rmi.UnknownHostException

2009-03-23 Thread xmedeko
Well, the exception says, it cannot find the host "admin-836482f5f". So maybe a 
problem in your network settings? What says "ipconfig.exe /all" (or ifconfig). 
Can you "ping admin-836482f5f"?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220401#4220401

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220401
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: JBossXACML: how to use attributeselectors

2009-03-23 Thread anil.saldh...@jboss.com
No special configuration is needed. It is provided to you by default.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220399#4220399

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220399
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - [FieldBeanProperty] failed to set value Proxy to jboss.j2ee

2009-03-23 Thread buki79
Hi,

I got the error below on Jboss 5.0.1 (MacOS X). I searched google and found
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=145941&postdays=0&postorder=asc&start=20

But to change the values UseJBossWebloader=true and CallByValue = true, didn't 
help. 

So does anybody have an hint on that?

20:20:01,832 ERROR [FieldBeanProperty] failed to set value Proxy to 
jboss.j2ee:jar=TwitterPoCEJB.jar,name=TweetViewerBean,service=EJB3 implementing 
[interface org.jboss.ejb3.proxy.intf.EjbProxy, interface 
org.jboss.ejb3.proxy.intf.StatefulSessionProxy, interface 
de.brotkasting.buki.cep.beans.TwitterSessionBeanRemote, interface 
org.jboss.ejb3.proxy.intf.SessionProxy] on field private 
de.brotkasting.buki.cep.beans.TwitterSessionBean 
de.brotkasting.buki.cep.servlets.TweetViewerServlet.bean; Reason: ClassLoaders 
of value and target are not equal
java.lang.IllegalArgumentException
at 
sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:63)
at java.lang.reflect.Field.set(Field.java:656)
at 
org.jboss.injection.lang.reflect.FieldBeanProperty.set(FieldBeanProperty.java:74)
at 
org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:119)
at 
org.jboss.web.tomcat.service.TomcatInjectionContainer.processInjectors(TomcatInjectionContainer.java:380)
at 
org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:259)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1006)
at 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:777)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at 
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at 
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:613)
20:20:01,833 INFO  [[/TwitterClient]] Marking servlet TweetViewerServlet as 
unavailable
20:20:01,834 ERROR [[TweetViewerServlet]] Allocate exception for servlet 
TweetViewerServlet
java.lang.IllegalArgumentException: failed to set value Proxy to 
jboss.j2ee:jar=TwitterPoCEJB.jar,name=TweetViewerBean,service=EJB3 implementing 
[interface org.jboss.ejb3.proxy.intf.EjbProxy, interface 
org.jboss.ejb3.proxy.intf.StatefulSessionProxy, interface 
de.brotkasting.buki.cep.beans.TwitterSessionBeanRemote, interface 
org.jboss.ejb3.proxy.intf.SessionProxy] on field private 
de.brotkasting.buki.cep.beans.TwitterSessionBean 
de.brotkasting.buki.cep.servlets.TweetViewerServlet.bean; Reason: ClassLoaders 
of value and target are not equal
at 
org.jboss.injection.lang.reflect.FieldBeanProperty.set(FieldBeanProperty.java:99)
at 
org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:119)
at 
org.jboss.web.tomcat.service.TomcatInjectionContainer.processInjectors(TomcatInjectionContainer.java:380)
at 
org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:259)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1006)
at 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:777)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at 
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at 
org.jboss.web.tomcat.security.SecurityContext

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Random problem (Access is denied) while starting default

2009-03-23 Thread tomespo214
JBoss lives in c:\devtools.

I read somewhere that people are having success when jboss is installed on a 
seperate logical drive.  I'm not sure I want to go that far for JBoss yet.  

This problem is intermittent which makes it even more puzzling.  Here is the 
log from one of the failed startups:

c:\devtools\jboss-4.2.3.GA\bin>run
  | 
===
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: c:\devtools\jboss-4.2.3.GA
  | 
  |   JAVA: C:\devtools\jdk1.5.0_17\bin\java
  | 
  |   JAVA_OPTS:  -Dprogram.name=run.bat -server -Xms128m -Xmx512m 
-Dsun.rmi.dgc.client.gcInterval=36000
  | 00 -Dsun.rmi.dgc.server.gcInterval=360
  | 
  |   CLASSPATH: 
C:\devtools\jdk1.5.0_17\lib\tools.jar;c:\devtools\jboss-4.2.3.GA\bin\run.jar
  | 
  | 
===
  | 
  | 15:22:57,011 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 15:22:57,015 INFO  [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: 
SVNTag=JBoss_4_2_3_GA date=
  | 200807181417)
  | 15:22:57,021 INFO  [Server] Home Dir: C:\devtools\jboss-4.2.3.GA
  | 15:22:57,024 INFO  [Server] Home URL: file:/C:/devtools/jboss-4.2.3.GA/
  | 15:22:57,028 INFO  [Server] Patch URL: null
  | 15:22:57,030 INFO  [Server] Server Name: default
  | 15:22:57,032 INFO  [Server] Server Home Dir: 
C:\devtools\jboss-4.2.3.GA\server\default
  | 15:22:57,034 INFO  [Server] Server Home URL: 
file:/C:/devtools/jboss-4.2.3.GA/server/default/
  | 15:22:57,036 INFO  [Server] Server Log Dir: 
C:\devtools\jboss-4.2.3.GA\server\default\log
  | 15:22:57,039 INFO  [Server] Server Temp Dir: 
C:\devtools\jboss-4.2.3.GA\server\default\tmp
  | 15:22:57,041 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 15:22:57,666 INFO  [ServerInfo] Java version: 1.5.0_17,Sun Microsystems Inc.
  | 15:22:57,668 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 
1.5.0_17-b04,Sun Microsystems In
  | c.
  | 15:22:57,672 INFO  [ServerInfo] OS-System: Windows Vista 6.0,x86
  | 15:22:58,439 INFO  [Server] Core system initialized
  | 15:23:04,354 INFO  [WebService] Using RMI server codebase: 
http://127.0.0.1:8083/
  | 15:23:04,361 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:jboss-log4j.xml
  | 15:23:05,109 INFO  [TransactionManagerService] JBossTS Transaction Service 
(JTA version) - JBoss Inc
  | .
  | 15:23:05,116 INFO  [TransactionManagerService] Setting up property manager 
MBean and JMX layer
  | 15:23:06,016 INFO  [TransactionManagerService] Starting recovery manager
  | 15:23:06,209 INFO  [TransactionManagerService] Recovery manager started
  | 15:23:06,211 INFO  [TransactionManagerService] Binding TransactionManager 
JNDI Reference
  | 15:23:07,499 ERROR [MainDeployer] Could not make local copy for 
file:/C:/devtools/jboss-4.2.3.GA/ser
  | ver/default/deploy/ejb3.deployer/jboss-annotations-ejb3.jar
  | java.io.FileNotFoundException: 
C:\devtools\jboss-4.2.3.GA\server\default\tmp\deploy\tmp7786341511810
  | 865403jboss-annotations-ejb3.jar (Access is denied)
  | at java.io.FileOutputStream.open(Native Method)
  | at java.io.FileOutputStream.(FileOutputStream.java:179)
  | at java.io.FileOutputStream.(FileOutputStream.java:131)
  | at org.jboss.deployment.MainDeployer.copy(MainDeployer.java:1242)
  | at 
org.jboss.deployment.MainDeployer.makeLocalCopy(MainDeployer.java:1187)
  | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:851)
  | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:895)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
  | 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: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(ModelMBeanOperationInterce
  | ptor.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.deploymen

[jboss-user] [JBoss Messaging] - Failed to Route Reference[]:RELIABLE to queue

2009-03-23 Thread java...@gmail.com
Hi, 
   For a queue that is deployed successfully and in fact visible to the 
JmxConsole -- including viewable messages -- I am seeing the following error 
from the JmsClient when attempting to do a send:

javax.jms.JMSException: Failed to route Reference[20275075352295704]:RELIABLE 
to TestQueue

Here is the client code

Queue queue = (Queue) ic.lookup("/queue/TestQueue");
   clog("Queue /queue/TestQueue exists");

MessageProducer sender = session.createProducer(queue);
TextMessage message = session.createTextMessage("Hello from 
client=" + InetAddress.getLocalHost().getHostName());
sender.send(message);


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220392#4220392

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220392
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Viewing Messages in a JMS queue

2009-03-23 Thread java...@gmail.com
I am seeing some messages now when doing the list view, but not consistently. 
If/when I get better clarity I will post more info.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220390#4220390

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220390
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: JBossXACML: Bug in HigherOrderFunction Class of sun's XA

2009-03-23 Thread anil.saldh...@jboss.com
Hi Karin,
  I cannot reproduce the issue with a policy that I mashed up.

http://anonsvn.jboss.org/repos/jbossas/projects/security/security-xacml/trunk/jboss-sunxacml/src/test/resources/policies/function-match/function-match-policy-01.xml

I have been fixing bugs since 2.0.3.CR3. Not sure if that has any effect.  Here 
is the latest snapshot.
http://snapshots.jboss.org/maven2/org/jboss/security/jbossxacml/2.0.3.CR3-SNAPSHOT/

Remember you need just one jbossxacml.jar (No need for jboss-xacml.jar and 
jboss-sunxacml.jar).

If you still have issues, you can email me your test policy (of course not the 
entire policy set collection) highlighting your problem.

Since I am currently participating in an xacml interoperability exercise, I 
will be making frequent CR releases.  I plan to put out a CR4 release this 
week. JBossXACML2.0.3 version will arrive in April.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220383#4220383

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220383
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: transaction propagation

2009-03-23 Thread semanticLance
similar issue for me and same exception.  the difference for me is that i don't 
have a class-wide transaction attribute set.  just one method calling another.  
caller does not support transactions and the called method requires a new 
transaction.

my methods:


  | @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
  | public void persistInt(SimpleInt myInt) {
  | persistIntImplementation(getUser(), myInt);
  | }
  | 
  | 
  | @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
  | private void persistIntImplementation(User user, SimpleInt myInt) {
  | myInt.setValue(myInt.getValue() + 1);
  | em.persist(myInt);
  | }
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220380#4220380

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220380
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss 4.2 multiple instances - properties file location

2009-03-23 Thread PeterJ
Perhaps this will help: 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=152266

Note that there are many system properties describing various directory 
locations, perhaps one of them would be of help.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220373#4220373

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220373
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Re: Server is not Responding ( Jboss 4.2.3.GA with JDK1.5) a

2009-03-23 Thread alberto.silveirajunior
Actually...here the configuration that I have:

Connector port="8080" address="${jboss.bind.address}"
 maxThreads="250" strategy="ms" maxHttpHeaderSize="8192"
 emptySessionPath="true"
 enableLookups="false" redirectPort="8443" acceptCount="100"
 connectionTimeout="2" disableUploadTimeout="true"

thanks...

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220371#4220371

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220371
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossMQ] - Re: XAConnectionFactory not bound: dependancy issue ?

2009-03-23 Thread Toshula
Well,

By changing the jboss deployment order, I managed to solve the issue.
But that's really not elegant, I'm sure there is a better way to configure 
(with a Mbean dependancy ? with a ressource-ref ?)
Anyway, I still wonder why it was working with hssql and why I met such issues 
with mysql.

regards

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220370#4220370

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220370
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Re: Server is not Responding ( Jboss 4.2.3.GA with JDK1.5) a

2009-03-23 Thread alberto.silveirajunior
anonymous wrote : From what i see the maxInstances by default is 20 so i don't 
know how 854 instances were created in first place. Are any configurations 
changed on your setup? 

All configurations (jboss and tomcat) are the default. 

When you said maxInstances, are you talking about that tomcat configuration 
(server.xml)  maxThreads which the default is 250? Or are you talking about 
some other configuration?

Here is the configuration that I have:

  
  

Btw...could you solve your problem?

Also, thanks for your reply/help!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220369#4220369

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220369
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - JBossXACML: how to use attributeselectors

2009-03-23 Thread karink
Hi,
I would like to use the attributeselector feature in JBossPDP.
see 
http://docs.oasis-open.org/xacml/2.0/access_control-xacml-2.0-core-spec-os.pdf 
(chapter 5.42)

Although the attributeselector feature is optional, it would be cool if
jboss xacml could support it in future. (as far as I know Sun xacml supports 
it).

Regards Karin


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220366#4220366

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220366
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - more on jboss sso

2009-03-23 Thread sacauskis
I also get the following crash.  Any Ideas?

Cause: java.lang.RuntimeException: org.jboss.portal.identity.IdentityException: 
userSearchFilter missing in configuration
Message: org.jboss.portal.identity.IdentityException: userSearchFilter missing 
in configuration
StackTrace:

java.lang.RuntimeException: org.jboss.portal.identity.IdentityException: 
userSearchFilter missing in configuration
at 
org.jboss.portal.cms.security.AuthorizationProviderImpl.getRoot(AuthorizationProviderImpl.java:236)
at 
org.jboss.portal.cms.impl.jcr.command.ACLEnforcer.computeAccess(ACLEnforcer.java:383)
at 
org.jboss.portal.cms.impl.jcr.command.ACLEnforcer.hasReadAccess(ACLEnforcer.java:238)
at 
org.jboss.portal.cms.impl.jcr.command.ACLEnforcer.hasReadAccess(ACLEnforcer.java:224)
at 
org.jboss.portal.cms.impl.jcr.command.ACLEnforcer.hasAccess(ACLEnforcer.java:132)
at 
org.jboss.portal.cms.security.AuthorizationManagerImpl.checkPermission(AuthorizationManagerImpl.java:114)
at 
org.jboss.portal.cms.impl.interceptors.ACLInterceptor.invoke(ACLInterceptor.java:190)
at org.jboss.portal.cms.CMSInterceptor.invoke(CMSInterceptor.java:36)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
at org.jboss.portal.cms.impl.jcr.JCRCMS.execute(JCRCMS.java:625)
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 $Proxy246.execute(Unknown Source)
at org.jboss.portal.core.cms.ui.CMSPortlet.doView(CMSPortlet.java:221)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
at 
org.jboss.portal.core.cms.ui.CMSPortlet.doDispatch(CMSPortlet.java:343)
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(Portlet

[jboss-user] [Beginners Corner] - Re: JBoss tutorials

2009-03-23 Thread PeterJ
The Stable Updates are the released versions. These have undergone testing are 
are deemed production worthy. The Development Updates contain the latest 
features and patches from the development team, but they have at most minimal 
testing. Unless you enjoy debugging other peoples code and wondering why 
something no longer works, stick to the Stable Updates.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220356#4220356

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220356
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - JBoss and OpenSSO

2009-03-23 Thread sacauskis
I followed the instructions per the following link:
http://blog.jboss-portal.org/2007/10/jboss-portal-with-opensso-and-opends.html

I'm running opensso 8.0.   I get into an infinite loop between the portal and 
open sso and the following stack trace.  Anybody have any ideas?

2009-03-23 10:40:58,753 INFO  [STDOUT] amSDK:03/23/2009 10:40:58:752 AM PDT: 
Thread[http-0.0.0.0-8081-1,5,jboss]
Constructing a new instance of SSOTokenManager
2009-03-23 10:40:58,755 INFO  [STDOUT] amSDK:03/23/2009 10:40:58:755 AM PDT: 
Thread[http-0.0.0.0-8081-1,5,jboss]
Obtained Grappa SSO Provider
2009-03-23 10:40:58,760 INFO  [STDOUT] amSDK:03/23/2009 10:40:58:760 AM PDT: 
Thread[http-0.0.0.0-8081-1,5,jboss]
Obtained DPRO SSO Provider
2009-03-23 10:40:58,786 INFO  [STDOUT] amNaming:03/23/2009 10:40:58:786 AM PDT: 
Thread[http-0.0.0.0-8081-1,5,jboss]
ERROR: WebtopNaming.getServerId():noServerId
2009-03-23 10:40:58,815 INFO  [STDOUT] amNaming:03/23/2009 10:40:58:814 AM PDT: 
Thread[http-0.0.0.0-8081-1,5,jboss]
ERROR: WebtopNaming.getServerId()
java.lang.Exception: Cannot find server ID.
at 
com.iplanet.services.naming.WebtopNaming.getServerID(WebtopNaming.java:626)
at 
com.iplanet.services.naming.WebtopNaming.getServerID(WebtopNaming.java:590)
at 
com.iplanet.services.naming.WebtopNaming.getAMServerID(WebtopNaming.java:226)
at com.iplanet.dpro.session.Session.(Session.java:311)
at 
com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:88)
at 
com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:239)
at 
org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.getToken(OpenSSOAuthenticationValve.java:214)
at 
org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.invoke(OpenSSOAuthenticationValve.java:76)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
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:262)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
2009-03-23 10:40:58,849 INFO  [STDOUT] amSSOProvider:03/23/2009 10:40:58:848 AM 
PDT: Thread[http-0.0.0.0-8081-1,5,jboss]
could not create SSOToken from HttpRequest
com.iplanet.dpro.session.SessionException: Invalid session ID.
at com.iplanet.dpro.session.Session.getSession(Session.java:970)
at 
com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:88)
at 
com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:239)
at 
org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.getToken(OpenSSOAuthenticationValve.java:214)
at 
org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.invoke(OpenSSOAuthenticationValve.java:76)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
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:262)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
2009-03-23 10:40:58,849 DEBUG 
[org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve] Failed to 
obtain SSO Token: com.iplanet.sso.SSOException: Invalid session ID.
2009-03-23 10:40:58,851 DEBUG 
[org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve] Checking if 
requested uri '/portal' matches secured url patterns: [/authsec/, /auth/, /sec/]

~

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220352#4220352

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220352
___
jboss-user mailing list
jboss-user@lists.j

[jboss-user] [Beginners Corner] - Re: JBoss Startup Failure -- please help

2009-03-23 Thread PeterJ
This is not an error - note that it is a DEBUG log entry.  It simply means that 
CORBA will not be available.

What to you mean by "not able to receive the console for jboss"? What URL are 
you using?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220351#4220351

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220351
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Connection pooling in Jboss

2009-03-23 Thread PeterJ
Change the connection URL in the *-ds.xml file to contain the IP address of 
database server. Use the IP that is visible from the system running JBoss AS 
(based on your description, I think that is 202.14.9.20.10).

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220347#4220347

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220347
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss 4.2 multiple instances - properties file location

2009-03-23 Thread dheerya
Hi,

I have configured multiple instances of JBoss 4.2 on a single machine. I am 
able to start them simultaneously. No issues till here.

Now our application has some properties files which need to be external i.e. 
out of the ear file.

So my question is where should I place it so that the application can find it 
at runtime?

I am running the instances from /bin directory. Below is my folder 
structure.


 -> bin
 -> client
 -> docs
 -> lib
 -> Server -> all
-> default 
-> minimal
-> production -> conf
 -> data 
 -> deploy
 -> lib
 -> hsbc  -> conf
  -> data 
  -> deploy
  -> lib

production and hsbc are the 2 instances that I'm running simultaneously. I 
tried placing the properties files in production/lib directory but the 
application is not able to find it. It throws FileNotFoundException.

Properties files have different properties for 2 instances. So can't keep it in 
a common location like /bin.

Can anyone tell me where should I place my properties files so that application 
can find it?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220338#4220338

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220338
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: sessioncontext getPrincipal returns empty string in 5.0.

2009-03-23 Thread Rhodan
How do you login ? From an remote-client, web-app or anything else ? How looks 
your login code...?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220317#4220317

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220317
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Entity Listeners field level detail

2009-03-23 Thread FrankTheTank
Currently I am doing some investigation into the entity listeners and their 
callbacks.
I have everything set up fine and am getting my callbacks.

But the events are on an object level only (as far as I can tell).

Is it possible to find out in an entity listener callback what fields where 
changed in a transaction?

Possibly directly via the resulting object or alternatively a different way?

thanks

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220316#4220316

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220316
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: remote access to ejb :java.rmi.UnknownHostException

2009-03-23 Thread Andrechan
it was me in that topic :D I had another problem there which I have resolved
admin-836482f5f I think is the name of my machine (googling I find topics 
posted by me :D)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220314#4220314

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220314
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: remote access to ejb :java.rmi.UnknownHostException

2009-03-23 Thread xmedeko
maybe this 

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219806#4219806

can help you?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220310#4220310

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220310
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: remote access to ejb :java.rmi.UnknownHostException

2009-03-23 Thread xmedeko
Nope, but if you try google for "admin-836482f5f" you find some other people 
have encountered this strange string "admin-836482f5f".

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220308#4220308

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220308
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: remote access to ejb :java.rmi.UnknownHostException

2009-03-23 Thread Andrechan
10:55:56,406 ERROR [STDERR] at threads.RemoteTestRunner.doWork(RemoteTestRun
ner.java:87) 


line 87 is this line

NavSenderRemote beanRemote = (NavSenderRemote) 
context.lookup("WSNavEAR/NavSenderBean/remote"); 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220296#4220296

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220296
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: remote access to ejb :java.rmi.UnknownHostException

2009-03-23 Thread Andrechan
On the client. Thanks for the reply. Have you got any idea?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220294#4220294

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220294
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Can't deploy application in jboss 5.0.1

2009-03-23 Thread BjPenn
no one??? is this the wrong place to ask???

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220287#4220287

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220287
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - sessioncontext getPrincipal returns empty string in 5.0.1GA

2009-03-23 Thread jannemaijanen
Hello! 

I'm using JBoss application serer version 5.0.1 GA.

After first succesfull login on a user using custom login module, the 
SessionContext.getPrincipal method returns an empty string. 

Subsecuent calls with same user account return the user name correctly when 
calling getPrincipal. 

anyone have a clue why it is working as described?

Br, Janne

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220284#4220284

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220284
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: AUTO_ACKNOWLEDGE and Duplicate Delivery of Messages

2009-03-23 Thread azda
Ok, great.  Thank you very much!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220278#4220278

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220278
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - JBossXACML: Bug in HigherOrderFunction Class of sun's XACML

2009-03-23 Thread karink
Hi,

there seem's to be a bug in the Class HigherOrderFunction of Sun's XACML 
implementation

  public void checkInputs(List inputs) throws IllegalArgumentException {
  | ...
  | 
  | // make sure the two args are of the same type
  | if (! eval1.getType().equals(eval2.getType()))
  | throw new IllegalArgumentException("input types to the any/all 
" +
  |"functions must match");
  | 
  |  ...
  | }

The code will not work with function 
urn:oasis:names:tc:xacml:2.0:function:anyURI-regexp-match (where the spec 
defines that the two arguments must not be from the same type) -> see also p. 
124 of document 
http://docs.oasis-open.org/xacml/2.0/access_control-xacml-2.0-core-spec-os.pdf

Do you know if there exists a bug fix from sun?

Regards Karin

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220276#4220276

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220276
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss-4.0.5.GA very slow

2009-03-23 Thread jaikiran
>From what you explain, the application that you have deployed on JBoss  is 
>slow and not the server itself. You will have to look into the application to 
>figure out which objects can be lazily loaded so that they can be 
>appropriately configured.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220273#4220273

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220273
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: IP on LoginModule

2009-03-23 Thread Egidijus
"Egidijus" wrote : Thread name parsing is not a solution - name contains IP on 
which was started server. Hence left only delivering IP by the client. 
  | 

I was confused by loging from different client type. Indeed, thread name 
contains IP, but just wonder, if such way is propagated to get IP from the 
thread name on JBoss?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220271#4220271

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220271
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - UseJBossWebLoader True or False

2009-03-23 Thread kashif.ali.uk
Hi,

I have just setup a jboss 4.2.3 server and I have deployed 10 applications

all the applications are WAR files and all of them contain saxon.jar. When I 
leave the value:

UseJBossWebLoader to its default to false however this causes exceptions.

if I set this to true, everything seems happy?

reading the config

  
  false

One would think that to have isolated you leave this value as is? However in my 
experiance this is not the case. Can someone please confirm if I am wrong or 
not?

If I am not the config file and the wiki documentation should be updated.

Just to note:

Jboss version 4.2.3:
file edited 
/opt/jboss/server/test/deploy/jboss-web.deployer/META-INF/jboss-service.xml 



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220269#4220269

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220269
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: javax.persistence.EntityNotFoundException: deleted entit

2009-03-23 Thread Wolfgang Knauf
Hi,

I didn't see that you have a self referencing relationship, sorry for that.

What is the expected behavior? Do you want to delete all related events if one 
event is removed? This makes only sense if you build a tree structure. If you 
have a net of relationships, you shouldn't cascade the removal.

If you want to cascade, I think you have to do some recursion and use the code 
Jochen provided to remove all childs of all childs of all childs of ... 

If you don't want to cascade, Jochen's code should work.

Hope this helps

Wolfgang

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220268#4220268

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220268
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: Limit access by IP address

2009-03-23 Thread fthurber


Should I use a good, old servlet filter? Obviously this would require some Java 
code, but it seems simple to do (and I have used them before): 
http://www.jboss.org/community/docs/DOC-11257

Or should I use a  and subclass JBoss's Generic Handler? 
 Or is this just for web services:  
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4162661

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220254#4220254

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220254
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Problem with Portlet Struts, and input name in a form

2009-03-23 Thread vantek
Hi.

i've got a problem in my form, in a struts web app.

Directly via the action, form is ok, but with struts portlet, there is a 
problem at the "name" tag of a submit input.

Here is the submit input of my form : 


  | 
  | 

Both directly via the action and via the portlet, the generated html is : 



But in my form bean, i've got 2 different things : 
 - Via the action, the property is ok, when I do a getAction() I obtain "Cancel"
 - Via the Struts portlet, when I do a getAction(), I obtain "1".

So there's a problem in the form bean Validator, and my form don't work...
I don't want to work any other way (hidden input, with javascript on the 
submit), because this is an existing Struts web app, and i just have to get it 
work on struts portlet...

Should I open a JIRA issue?

thanks.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220247#4220247

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220247
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: remote access to ejb :java.rmi.UnknownHostException

2009-03-23 Thread xmedeko
The error is printed on the server or on the client?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220240#4220240

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220240
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Re: JNDI, Quartz, and god Is it a weird issue

2009-03-23 Thread Dusteh
Here is the stack I'm receiving,


  | 2009-03-23 08:19:37,906 INFO  [STDOUT] [ERROR] - JRCAgent2 detected an 
exception: Error finding JNDI name (CAMPUSCALL)
  | at 
com.crystaldecisions.reports.reportdefinition.datainterface.a.a(Unknown Source)
  | at 
com.crystaldecisions.reports.reportdefinition.datainterface.a.a(Unknown Source)
  | at 
com.crystaldecisions.reports.reportdefinition.datainterface.a.a(Unknown Source)
  | at 
com.crystaldecisions.reports.reportdefinition.datainterface.a.a(Unknown Source)
  | at 
com.crystaldecisions.reports.reportdefinition.datainterface.g.a(Unknown Source)
  | at com.businessobjects.reports.sdk.b.b.byte(Unknown Source)
  | at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
  | at 
com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
  | at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
  | at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
  | at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
  | at 
com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
  | at 
com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
  | at 
com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown
 Source)
  | at 
com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown
 Source)
  | at 
com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
  | at 
com.rcody.ReportEngine.batching.ReportEngineBatchJob$ExecuteSavedReports.doReportExport(ReportEngineBatchJob.java:950)
  | at 
com.rcody.ReportEngine.batching.ReportEngineBatchJob$ExecuteSavedReports.run(ReportEngineBatchJob.java:543)
  | at 
com.rcody.ReportEngine.batching.ReportEngineBatchJob.runJob(ReportEngineBatchJob.java:218)
  | at 
com.rcody.ReportEngine.batching.ReportEngineBatchJob.execute(ReportEngineBatchJob.java:156)
  | at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
  | 

I'm not sure how much help this is going to be as, I wrote earlier it seems to 
be more of a JNDI configuration issue with Jboss, as it works in all instances 
but through the scheduled process. 

Thanks for the help!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220236#4220236

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220236
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: JBoss tutorials

2009-03-23 Thread oneworld95
BTW, what's the difference between the "Stable Updates" and the "Development 
Updates"?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220234#4220234

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220234
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: JBoss tutorials

2009-03-23 Thread oneworld95
Thanks, PeterJ, for all your invaluable help :)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220231#4220231

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220231
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - java.lang.RuntimeException: java.lang.NoSuchFieldException:

2009-03-23 Thread samvijay
Hi,

While using JBoss AOP in Apache Tomcat 6.0.16, I am getting a strange error 
message, from which I can't make out what is the cause of the error.

below is my AOP file and the error message. Please let me know if you know the 
cause or any pointers to the solution

   
  |   
  |  
  |   
  |   
  | 

Exception message

org.springframework.web.util.NestedServletException: Handler processing failed; 
nested exception is java.lang.ExceptionInInitializerError

org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:860)

org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:755)

org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)

org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:350)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

com.jaspersoft.jasperserver.war.common.UploadMultipartFilter.doFilter(UploadMultipartFilter.java:86)

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)

org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:335)

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)

org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)

org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)

org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)

org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)

com.jaspersoft.jasperserver.api.metadata.user.service.impl.MetadataAuthenticationProcessingFilter.doFilter(MetadataAuthenticationProcessingFilter.java:141)

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)

com.jaspersoft.jasperserver.war.util.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:97)

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)

org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:181)

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)

com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:165)

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)

org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)

com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:165)

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)

org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:191)

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)

org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)

org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:90)

com.jaspersoft.jasperserver.war.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:70)

org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138)

root cause

java.lang.ExceptionInInitializerError

com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.fillReport(EngineServiceImpl.java:661)

com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.fillReport(EngineServiceImpl.java:356)

com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.executeReport(EngineServiceImpl.java:788)

com.jaspersoft.jasperserver.api.engine.jasperreports.domain.impl.ReportUnitRequest.execute(ReportUnitRequest.java:60)

com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.execute(EngineServiceImpl.java:288)

com.jaspersoft.jasperserver.war.action.ViewReportAction.executeReport(ViewReportAction.java:329)

com.jaspersoft.jasperserver.w

[jboss-user] [EJB 3.0] - Re: javax.persistence.EntityNotFoundException: deleted entit

2009-03-23 Thread abcdefghijklmnop
"jochen.reinhardt" wrote : So how do you delete the other entities? What does 
your code look like?
  | 
  | I think the correct way would be to remove the relationship, first. 
Something like that:
  | 
  |   | // clear the relationship
  |   | // depending on your relation context you may have to call 
EntityManager.merge(...)
  |   | List relatedEvents = event.getRelatedEvents();
  |   | for (Event relatedEvent : relatedEvents)
  |   | {
  |   | relatedEvent.getRelatedEvents().remove(event);
  |   | }
  |   | // on both sides! That's important!
  |   | event.setRelatedEvents(new ArrayList(0))
  |   | // remove the event
  |   | entityManager.remove(event);
  |   | 
  | 
  | Please try it that way!

That's exactly how I do it. Like I mentioned, the strange thing is, that the 
error occurs aswell while trying to delete an entity that has no relationships 
to other events.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220222#4220222

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220222
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: IP on LoginModule

2009-03-23 Thread Egidijus
Thread name parsing is not a solution - name contains IP on which was started 
server. Hence left only delivering IP by the client. 


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220216#4220216

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220216
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - JDBC close

2009-03-23 Thread xmedeko
Hi,

I use JDBC in a stateless session bean. (I know it's a bad practice.)  I get 
the connection via the JBoss DataSource 

try {
InitialContext ic = new InitialContext();
dataSource = (DataSource) ic.lookup("java:/testDS");
Connecion conn = dataSource.getConnection();

PreparedStatement ps = ...
ResultSet rs = ps.executeStatemet();

} catch (SQLException e) {
  LOG(...);
  throw new EJBException(e);
} finally {
 DBUtils.close(rs);
 DBUtils.close(ps);
 DBUtils.close(conn);
}


I am not sure, whether is it the right thing to close all JDBC resources in the 
finally clause? AFAIK the container makes a rollback in case of any exception. 
But I do not know, if the container also cleans everything up as well? E.g. 
would be sufficient


try {
InitialContext ic = new InitialContext();
dataSource = (DataSource) ic.lookup("java:/testDS");
Connecion conn = dataSource.getConnection();

PreparedStatement ps = ...
ResultSet rs = ps.executeStatemet();

rs.close();
ps.close();
conn.close();
} catch (SQLException e) {
  LOG(...);
  throw new EJBException(e);
}

Thank you
Andy 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220215#4220215

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220215
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Drools

2009-03-23 Thread thomas.he...@jboss.com
You know that you are on "JBoss Portal" forum ? Not Drools one.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220213#4220213

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220213
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Drools

2009-03-23 Thread Renukadevi.karri
I am using eclipse 3.2, jboss 5.0, and drools-4.0.7.I took drools plugins for 
update Site.I want to use a rule which gives me result from mySql database with 
java web application.

Please provide some sample applications where I can deploy and test directly 
and any documentation for writing Drl files.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220209#4220209

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220209
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - I am not able to run even the sample BPEL Process definition

2009-03-23 Thread mamidalasrinivas
I am using the following configuration:
Eclipse 3.3 Europa, jBpm-3.3.1 GA, JDK 1.6, BPEL 2.0 Facet Editor on 
JBoss-5.0.0.GA.
I am not able to run even the sample BPEL Process definition. Could somebody 
pls tell me the steps to deploy and run a simple BPEL process on JBoss using 
the above configuration? Also how to open the JBPM console? I will appreciate 
any help. 


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220208#4220208

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220208
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: No Content-type in the header

2009-03-23 Thread gurkanerdogdu
Hey,

Nobody cares my question ?? :)

Thanks;

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220206#4220206

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220206
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - JBoss Startup Failure -- please help

2009-03-23 Thread shailesh.dyade
I am getting the following error while I start the Jboss server 5.0 GA

2009-03-23 05:59:10,446 DEBUG 
[org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) Unable to 
retrieve orb
javax.management.InstanceNotFoundException: jboss:service=CorbaORB is not 
registered.
at 
org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:529)
at 
org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:559)
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment$EncListener.lifecycleEvent(TomcatDeployment.java:451)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4388)
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312)
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)
at 
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
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: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 $Proxy36.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:688)
at org.jboss.system.ServiceController.start(ServiceController.java:460)
at 
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
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:171)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
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.incrementSta

[jboss-user] [JBossWS] - java.lang.LinkageError: loader constraint violation:(In JAXW

2009-03-23 Thread GajananM
I created one simple webservice using Jaxws in eclipse and I am using JBOSS5.0 
for deployment. After deploying, wsdl is getting published on server. I could 
create & run a Java POJO client to access the web service successfully, but 
whenever I am creating a web client for the webservice, I am getting errors.

Below code is my webservice client:

XYZService xyzService=new XYZService();
XYZ xyz=xyzService.getXYZPort();
out.println(xyz.sayHello("Welcome"));
System.out.println(xyz.sayHello("Welcome"));

Webservice:
package com.sun.j2ee.blueprints.opc.powebservice;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;


@WebService(name = "XYZ")

@SOAPBinding
   (
 style = SOAPBinding.Style.DOCUMENT,
 use = SOAPBinding.Use.LITERAL,
 parameterStyle = SOAPBinding.ParameterStyle.WRAPPED
)


public class XYZ {

@WebMethod
public String sayHello(@WebParam(name = "name")String name)
{
return "Patni"+name;
}
}

Following is the trace on the server console:

16:04:17,572 ERROR [[Sample]] Servlet.service() for servlet Sample threw 
exception
java.lang.LinkageError: loader constraint violation: when resolving method 
"javax.xml.ws.Service.(Ljava/net/URL;Ljavax/xml/namespace/QName;)V" the class 
loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the 
current class, com/sun/j2ee/blueprints/opc/powebservice/XYZService, and the 
class loader (instance of ) for resolved class, javax/xml/ws/Service, have 
different Class objects for the type javax/xml/namespace/QName used in the 
signature
at 
com.sun.j2ee.blueprints.opc.powebservice.XYZService.(XYZService.java:41)
at 
com.sun.j2ee.blueprints.opc.powebservice.Sample.service(Sample.java:32)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
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:235)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at 
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at 
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
16:15:40,784 ERROR [[Sample]] Servlet.service() for servlet Sample threw 
exception
java.lang.LinkageError: loader constraint violation: when resolving method 
"javax.xml.ws.Service.(Ljava/net/URL;Ljavax/xml/namespace/QName;)V" the class 
loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the 
current class, com/sun/j2ee/blueprints/opc/powebservice/XYZService, and the 
class loader (instance of ) for resolved class, javax/xml/ws/Service, have 
different Class objects for the type javax/xml/namespace/QName used in the 
signature
at 
com.sun.j2ee.blueprints.opc.powebservice.XYZService.(XYZService.java:41)
at 
com.sun.j2ee.blueprints.opc.powebservice.Sample.service(Sample.java:32)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.cat

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deployment error with JBoss 5.0.1, NetBeans 6.5 and JAX-

2009-03-23 Thread jaikiran
"aojensen" wrote : Any alternatives to the flawed Jar file are also welcome.

The best way to fix this is to add the jboss-structure.xml which Ales mentioned 
in his other post. But i don't have an example for that now. 

So, if you are ready to do this, then i would recommend you comment out the 
Ejb3ClientDeployer from the %JBOSS_HOME%/server/< 
serverName>/deployers/ejb3.deployer/META-INF/ejb3-deployers-jboss-beans.xml:


  | 

Note that commenting this out would mean that the server will not support EJB3 
application clients.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220193#4220193

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220193
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - How to Deploy the BPEL process definition using Ant tool

2009-03-23 Thread mamidalasrinivas
How to  Deploy the  BPEL process definition using Ant

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220186#4220186

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220186
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: ClassCastException/Error instantiating servlet class org

2009-03-23 Thread straypet
Content of jboss-web.xml within the war packed in the ear:

  | 
  | 
  | jdbc/formsolution
  | javax.sql.DataSource
  | java:/OracleDS
  | 
  | 
  |   
  | org.xml.sax:jar=xmlparserv2.jar
  |   
  | 
  | 


jboss.xml in same war:


  | http://www.jboss.org/j2ee/dtd/jboss.dtd";>
  |
  | 
  | 
  |   ejb/DataFacade
  |   OracleDS
  | 
  | 
  |   jdbc/formsolution
  |   java:/OracleDS  
  |   
  |   
  |
  |
  | 
  |  jdbc/OracleDS
  |  javax.sql.DataSource
  |java:/OracleDS
  | 
  |
  |
  | 
  |   jdbc/formsolution
  |   java:/OracleDS  
  |   
  | 
  | 

The reason I use 4.0.0 (Release ID: JBoss [Zion] 4.0.0 (build: 
CVSTag=JBoss_4_0_0 date=200409200418) is that the application uses java 1.4 
(old app).

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220183#4220183

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220183
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - URLDeploymentScanner ERROR

2009-03-23 Thread ervilha
Hi all,

I'm having a problem with an MBean i've made:

The MBean interface is:
public interface MyServiceMBean {
  | 
  |   //following are the service methods which needs to be implemented 
  |   //and are called by the JBoss container 
  |   //When server starts, first init is called and then start is called 
  |   public abstract void init() throws Exception; 
  |   public abstract void start() throws Exception; 
  | 
  |   //When server stops, first stop is called and then destroy is called 
  |   public abstract void stop() throws Exception; 
  |   public abstract void destroy() throws Exception;
  |   
  |   public abstract void printSessions();
  | }


The MBean class is:
package com.foo.bar;
  | 
  | public class MyService implements MBeanRegistration, MyServiceMBean{
  | public ObjectName preRegister(MBeanServer server, ObjectName name) 
throws java.lang.Exception { 
  | return new ObjectName(":service=MyService");
  | } 
  | public void postRegister(java.lang.Boolean registrationDone) {}
  | public void preDeregister() throws java.lang.Exception { } 
  | public void postDeregister() {} 
  | public void destroy() throws Exception {}
  | public void init() throws Exception { ... }
  | public void start() throws Exception { ... }
  | public void stop() throws Exception { ... } 
  | public void printSessions(){ ... }
  | }
  | 

And the MBean is defined in jboss-service.xml as:



I'm using this MBean on JBoss 3.2.7, and it seems to do the job for the 
implemented methods, init(), start(), stop() and printSessions(), but when i 
start the server, JBoss complains about my MBean:

"server.log" wrote : 10:57:43,103 ERROR [URLDeploymentScanner] Incomplete 
Deployment listing:
  | MBeans waiting for other MBeans:
  | ObjectName: jboss:service=MyService
  |  state: CREATED
  |  I Depend On:
  |  Depends On Me:
  | 
  | MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
  | ObjectName: jboss:service=MyService
  |  state: CREATED
  |  I Depend On:
  |  Depends On Me:
 
 
I've tried to figure out the cause by myself, but now i am out of ideias... Any 
ideia? 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220180#4220180

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220180
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: AUTO_ACKNOWLEDGE and Duplicate Delivery of Messages

2009-03-23 Thread timfox
This is a known issue, fixed in JBM 2.0 (see JIRA)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220179#4220179

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220179
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Nondurable subcriber received the msg after JBM reboot

2009-03-23 Thread timfox
Yes, this is the way JBM 2.0 already work (see JIRA).

JBM 1.x is in maintenance only mode, we're not planning on backporting new 
features.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220178#4220178

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220178
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: javax.persistence.EntityNotFoundException: deleted entit

2009-03-23 Thread Wolfgang Knauf
Hi abc,

take a look at this document, hopefully you will find your use case:
http://www.jboss.org/community/docs/DOC-13222
Basically, it should tell you the same as Jochen said.

Wolfgang

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220176#4220176

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220176
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: javax.persistence.EntityNotFoundException: deleted entit

2009-03-23 Thread jochen.reinhardt
So how do you delete the other entities? What does your code look like?

I think the correct way would be to remove the relationship, first. Something 
like that:

  | // clear the relationship
  | // depending on your relation context you may have to call 
EntityManager.merge(...)
  | List relatedEvents = event.getRelatedEvents();
  | for (Event relatedEvent : relatedEvents)
  | {
  | relatedEvent.getRelatedEvents().remove(event);
  | }
  | // on both sides! That's important!
  | event.setRelatedEvents(new ArrayList(0))
  | // remove the event
  | entityManager.remove(event);
  | 

Please try it that way!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220175#4220175

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220175
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deployment error with JBoss 5.0.1, NetBeans 6.5 and JAX-

2009-03-23 Thread aojensen
Any clues about a fix? This issue is pretty crucial for AND necessary for 
deploying a JAX-WS based web service. Any alternatives to the flawed Jar file 
are also welcome.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220174#4220174

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220174
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   >