[JBoss-user] [Installation, Configuration Deployment] - Adding saxon jar to ear file

2006-04-28 Thread eddie07
Hi,

I am using saxon8.jar within jboss. With jboss3.2.x I solved this by adding an 
entry to application.xml of the ear file. 
But this doesn't work with jboss 4.0.3 what I am using now. I learned (in this 
forum) that this is not the correct way to include a jar file. So I tried 
adding it to the manifest file of the jar which is using saxon:


  | Class-Path: saxon8.jar
  | 

or


  | Class-Path: . saxon8.jar
  | 


But my application still doesn't use saxon. What am I doing wrong?
What is the correct way to include such jars in my application?

I also tried to put saxon8.jar into the endorsed directory of my java/jre/lib 
directory, but then jboss doesn't start because it doesn't recognize it's own 
configuration xml files.

Eddie


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3940104#3940104

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3940104


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - starting jboss with saxon8

2006-03-07 Thread eddie07
Hi,

I want to run an xslt 2.0 processor within jboss. So I added saxon8.jar to the 
endorsed folder of jre/lib.
But when starting I got the error messages below:
The exception happens for each xml configuration and deployment file.

Is it possible to use saxon8 with jboss? If so how sould I configure it?

TIA,
Eddie

-
15:18:53,640 ERROR [STDERR] Warning: Running an XSLT 1.0 stylesheet with an 
XSLT 2.0 processor

and 

org.jboss.deployment.DeploymentException: exception in init of 
file:/C:/Programme/jboss/server/default/deploy/hsqldb-ds.xml; - nested 
throwable: (java.lang.NullPointerException)
at 
org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:39)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:719)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy8.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:884)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:414)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at 

[JBoss-user] [Security JAAS/JBoss] - Re: sometimes

2006-02-21 Thread eddie07
Ok, I'll try my best:

The OS is Suse Linux 9.2, kernel 2.6.5-7.201-smp
The JBoss version is 3.2.6 (I am currently trying to move to 4.0, but it's not 
finished.)
The database behind is oracle 10.
There are no other warn or error messages except that I am throwing a new 
exception because of this error.
The definition of the queue:
-

  jms/BizQueue
  depends 
optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager

-

It's not possible to reproduce the bug, it only happens from time to time, very 
rarely, and even the next message for the same queue works again.

If any more information is needed, please let me know.

Eddie


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925231#3925231

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925231


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - sometimes User session not valid but no authorization done

2006-02-14 Thread eddie07
Hi,

I am sending quite a bit of JMS messages through several queues in my system.
From time to time it happens that I get a JMSSecurityException (listed below).

I am doing no authorization at all, in the last run e.g. it worked for 1935 of 
1936 messages, only one failed.

What could be the problem here?

Eddie

--- Nested Exception ---
javax.jms.JMSSecurityException: User session is not valid
at org.jboss.mq.security.SecurityManager.authorize(SecurityManager.java:
230)
at org.jboss.mq.security.ServerSecurityInterceptor.authorizeWrite(Server
SecurityInterceptor.java:249)
at org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecu
rityInterceptor.java:151)
at org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.
java:270)
at org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java
:136)
at org.jboss.mq.il.jvm.JVMServerIL.addMessage(JVMServerIL.java:136)
at org.jboss.mq.Connection.sendToServer(Connection.java:1020)
at org.jboss.mq.SpySession.sendMessage(SpySession.java:1005)
at org.jboss.mq.SpyMessageProducer.send(SpyMessageProducer.java:265)
at org.jboss.mq.SpyMessageProducer.send(SpyMessageProducer.java:199)
[my classes]


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3923621#3923621

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923621


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - sometimes User session not valid but no authorization done

2006-02-14 Thread eddie07
Hi,

sorry for double posting but I just found out that I probably used the wrong 
forum with the first posting.

I am sending quite a bit of JMS messages through several queues in my system.
From time to time it happens that I get a JMSSecurityException (listed below).

I am doing no authorization at all, in the last run e.g. it worked for 1935 of 
1936 messages, only one failed.

What could be the problem here?

Eddie

--- Nested Exception ---
javax.jms.JMSSecurityException: User session is not valid
at org.jboss.mq.security.SecurityManager.authorize(SecurityManager.java:
230)
at org.jboss.mq.security.ServerSecurityInterceptor.authorizeWrite(Server
SecurityInterceptor.java:249)
at org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecu
rityInterceptor.java:151)
at org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.
java:270)
at org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java
:136)
at org.jboss.mq.il.jvm.JVMServerIL.addMessage(JVMServerIL.java:136)
at org.jboss.mq.Connection.sendToServer(Connection.java:1020)
at org.jboss.mq.SpySession.sendMessage(SpySession.java:1005)
at org.jboss.mq.SpyMessageProducer.send(SpyMessageProducer.java:265)
at org.jboss.mq.SpyMessageProducer.send(SpyMessageProducer.java:199)
[my classes] 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3923627#3923627

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923627


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - calling MBean example doesn't work

2005-02-16 Thread eddie07
Hi,

I tried to get the following code (mix of code from the wiki and old examples) 
to work (first try to use MBEans, so this may be a stupid question):
-
  InitialContext ctx = new InitialContext();
  //RMIAdaptor server = (RMIAdaptor) ctx.lookup(jmx/rmi/RMIAdaptor);
  MBeanServerConnection server = (MBeanServerConnection) 
ctx.lookup(jmx/invoker/RMIAdaptor);
  // Get the MBeanInfo for the JNDIView MBean
  //ObjectName name = new ObjectName(jboss:service=JNDIView);
  ObjectName name = new ObjectName(jboss:name=SystemProperties);
  MBeanInfo info = server.getMBeanInfo(name);
-

The getMBeanInfo produces the following exception:
java.lang.NoClassDefFoundError: javax/management/BadStringOperationException

Is there still something I am missing?

Thanks for any help,
Eddie


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866778#3866778

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3866778


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: calling MBean example doesn't work

2005-02-16 Thread eddie07
Sorry for causing trouble, I found the solution. There was only a jar missing 
in the classpath.

Eddie

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866796#3866796

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3866796


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: jboss-ql and sum()

2004-06-08 Thread eddie07
Thanks, this helps me. I did't know that the newest versions are implementing EJB-QL 
2.1.
I should read docs more often. :-(

Eddie


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3837900#3837900

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837900


---
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - jboss-ql and sum()

2004-06-07 Thread eddie07
Hi,

I am trying to use sum() with the jboss-ql. According to the documentation this should 
be possible but I couldn't find any examples.
If this is really possible - are there some examples available?
The sql I'd like to execute is something like select A, sum(B) from mytable where a=1 
group by c,d

Thanks in advance,
Eddie



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3837768#3837768

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837768


---
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user