[JBoss-user] [Messaging, JMS JBossMQ] - Re: Docs\examples\ejb\simplemessage

2005-01-11 Thread genman
What is your JNDI conf. on your client?

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Docs\examples\ejb\simplemessage

2005-01-11 Thread andrejt
Here is my jndi.properties:

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=jnp://localhost:1099
java.naming.factory.url.pkgs=org.jboss.naming.client
j2ee.clientName=si.avris.prevoznik.SimpleMessageClient


But in the mean time I have the solution. Look to the previous client code:

connectionFactory = (ConnectionFactory) 
jndiContext.lookup(jms/QueueConnectionFactory);
  | destination = (Queue) jndiContext.lookup(avrisQueue);
  | 

The working version has queue/avrisQueue instead of avrisQueue:

connectionFactory = (ConnectionFactory) 
jndiContext.lookup(jms/QueueConnectionFactory);
  | destination = (Queue) jndiContext.lookup(queue/avrisQueue);


And now it works. I think my example (client running outside JBoss and  MDB 
running within JBoss) is more common for real situations where one programmer 
works on client code while another one works on the EJB code.

I have one more question.
I have seen examples where people use jndi properties in different ways.
My setting is the default one (from Getting started example):
java.naming.provider.url=jnp://localhost:1099 

Where on the JBoss is the port 1099 specified?




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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JBoss 4.0.1 Linkage Error Nightmare

2005-01-11 Thread jgra
All JBoss classloading scenarios are available on following wiki page:
http://www.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases
Try to test them on your server before deploy of your real applications.
BTW, You should never ever add rt.jar to ear archives, it's completely wrong.

Regards
Janusz

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Jboss 4.01 - Configure Pool Connection for MSSQL 2000

2005-01-11 Thread konrad1980
Oh I am sorry.
But when I insert source of msssql-service.xml,
Forums shows this file like in topic up.


Konrad


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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: How Can I dynimicly load a Class in Session Bean (Statel

2005-01-11 Thread Frito
You must not do a Class.forName, instead use
Thread.currentThread().getContextClassLoader().getResourceAsStream()
  | Thread.currentThread().getContextClassLoader().loadClass()

If you still encounter problems read the wiki for classloader configuration 
(http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration) and check 
your assembly.There are, with the utmost probability, resources missing.

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - class loading scope for war in the deploy.last

2005-01-11 Thread jieshengz
To resolve some dependency issue, I have two sars and one war under 
deploy/deploy.last folder. For this war I have class isolation enabled.

  | class-loading
  | loader-repository 
com.redzero:loader=sft.war/loader-repository
  | /class-loading
  | .  However, during the start up, I found this message 
===
Only the root deployment can set the loader repository, ingoring 
config=LoaderRepositoryConfig(repositoryName: com.rz:loader=sft.war, 
repositoryClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3, 
configParserClassName: null, repositoryConfig: null)
==

Moreover,  I foudd if I just deployed/undeployed one war in the deploy.last,, 
all sars and war under the deploy.last are redeployed.

It seems that the all sars and war under deploy.last are treated as a single 
unit.

How can I specify a class loader for a war under deploy.last? Or how can I 
specify a class loader for the whole deploy.last directory?

Thanks

jason

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: deploy problem in jboss 3.2.6

2005-01-11 Thread jwings
it works well without the jar file in it.

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - deploy problem in jboss 3.2.6

2005-01-11 Thread jwings
my war file has a jar file in /WEB-INF/lib/ directory of it.

it works in jboss 3.2.1 but it doesn't in jboss 3.2.6 with following message.

In advance, thanks.


17:43:13,596 ERROR [Tomcat5] Problem in init 
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:444)
at org.jboss.util.file.JarUtils.unjar(JarUtils.java:252)
at 
org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:256)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
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$ScannerThread.loop(AbstractDeploymentScanner.java:212)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
17:43:13,596 ERROR [MainDeployer] Could not initialise deployment: 
file:/C:/etcfiles/jboss-3.2.6/server/default/deploy/yezin.war
org.jboss.deployment.DeploymentException: String index out of range: 0; - 
nested throwable: (java.lang.StringIndexOutOfBoundsException: String index out 
of range: 0)
at 
org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:307)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
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$ScannerThread.loop(AbstractDeploymentScanner.java:212)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of 
range: 0
at java.lang.String.charAt(String.java:444)
at org.jboss.util.file.JarUtils.unjar(JarUtils.java:252)
at 
org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:256)
... 19 more


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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Apache2, Jboss/tomcat, with SSL Front-end MOD_PROXY

2005-01-11 Thread antenore
Do you have try this?

JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - document literal style and ws method with no parameter

2005-01-11 Thread mrahin
It appears that web services methods that take no parameters as the one below

public String getVersion();
  | 
is incompatible with document literal style at least in JBossWS. The web 
service appear to be successfully deployed, but when I try to find the list of 
deployed web services at http://localhost:8080/ws4ee/services I get the 
following exception,

anonymous wrote : Exception - org.apache.axis.InternalException: 
java.lang.Exception: The OperationDesc for getVersion was not synchronized to a 
method of com.retail_logic.ws.interfaces.HelloService.
  | 
Is there a way to correctly deploy web service (that conforms to the document 
literal sytle) that contain methods with no paramter? Or is it true that all 
methods of a web service in document literal syle must have exactly one 
parameter?

- Mohammad



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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Apache2, Jboss/tomcat, with SSL Front-end MOD_PROXY

2005-01-11 Thread antenore
Sorry for the last reply...
I'm wrong

Proxy support under ssl on Apache is not possible...

http://www.jboss.org/index.html?module=bbop=viewtopict=27766

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: help - application.xml

2005-01-11 Thread fabius
Hi,

is possible:



web-uriapplication.war/web-uri
context-root/test*/context-root



with
context-root/test*/context-root
for more url init by /test?

thanks.
fabio

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Oracle10g SetBigStringTryClob Properties with JBoss 3.0.

2005-01-11 Thread huijbrec
KeepCool,
did you find a solution?

config-property name=SetBigStringTryClob 
type=java.lang.Stringtrue/config-property


java.lang.IllegalArgumentException: The class 'class 
org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory' has no 
setter for config property 'SetBigStringTryClob'
at 
org.jboss.resource.connectionmanager.RARDeployment.setManagedConnectionFactoryAttribute(RARDeployment.java:577)



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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Re: where should i place jar while is common to web and ejb

2005-01-11 Thread j_ri
Thanks for the hint! It's working fine;-)

I just wonder why this is not mentiones in the corresponding xml-schema, the 
sun j2ee tutorial or the jboss documentation?

Thanks
Jochen

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: rmi over http troubles

2005-01-11 Thread lordnedox
I solved this.

The problem was the ejb configuration in jboss.xml file, under the META-INF 
directory.

I used something like:



ejb-nameejb name/ejb-name
jndi-namejndi name/jndi-name
local-jndi-namejndi name/local-jndi-name
configuration-nameHTTP Session/configuration-name


container-configurations
container-configuration extends=Standard Stateless SessionBean
container-nameHTTP Session/container-name
home-invokerjboss:service=invoker,type=http/home-invoker
bean-invokerjboss:service=invoker,type=http/bean-invoker
/container-configuration
/container-configurations


As described in many sites. This was working on LAN and was compatible with 
xdoclet tags generation.

To solve the problem, i have used something like this:



ejb-nameejb name/ejb-name
jndi-namejndi name/jndi-name
local-jndi-namejndi name/local-jndi-name invoker-bindings

invoker-proxy-binding-namestateless-http-invoker/invoker-proxy-binding-name

/invoker-bindings


invoker-proxy-bindings
many tags here
/invoker-proxy-bindings


As i found in a jboss guide. This wasn't compatible with xdoclet, but it has 
been quite simple to change jboss_xml.xdt to generate what i needed (thanks to 
google).

I hope this helps someone. For more details just ask.

Bye all

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Multiple class loaders found for pkg:

2005-01-11 Thread craig1980
Hi all... when i start my JBoss (version 3.2.5 and 3.2.6) i have seen in my 
server.log file that there is a message like this:

anonymous wrote : 2005-01-11 11:19:14,092 DEBUG 
[org.jboss.mx.loading.ClassLoaderUtils] Multiple class loaders found for pkg: 

Is it a problem... if so how can i solve it? Thanks to all

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Re: where should i place jar while is common to web and ejb

2005-01-11 Thread [EMAIL PROTECTED]
Hi, You can add it as an ordinary java module.


   
common-dependency-jar.jar


Regards,
Hari

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Getting the port no and application name

2005-01-11 Thread kiran12345
Hi All,

How to get the application and port no in the program.

In weblogic we can get it using weblogic specific api 
ApplicationLifecycleListener.

Thanks in advance

Regards,
Kiran.


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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: EJB spec violation in Duke bank

2005-01-11 Thread huang0
Try with the earlier J2EE 1.4 Tutorial Update 2.

J2EE 1.4 Tutorial Update 4 may have some problem . . .



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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: Problem with nuke!

2005-01-11 Thread vinkh
Did you set JBOSS_HOME  NUKES_HOME ? 
Try http://www.jboss.org/wiki/Wiki.jsp?page=InstallUninstallUpgrade

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Unsupported number of service elements in wsdl document

2005-01-11 Thread raja05
Environment: JBoss_4_0_0 on Redhat 9 with JDK 1.4.2

I tried to deploy a EJB WebServices application that contains multiple 
porttypes in a single wsdl file. So my wsdl looks like
wsdl:definitions ..
  | 
  |wsdl:service name=CEEBeanEndPointService
  | 
 
  |   wsdl:port name=CEEBeanPort binding=impl:CEEBeanPortSoapBinding
  | 
 
  |  wsdlsoap:address 
location=http://localhost:8080/ws4ee/services/CEEBean/
  | 
 
  |   /wsdl:port
  | 
 
  |/wsdl:service
  | 
 
  |wsdl:service name=TestBeanEndPointService
  | 
 
  |   wsdl:port name=TestBeanPort binding=impl:TestBeanPortSoapBinding
  | 
 
  |  wsdlsoap:address 
location=http://localhost:8080/ws4ee/services/TestBean/
  | 
 
  |   /wsdl:port
  | 
 
  |/wsdl:service
  | 
 
  | 
When this gets deployed, jboss is trying to rename the Endpoint where it gets 
deployed but since it uses the webservice-description-name for the endpoint, we 
get into a conflict where 2 services get mapped to a single name. Is this not 
supported in JBoss? I used the axis java2wsdl to generate the wsdl as described 
above. but it fails during deployment with the following stacktrace.
java.lang.IllegalArgumentException: Unsupported number of service elements in 
wsdl document
at 
org.jboss.webservice.metadata.WebserviceDescriptionMetaData.replaceAddressLocations(WebserviceDescriptionMetaData.java:241)
at 
org.jboss.webservice.metadata.WebserviceDescriptionMetaData.updateServiceAddress(WebserviceDescriptionMetaData.java:229)
at 
org.jboss.webservice.ServiceDeployer.startWebservice(ServiceDeployer.java:181)
at 
org.jboss.webservice.ServiceDeployer.handleNotification(ServiceDeployer.java:113)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:138)
at $Proxy20.handleNotification(Unknown Source)
at 
javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:104)
at 
javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:87)
at 
org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java:178)
at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:620)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:935)

Thanks
Raja


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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Using jboss with apache

2005-01-11 Thread additome
Hi all

I m setting up a server with my domain, I use apache as web server and jboss as 
application server (two machines)

I can forward the request from web server to app server and everything works 
fine, however, my domain requires me to enter as following

http://www.mydomain.com//

in terms of ip address should be http://ip address//

Can I just enter http://www.mydomain.com to access my war file instead of input 
the war file name?

pls help

thanks


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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS fills up database

2005-01-11 Thread hazarinaveen
Thanks yaar

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Using jboss with apache

2005-01-11 Thread additome
additome wrote : Hi all
  | 
  | I m setting up a server with my domain, I use apache as web server and 
jboss as application server (two machines)
  | 
  | I can forward the request from web server to app server and everything 
works fine, however, my domain requires me to enter as following
  | 
  | http://www.mydomain.com/mywarfile/
  | 
  | in terms of ip address should be http://ip address/mywarfile/
  | 
  | Can I just enter http://www.mydomain.com to access my war file instead of 
input the war file name?
  | 
  | pls help
  | 
  | thanks
  | 

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Using jboss with apache

2005-01-11 Thread beyarecords
If I understand you corrcetly, you don't want the war name as part of the URL 
but want to access it via www.yoururl.com??? If so, try adding this to your 
http.conf file:

RewriteEngine on

RewriteRule (.*)\.(js|css|xml|xsl|html|asp)$ 
http://localhost:8080/yourwar/$1.$2 [P,L]
RewriteRule ^/(.*) http://localhost:8080/$1; [P]
ProxyPassReverse / http://localhost:8080/

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - links to docs in modules.

2005-01-11 Thread vinkh
1. I have a custom module ABC deployed in nukes as ABC.sar and have some 
documents in my org/jboss/nukes/modules/ABC/docs folder, which i need to 
display through links through the site. 

i tried -  in the template (/ABC/template/temp.html), which in fact went to 
the nukes home page
Can you give the correct configuration\usage ?.

2. I saw that the Site Name  Slogan could be changed at jmx-console 
(name=core). I wonder whether there is a way to configure this Name and Slogan 
for each module ??

Thanks.

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: links to docs in modules.

2005-01-11 Thread vinkh
 i tried - ---a href=./docs/doc.txt--- (Sorry. it bacame a link in the 
orig post)

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - creating connection pool! please help me!

2005-01-11 Thread repkin
I want to connect to mysql db from the ejb. I have learned that I have to 
create a connection pool. I have looked but I cant find how it is being. first 
of all I want to explaing what I have done. 

--
 

Step 1: mysql-ds.xml 
a) Take the mysql-ds.xml file located in the [JBOSS_HOME]/docs/examples/jca 
folder and place it in the deploy folder. 

I have configured this xml file like this: 


local-tx-datasource 
jndi-namejspNedirMysql/jndi-name 
connection-urljdbc:mysql://localhost:3306/jspNedir/connection-url 
driver-classcom.mysql.jdbc.Driver/driver-class 
user-nameroot/user-name 

/local-tx-datasource 



b) Remove the hsqldb-ds.xml from the deploy folder and save it somewhere else. 

Step 2: ejb-deployer.xml 
Edit this file, which is located in the deploy folder. 

a) Find INTERVAL in the file and change this column name to something else. 
This is required because INTERVAL is a reserved word for MySQL 4.0. The symptom 
for not having fixed this is am error mentioning INTERVAL bigint when deploying 
an EJB. 

b) Find other in the file and change this type to text. This is required 
because type other does not exist in MySQL 4.0. 

Step 3: standardjaws.xml 
Edit this file, which is located in the conf folder of the server. Change the 
type-mapping of the datasource from Hypersonic SQL to mySQL Note that these 
names are case sensitive. 

Step 4: JMS configuration descriptors 
a) Remove hsqldb-jdbc2-service.xml from folder deploy/jms. Save this file 
somewhere else. 

b) Copy mysql-jdbc2-service.xml from folder docs/example/jms to deploy/jms. 

c) Edit mysql-jdbc2-service.xml and change the datasource name if applicable. 
In my configuration I don't use HSQL at all so I configured the default 
datasource DefaultDS for MySQL. In this file, change mySQLDS to DefaultDS. Note 
that datasource names are case sensitive. 

Step 5: Install MySQL Java Connector 
Download MySQL Connector/J and place the file 
mysql-connector-java-3.0.15-ga-bin.jar in the lib folder of the server. 

--
 


After all of these how can I connect to mysql from ejb, what I have to do? did 
I create a connection pool with this? please, please, please help me.

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - creating connection pool! please help me!

2005-01-11 Thread repkin
I want to connect to mysql db from the ejb. I have learned that I have to 
create a connection pool. I have looked but I cant find how it is being.  first 
of all I want to explaing what I have done.

--

Step 1: mysql-ds.xml
a) Take the mysql-ds.xml file located in the [JBOSS_HOME]/docs/examples/jca 
folder and place it in the deploy folder.

I have configured this xml file like this: 

 
local-tx-datasource 
jndi-namejspNedirMysql/jndi-name 
connection-urljdbc:mysql://localhost:3306/jspNedir/connection-url 
driver-classcom.mysql.jdbc.Driver/driver-class 
user-nameroot/user-name 
 
/local-tx-datasource 



b) Remove the hsqldb-ds.xml from the deploy folder and save it somewhere else.

Step 2: ejb-deployer.xml
Edit this file, which is located in the deploy folder.

a) Find INTERVAL in the file and change this column name to something else. 
This is required because INTERVAL is a reserved word for MySQL 4.0. The symptom 
for not having fixed this is am error mentioning INTERVAL bigint when deploying 
an EJB.

b) Find other in the file and change this type to text. This is required 
because type other does not exist in MySQL 4.0.

Step 3: standardjaws.xml
Edit this file, which is located in the conf folder of the server. Change the 
type-mapping of the datasource from Hypersonic SQL to mySQL Note that these 
names are case sensitive.

Step 4: JMS configuration descriptors
a) Remove hsqldb-jdbc2-service.xml from folder deploy/jms. Save this file 
somewhere else.

b) Copy mysql-jdbc2-service.xml from folder docs/example/jms to deploy/jms.

c) Edit mysql-jdbc2-service.xml and change the datasource name if applicable. 
In my configuration I don't use HSQL at all so I configured the default 
datasource DefaultDS for MySQL. In this file, change mySQLDS to DefaultDS. Note 
that datasource names are case sensitive.

Step 5: Install MySQL Java Connector
Download MySQL Connector/J and place the file 
mysql-connector-java-3.0.15-ga-bin.jar in the lib folder of the server.

--


After all of these how can I connect to mysql from ejb, what I have to do? did 
I create a connection pool with this? please, please, please help me.

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Unable to start JBoss 4.0.1 from Eclipse 3.0.1 with Lomb

2005-01-11 Thread fabio quimbay
jgra, Excuses not to mention the error messages, I forgot; but, with the 
suggestion of sviluppatorefico, that used JBoss IDE, I proved and work 
successful. Thank you very much.

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - creating connection pool! please help me!

2005-01-11 Thread repkin
I want to connect to mysql db from the ejb. I have learned that I have to 
create a connection pool. I have looked but I cant find how it is being. first 
of all I want to explaing what I have done. 

--
 

Step 1: mysql-ds.xml 
a) Take the mysql-ds.xml file located in the [JBOSS_HOME]/docs/examples/jca 
folder and place it in the deploy folder. 

I have configured this xml file like this: 


local-tx-datasource 
jndi-namejspNedirMysql/jndi-name 
connection-urljdbc:mysql://localhost:3306/jspNedir/connection-url 
driver-classcom.mysql.jdbc.Driver/driver-class 
user-nameroot/user-name 

/local-tx-datasource 



b) Remove the hsqldb-ds.xml from the deploy folder and save it somewhere else. 

Step 2: ejb-deployer.xml 
Edit this file, which is located in the deploy folder. 

a) Find INTERVAL in the file and change this column name to something else. 
This is required because INTERVAL is a reserved word for MySQL 4.0. The symptom 
for not having fixed this is am error mentioning INTERVAL bigint when deploying 
an EJB. 

b) Find other in the file and change this type to text. This is required 
because type other does not exist in MySQL 4.0. 

Step 3: standardjaws.xml 
Edit this file, which is located in the conf folder of the server. Change the 
type-mapping of the datasource from Hypersonic SQL to mySQL Note that these 
names are case sensitive. 

Step 4: JMS configuration descriptors 
a) Remove hsqldb-jdbc2-service.xml from folder deploy/jms. Save this file 
somewhere else. 

b) Copy mysql-jdbc2-service.xml from folder docs/example/jms to deploy/jms. 

c) Edit mysql-jdbc2-service.xml and change the datasource name if applicable. 
In my configuration I don't use HSQL at all so I configured the default 
datasource DefaultDS for MySQL. In this file, change mySQLDS to DefaultDS. Note 
that datasource names are case sensitive. 

Step 5: Install MySQL Java Connector 
Download MySQL Connector/J and place the file 
mysql-connector-java-3.0.15-ga-bin.jar in the lib folder of the server. 

--
 


After all of these how can I connect to mysql from ejb, what I have to do? did 
I create a connection pool with this? please, please, please help me.

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: wrapped document/literal

2005-01-11 Thread dietmarposselt
Hi there,

What's that? I cannot implement webservices with more than one parameter? This 
cannot be true!

At the moment we're using JBoss-3.2.3-RC1 very heavily in production with 
plenty of SLSBs exposed as SOAP services for our perl and php clients. In order 
to migrate to JBoss-4.0.1, we cannot change all of these webservices to use a 
complex wrapping type. There must be a way to use several (complex) parameters 
in JBossWS. Any hints?

Thanks and greetings,
Dietmar

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: creating connection pool! please help me!

2005-01-11 Thread repkin
try 
{ 
InitialContext ctx = new InitialContext(); 
DataSource ds = (DataSource)ctx.lookup(jspNedirMysql); 
java.sql.Connection jspNedirCon = null; 
jspNedirCon = ds.getConnection(); 
}catch(SQLException ex) 
{ 
setMessage(ex.toString()); 
}catch(NamingException ex) 
{ 
setMessage(ex.toString()); 
} 

 


I have tried that and this error have been occured 

javax.naming.NameNotFoundException: jspNedirMysql not bound 

please help me.

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: creating connection pool! please help me!

2005-01-11 Thread repkin
try 
{ 
InitialContext ctx = new InitialContext(); 
DataSource ds = (DataSource)ctx.lookup(jspNedirMysql); 
java.sql.Connection jspNedirCon = null; 
jspNedirCon = ds.getConnection(); 
}catch(SQLException ex) 
{ 
setMessage(ex.toString()); 
}catch(NamingException ex) 
{ 
setMessage(ex.toString()); 
} 

 


I have tried that and this error have been occured 

javax.naming.NameNotFoundException: jspNedirMysql not bound 

please help me.

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: creating connection pool! please help me!

2005-01-11 Thread repkin
try
{
InitialContext ctx = new InitialContext();
DataSource ds = (DataSource)ctx.lookup(jspNedirMysql);
java.sql.Connection jspNedirCon = null;
jspNedirCon = ds.getConnection();
}catch(SQLException ex)
{
setMessage(ex.toString());
}catch(NamingException ex)
{
setMessage(ex.toString());  
}




I have tried that and this error have been occured

javax.naming.NameNotFoundException: jspNedirMysql not bound

please help me.

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JBoss 4.0.1 Linkage Error Nightmare

2005-01-11 Thread [EMAIL PROTECTED]
UseJBossWebLoader only affects the wars in the ear, not the ear itself. When 
set to false you are using the tomcat class loader as a child to the ear class 
loader instead of using the ear unified loader at the war layer.

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: wrapped document/literal

2005-01-11 Thread omatzura
Hi!

as far as I understand, doc/literal web-services can only have one in/out 
complex message part (in accordance with basic profile). If you need multiple 
in-parts you should use rpc/literal style web-services instead (which should 
work fine with jboss in accordance with j2ee 1.4). 

correct?

regards!

/Ole



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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Tomcat and ClassLoader Problems

2005-01-11 Thread [EMAIL PROTECTED]
Create a bug report with a sample war on jira so we can look into why 
redeployment is causing the problem.

http://jira.jboss.com/jira/browse/JBAS


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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: namespaces in -service.xml

2005-01-11 Thread [EMAIL PROTECTED]
Try describing what your trying to do.

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Failed to Deploy Duke's Bank org.jboss.deployment.Deploy

2005-01-11 Thread jhhdk
This problem seem to have returned unless it was never fixed. How do I fix it?

13:43:43,781 ERROR [MainDeployer] could not create deployment: 
file:/C:/tools/jboss-4.0.1RC1/server/default/tmp/deploy/tmp61598JBossDukesBank.ear-contents/bank-ejb.jar
 org.jboss.deployment.DeploymentException: Verification of Enterprise Beans 
failed, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:553)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:898)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:890)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:754)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:718)
at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:175)
at $Proxy8.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
13:43:43,921 ERROR [MainDeployer] could not create deployment: 
file:/C:/tools/jboss-4.0.1RC1/server/default/deploy/JBossDukesBank.ear 
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans 
failed, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:553)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:898)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:890)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:754)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:718)
at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:175)
at $Proxy8.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt

[JBoss-user] [Beginners Corner] - Re: JBoss 4.0.1 Linkage Error Nightmare

2005-01-11 Thread [EMAIL PROTECTED]
Class loading isolation with overrides is the correct approach, but the 
deployment should have have any java.* or javax.* classes in the deployment as 
these cannot be overriden. Apparently most other class loading approaches just 
ignore attempts to load such classes and so don't care about their existence. 
Currently we don't have a notion of classes that cannot be loaded from the 
deployment so they need to be removed to work with scoped class loading.

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: JBoss 4.0.1 and xalan

2005-01-11 Thread [EMAIL PROTECTED]
Using what jdk and how is jboss being started?

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: NewConnection SQL execution

2005-01-11 Thread [EMAIL PROTECTED]
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnectionFactory.isValidConnection
 uses it:


  |/**
  | * Checks whether a connection is valid
  | */
  |SQLException isValidConnection(Connection c)
  |{
  |   // Already got a checker
  |   if (connectionChecker != null)
  |  return connectionChecker.isValidConnection(c);
  |   // Class specified
  |   if (validConnectionCheckerClassName != null)
  |   {
  |  try
  |  {
  | ClassLoader cl = Thread.currentThread().getContextClassLoader();
  | Class clazz = cl.loadClass(validConnectionCheckerClassName);
  | connectionChecker = (ValidConnectionChecker) 
clazz.newInstance();
  | return connectionChecker.isValidConnection(c);
  |  }
  |  catch (Exception e)
  |  {
  | log.warn(Exception trying to create connection checker 
(disabling):, e);
  | connectionChecker = new NullValidConnectionChecker();
  |  }
  |   }
  |   // SQL statement specified
  |   if (checkValidConnectionSQL != null)
  |   {
  |  connectionChecker = new 
CheckValidConnectionSQL(checkValidConnectionSQL);
  |  return connectionChecker.isValidConnection(c);
  |   }
  |   // No Check
  |   return null;
  |}
  | 


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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Log4 Problem

2005-01-11 Thread georgewinner
Hello to all, 

I have a problem with the jboss  the log4j. 

The file the i have created for logging my messages jboss , writes to many 
messages for all the jars related for the application, which is not correct, 
Struts, jdom, jboss messages


This  makes the performance of the application to slow down..



e.g , it prints to me all the queries executing from the   CMP ENGINE. 




215516 DEBUG 11 Jan 2005 11:26:03,304 JDBCLoadEntityCommand.TeUser - Executing 
SQL: SELECT USER_NAME, USER_PWRD, FIRST_NAME, LAST_NAME, EMAIL1, TEL1, UNIT, 
LOGIN_ATTEMPTS, DIR, DG, INTERNALDGCODE, BUILDING, FLOOR, ROOMNUMBER, 
PHYSICALDELIVERYOFFICENAME, CONTRACTEXPIRYDATE, EMPLOYEENUMBER, EMPLOYEETYPE, 
GESTELNUMBER, LOCALITY, LOCATIONGROUP, COUNTRY, SOURCEORGANISATION, SEC, SER, 
HOBBIES, PERSONNAL_INFO, PROFESSIONAL_INFO, DELETED, GEM_ID, 
QUALIFICATION_NOTES, DEFAULT_LANG FROM TE_USER WHERE (USER_ID=?)
215556 DEBUG 11 Jan 2005 11:26:03,344 JDBCLoadRelationCommand.TeUser - 
Executing SQL: SELECT SITE_USER_ID FROM TR_SITE_USER WHERE (USER_ID=?)
215575 DEBUG 11 Jan 2005 11:26:03,363 JDBCLoadEntityCommand.TrSiteUser - 
Executing SQL: SELECT WEB_MASTER, ACTIVE, EXPIRATION_DATE, SITE_ID FROM 
TR_SITE_USER WHERE (SITE_USER_ID=?)
215582 DEBUG 11 Jan 2005 11:26:03,370 JDBCLoadEntityCommand.TeSite - Executing 
SQL: SELECT LAST_ID FROM TE_SITE WHERE (SITE_ID=?)
215595 DEBUG 11 Jan 2005 11:26:03,383 sessions.UserSessionBean - WE ARE IN 
LOGGIN PROCESS




ANY HELP ... 


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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Multiple .har possible?

2005-01-11 Thread mveitas
Try using two differnet sessionFactories.

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: cluster jmx-console not updated in different nodes

2005-01-11 Thread [EMAIL PROTECTED]
Correct.

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Application Static Variable Isolation

2005-01-11 Thread kumaran5
Hi all,

I am having a web application that creates the properties file when it gets 
deployed by means of ini.java that said to be ?load-on-startup? servlet class 
and save the database properties as static by calling simple java class. I 
deployed the same web application once again in the same server that the first 
application deployed. But I need to create different proper file for the second 
application and use newly created property file. In my case all the filed are 
hold by static reference in simple java and its getting shared by two 
applications and I am not able to hold different property values for second 
application. How could I deploy second application that has its own static 
reference?


Thanks in advance,
Kumaran  


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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: creating connection pool! please help me!

2005-01-11 Thread HariV
The lookup should be 
DataSource ds = (DataSource)ctx.lookup(java:/jspNedirMysql); 

instead of DataSource ds = (DataSource)ctx.lookup(jspNedirMysql); 

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: dead lock

2005-01-11 Thread HariV
There are different locks on entity bean

Method Lock

The method lock ensures that only one thread of execution at a time can invoke 
on a given Entity Bean. This is required by the EJB spec. But, this 
single-threadedness, can be overridden by marking the bean reentrant in its 
deployment descriptor.


Transaction Lock

This means that if any method at all is invoked on an Entity Bean within a 
transaction, no other transaction can have access to this bean until the 
holding transaction
commits or is rolled back.

Please check whether your transactions are long. Check whether your access to 
the entity bean is ordered.


If it is still a problem, you can configure your entity bean as instance per 
transaction which will wipe away deadlock,but you will loose entity bean 
caching 

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: dead lock

2005-01-11 Thread HariV
I forgot to check one think what is the exact exception message is it an 
exception from SQL Server or from entity bean. My previous reply was applicable 
for entity bean lock. 

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: javax.naming.NameNotFoundException: comp not bound

2005-01-11 Thread peake
The Answer:
These are the properties:
 

-Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory

-Djava.naming.provider.url=jnp://JBOSS_HOST:1099/

-Djava.security.auth.login.config=login.conf

 The login.conf file, pointed to by ?java.security.auth.login.config?, needs to 
contain:

 
jboss_client {

org.jboss.security.ClientLoginModule required;

};

 

Your remote application needs to authenticate before making any EJB (delegate) 
calls.  This is the code:


LoginContext lc = new LoginContext( jboss_client, new TextCallbackHandler() );

lc.login();

The TextCallbackHandler is an example that prompts for credentials from the 
console.  Your app may instead opt to implement a custom callbackhandler that 
gets credentials by some other means?depends on requirements.



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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: How Can I specify the startup class in Jboss4.0?

2005-01-11 Thread darranl
http://www.jboss.org/wiki/Wiki.jsp?page=JBossFrequentlyAskedQuestions

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: @jboss.method-attributes

2005-01-11 Thread HariV
That is true. The Entity Bean wont be enlisted in a transaction, if the read 
only method is called,but the entity bean will be locked for the duration of 
the method call. You need to specify a time-out also






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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: namespaces in -service.xml

2005-01-11 Thread GreyDeath
Check out the following -service.xml file
mbean code=com.ftisoft.publishing.PublishingTypeFactory 
name=ftisoft.jmx:service=PublishingTypeFactory
  | attribute name=XMLConfig
  | array xmlns=www.ftisoft.com 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | publishing-type binary=false 
xsi:type=java:com.ftisoft.publishing.PublishingType
  | nameemail/name
  | typedestination/type

  | 
config-classcom.ftisoft.publishing.destinations.email.EMailConfig/config-class
  | 
config-mappingcom/ftisoft/publishing/destinations/email/EMailConfig.map.xml/config-mapping
  | 
config-xsdcom/ftisoft/publishing/destinations/email/EMailConfig.xsd/config-xsd
  | /publishing-type
  | /array
  | /attribute
  | /mbean
  | 
The XMLConfig property gets an XML Element and I would like that to be 
namespace aware.


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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: creating connection pool! please help me!

2005-01-11 Thread wmprice
There are a few things to look for: 

1) Use the JNDIView MBean to list the JNDI context and make sure that 
DataSource, as you have configured it is showing up. You should  see it in the 
Global JNDI namespace.  

2) Add a resource reference to application component (EJB or otherwise) that 
allows a logical name mapping to a physical JNDI name. This would show up as 
something like

resource-ref id=ResourceRef_1105457328015
res-ref-namedata/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
res-sharing-scopeShareable/res-sharing-scope
/resource-ref


Then, you would look up your datasource as
DataSource ds = (DataSource)ctx.lookup(java:comp/env/data); 

I may be a bit confused on why you are removing or altering the Hypersonic 
datasource.  You should just be able to deploy your MySQL datasource without 
modifying the default data source at all. Is there something I am missing? 

Weston

i

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: MDB as Web Service endpoint?

2005-01-11 Thread dsmiley9
Can someone please reply to this?  I think I've heard references to this 
existing however as I look through the JBoss.NET source tree, I see no support 
for exposing MDBs as web services.

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: javax.naming.NameNotFoundException: comp not bound

2005-01-11 Thread wmprice
There is a reason for this: 

the java:comp/env namespace is reserved for application components running in a 
managed environment. What this basically means is that each application 
component has its own private namespace bound to the context of 
java:comp/env. 

When running outside of the container, this does not work because the thin Java 
client does not have access to such a namespace. In this scenario, you would 
use the JNDI name directly, or develop an Application client that does have a 
java:comp/env namespace. 



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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JMS JDBC Persistence and server restart.

2005-01-11 Thread Frank-15
Hi,

the situation is the following: my application consumes messages slower than 
their incoming rate is thus some of them will be persisted to a Postgres RDMS 
(depending on memory cache-size settings, etc.) However all of these messages 
will be marked with 'T' and be deleted at server restart as a result. [Actually 
I've found a thread with similar topic but it was dated in 2002]

Questions:

1. Is this the intended way how Message Cache and Persistence Manager should 
work, or I missed something in my jdbc-service.xml (quoted below)?
2. How can I get around this problem? Is there a way of truly persistating 
messages (wo using entitybeans and other tables directly)?

Thank you in advance: Frank

PS I (System Spec.): Jboss 4.0.1, PostgreSQL 7.4.6
PS II (postgres-jdbc2-service.xml):



?xml version=1.0 encoding=UTF-8?

!-- $Id: postgres-jdbc2-service.xml,v 1.8 2004/08/20 10:33:49 ejort Exp $ --



  !--  --
  !-- Persistence and caching using Postgres   --
  !-- IMPORTANT: Remove hsqldb-jdbc2-service.xml   --
  !--  --

  !--
 | The destination manager is the core service within JBossMQ
  --
  
depends 
optional-attribute-name=MessageCachejboss.mq:service=MessageCache
depends 
optional-attribute-name=PersistenceManagerjboss.mq:service=PersistenceManager
depends 
optional-attribute-name=StateManagerjboss.mq:service=StateManager
  

  !--
 | The MessageCache decides where to put JBossMQ message that
 | are sitting around waiting to be consumed by a client.
 |
 | The memory marks are in Megabytes.  Once the JVM memory usage hits
 | the high memory mark, the old messages in the cache will start getting
 | stored in the DataDirectory.  As memory usage gets closer to the
 | Max memory mark, the amount of message kept in the memory cache 
aproaches 0.
   --
  
50
60
jboss.mq:service=PersistenceManager
  

  !-- The PersistenceManager is used to store messages to disk. --
  !-- 
 | The jdbc2 PersistenceManager is the new improved JDBC implementation.
 | This implementation allows you to control how messages are stored in 
 | the database.
 | 
 | This jdbc2 PM configuration has was supplied by Stephane Nicoll in the 
forums as an example for Postgres
   --
  
depends 
optional-attribute-name=ConnectionManagerjboss.jca:service=DataSourceBinding,name=PostgresDS

  BLOB_TYPE=BYTES_BLOB
  INSERT_TX = INSERT INTO JMS_TRANSACTIONS (TXID) values(?)
  INSERT_MESSAGE = INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, 
MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?)
  SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM JMS_TRANSACTIONS
  SELECT_MAX_TX = SELECT MAX(TXID) FROM JMS_MESSAGES
  SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES 
WHERE DESTINATION=?
  SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE 
MESSAGEID=? AND DESTINATION=?
  MARK_MESSAGE = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE MESSAGEID=? 
AND DESTINATION=?
  UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? 
AND DESTINATION=?
  UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE 
TXOP=?
  UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? 
WHERE TXOP=? AND TXID=?
  UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? 
AND DESTINATION=?
  UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE 
TXOP=?
  UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? 
WHERE TXOP=? AND TXID=?
  DELETE_MARKED_MESSAGES_WITH_TX = DELETE FROM JMS_MESSAGES WHERE TXID IN 
(SELECT TXID FROM JMS_TRANSACTIONS) AND TXOP=?
  DELETE_TX = DELETE FROM JMS_TRANSACTIONS WHERE TXID = ?
  DELETE_MARKED_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=?
  DELETE_TEMPORARY_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXOP='T'
  DELETE_MESSAGE = DELETE FROM JMS_MESSAGES WHERE MESSAGEID=? AND 
DESTINATION=?
  CREATE_MESSAGE_TABLE = CREATE TABLE JMS_MESSAGES (MESSAGEID INTEGER NOT 
NULL, DESTINATION VARCHAR(150) NOT NULL, TXID INTEGER, TXOP CHAR(1), 
MESSAGEBLOB BYTEA, PRIMARY KEY (MESSAGEID, DESTINATION))
  CREATE_IDX_MESSAGE_TXOP_TXID = CREATE INDEX JMS_MESSAGES_TXOP_TXID ON 
JMS_MESSAGES (TXOP, TXID)
  CREATE_IDX_MESSAGE_DESTINATION = CREATE INDEX JMS_MESSAGES_DESTINATION ON 
JMS_MESSAGES (DESTINATION)
  CREATE_TX_TABLE = CREATE TABLE JMS_TRANSACTIONS ( TXID INTEGER, PRIMARY 
KEY (TXID) )
  CREATE_TABLES_ON_STARTUP = FALSE

  


 
-

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

Reply to the post : 

[JBoss-user] [JBossWS] - Re: How do I deploy a SOAP Webservice (ServiceManagerClient

2005-01-11 Thread empress101
ok i looked at that page and the instruction 
http://www.jboss.org/wiki/Wiki.jsp?page=JBoss.NET

and they are not clear 

 HOWTO switch between JBossWS/JBoss.NET

Before you can use JBoss.NET you need to remove JBossWS and install JBoss.NET 
manually. Here is what you need to do from the jboss.net module dir

!-- delete jboss-ws4ee implementation --



!-- install jboss-net implementation --


  


If you work from the source, there are 'deploy' targets in the 
jboss.net/webservice module respectively.

The binaries for JBoss.Net are distributed under 
${jboss.home}/docs/examples/jboss.net 

1. first were is this directory i am suppose to do from.. I assume its the 
jboss-net directory in the jboss_home/docs/examples/jboss.net ?

2. is that a build file i am to make and use ant to execute?

3. when looking for the jboss-net.sar there is no jboss-net.sar however there 
is a jboss-net.sar.tmp file inside the jboss-net directory?

4. when making it into a build file. It does not work.

5. when just doing it myself and (copying the jboss-net.sar.tmp to the deploy 
directory and changing extension to .sar it still not work.

I am using Jboss4.0.0RC2

I assusmed it is a builld file suppose to make.  Because i would assume if it 
was clear instructions it would start out .
number 1. do this
number 2. do this
number 3. do this .ect...




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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: creating connection pool! please help me!

2005-01-11 Thread repkin
there is an exception

18:02:43,314 INFO  [CachedConnectionManager] Closing a connection for you.  
Please close them yourself: [EMAIL PROTECTED]
java.lang.Exception: STACKTRACE

what is the reason for that and what I have to do?

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Multiple datasource configuration files for Hypersonic

2005-01-11 Thread afrl2005
Hello,

I want to configure JBoss to run Hypersonic (in-process mode).  The 
hsqldb-ds.xml file is easy to modify, but I am running into a a problem.  The 
application we are developing dynamically points to several datasources. 
However,  I always want each datasource to go to the same Hypersonic in-process 
database.  If I configure multiple datasource files with the same connection 
info, I will get a bean already deployed error, etc.  Given a datasource file, 
is there a way to reference another already deployed datasource, instead of 
specifying a connection URL?

If there is a better way to do this, please let me know.

Anthony

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Timer vs. cluster scheduler

2005-01-11 Thread fredatwork
Hello,

I have a few questions about EJB timers :

1/ I'm interested to know what JBoss 4.0 AS does with timers in a clustered 
environment. More specifically, I would like to know if timers can be made 
highly available with JBoss clustering features (the J2EE specification does 
not mandate high availability or clustering for timers) ? What happens if a 
node containing the timer goes down ? Does another node will automatically 
create a new EJB timer ? Is there a way to do this ?

2/ I read in an older post (back in 2003) that Scott Stark (my favorite CTO ... 
) seemed, at the time, be willing to use Quartz as JBoss scheduler and that 
this would effect EJB Timer Service as well. ? What is the status on this issue 
?
Can anyone explain where JBoss is heading in terms of scheduling service ? 

Fred

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: MDB as Web Service endpoint?

2005-01-11 Thread [EMAIL PROTECTED]
I fail to understand why an MDB has to be exposed as a Web Service.  An MDB has 
no contact with the external world (read clients) except with the container.   
When a message arrives at a destination,  the container creates a MDB and 
assigns the message to it.

Tell me if I am wrong.

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: java.sql.SQLException: Io exception: Broken pipe

2005-01-11 Thread georgewinner
Adrian I have the same error in my application, 

So it's not a real error but and wrong message thrown ??


12037157 INFO  10 Jan 2005 23:04:28,401 
connectionmanager.TxConnectionManager$TxConnectionEventListener - Unregistered 
handle that was not registered! null for managedConnection: [EMAIL PROTECTED]
12037158 INFO  10 Jan 2005 23:04:28,402 
connectionmanager.TxConnectionManager$TxConnectionEventListener - Unregistered 
handle that was not registered! null for managedConnection: [EMAIL PROTECTED]
12037159 INFO  10 Jan 2005 23:04:28,403 
connectionmanager.JBossManagedConnectionPool - Exception destroying 
ManagedConnection
org.jboss.resource.JBossResourceException: SQLException; - nested throwable: 
(java.sql.SQLException: Io exception: Broken pipe)
at 
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkException(BaseWrapperManagedConnection.java:445)
at 
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.destroy(BaseWrapperManagedConnection.java:229)
at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.doDestroy(InternalManagedConnectionPool.java:374)
at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.returnConnection(InternalManagedConnectionPool.java:250)
at 
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool.returnConnection(JBossManagedConnectionPool.java:648)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.returnManagedConnection(BaseConnectionManager2.java:451)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$BaseConnectionEventListener.connectionErrorOccurred(BaseConnectionManager2.java:762)
at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.connectionErrorOccurred(TxConnectionManager.java:629)
at 
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.broadcastConnectionError(BaseWrapperManagedConnection.java:309)
at 
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.connectionError(BaseWrapperManagedConnection.java:294)
at 
org.jboss.resource.adapter.jdbc.WrappedConnection.checkException(WrappedConnection.java:819)
at 
org.jboss.resource.adapter.jdbc.WrappedConnection.createStatement(WrappedConnection.java:156)
at 
com.eurodyn.dimitra2.util.scheduling.XMLTask.getLastExecution(XMLTask.java:219)
at 
com.eurodyn.dimitra2.util.scheduling.XMLTask.needExecution(XMLTask.java:307)
at 
com.eurodyn.dimitra2.util.scheduling.XMLTask.execute(XMLTask.java:295)
at 
com.eurodyn.dimitra2.util.scheduling.ScheduledTask.run(ScheduledTask.java:53)
at java.util.TimerThread.mainLoop(Timer.java:432)
at java.util.TimerThread.run(Timer.java:382)
Caused by: java.sql.SQLException: Io exception: Broken pipe
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
at oracle.jdbc.driver.OracleConnection.close(OracleConnection.java:1442)
at 
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.destroy(BaseWrapperManagedConnection.java:225)
... 16 more





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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS fills up database

2005-01-11 Thread tprice
Thanks Adrian  for the resposne.

I'm creating a subscriber using:

topicSubscriber = session.createSubscriber(topic);
which, I think, should default to a non durable subscription. Is there 
something else I need to do?

Tim.


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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: javax.naming.NameNotFoundException: comp not bound

2005-01-11 Thread [EMAIL PROTECTED]
Use the global JNDI namespace in JBoss.  Don't bind to java:/

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: How Can I dynimicly load a Class in Session Bean (Statel

2005-01-11 Thread fredatwork
You definitely have to load a class as Frito told you :
Thread.currentThread().getContextClassLoader().loadClass()

But also, I would consider migrating immediately consider to JBoss 4.0.1.

I had plenty of problems with JBoss 4.0.0 loading classes of mine dynamically 
and more generally with the JBoss class loader (e.g. with JBossCache) , 
expecially for classes included in an EJB jar file, that in turns is itself 
contained inside an EAR file (like you do). I posted several subjects on this. 
I received the same exception as you did (class not found !).

I had test cases working with JBoss 4.0.0 RC2 but not with JBoss 4.0.0. When I 
migrated to JBoss 4.0.1, evrything went allright as with prior versions to 
4.0.0.

I believed JBoss 4.0.0 class loader was somehat buggy. But JBoss tech leaders 
said JBoss 4.0.1 only changed some xml config of the class loader (they refered 
to release notes).

Fred

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] SSL help

2005-01-11 Thread Manjunath R
Hi All, I 'am trying to configure ssl in jboss/tomcat. I am using Jboss-3.2.6. I made changes in theserver.xml to use self singed certificate with thevalid password.When I tried to run the server. It is throwing theexception as given below. I am giving the correct path of the keystore andpassword.I can see the certificate using keytool. But still itis saying no certificate found and ignored exception: java.net.SocketException: SSLhandshake errorjavax.net.ssl.SSLException: Noavailable certificate corresponds to the SSL ciphersuites which are enabled..
Please help me what do I do to work this.

Regards,Manju

2005-01-11 22:28:25,906 ERROR[http-0.0.0.0-443-Processor4]org.apache.tomcat.util.net.PoolTcpEndpoint - Endpoint[SSL:ServerSocket[addr=/0.0.0.0,port=0,localport=443]]ignored exception: java.net.SocketException: SSLhandshake errorjavax.net.ssl.SSLException: Noavailable certificate corresponds to the SSL ciphersuites which are enabled.java.net.SocketException: SSL handshakeerrorjavax.net.ssl.SSLException: No availablecertificate corresponds to the SSL cipher suites whichare enabled.atorg.apache.tomcat.util.net.jsse.JSSESocketFactory.acceptSocket(JSSESocketFactory.java:113)atorg.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:368)atorg.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:549)atorg.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)at java.lang.Thread.run(Thread.java:534)




__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 

[JBoss-user] [Installation Configuration] - Re: how to configure ssl in jboss server

2005-01-11 Thread planeski
Yes, it's explained, but it doesn't work.  At least not out of the box with 
4.0.

I get the following exception:

12:22:38,526 ERROR [StatelessSessionContainer] Starting failed 
jboss.j2ee:jndiName=examples/ejb20/testbeans/stateless/TraderRequired
Home,service=EJB
java.lang.RuntimeException: invoker is null: jboss:service=invoker,type=jrmp

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Adding Methodes

2005-01-11 Thread sirrurg
Hi everyone!

I have a question about bytecode manipulation with Javassist.
Is it possible to modify more than one class a time and
compile them together?!?
I think of doing sth like this:

  | class A{
  | void dosth(){ 
  |  ...
  |  B.dosthmore();
  |  
  | }
  | }
  | class B{
  | void dosthmore(){...}
  | }
  | 
And i want to change it in sth like this ..

  | class A{
  | void dosth$impl(){ 
  |  ...
  |  B.dosthmore$impl();
  |  ...
  | }
  | void dosth(){ 
  |  ...
  |  dosth$impl();
  |   
  | }
  | }
  | class B{
  | void dosthmore$impl(){...}
  | void dosthmore(){...}
  | }
  | 

As i saw in the tutorial it is easy to modify one class a time,
is this also true for more than 1?!? Or do i have to
split this up into 2 Loops ?

Sincerely
 Sirrurg 

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: How can i setting up JMS clustering on jboss4.0?

2005-01-11 Thread DashV
The JBoss Clustering docs would be a great way to get started. You have to pay 
for them but they are well worth it. They should tell you just about everything 
you'd want to know.

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Sometimes it compiles, sometimes it doesn't

2005-01-11 Thread TimGE
Our code is developed using Eclipse and deployed to JBoss as WAR file. I've 
recently tried to add an additional method to one of the classes in our 
package. When I deploy it to the server and then access the site, sometimes it 
works and other times I get an error saying that the compiler cannot resolve 
the method (the same one that it just executed a few minutes before.) This 
problem has happened to me several times. Any suggestions? I never have a 
problem if I only make changes to an existing method. 

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: document literal style and ws method with no parameter

2005-01-11 Thread [EMAIL PROTECTED]
This is a bug

http://jira.jboss.com/jira/browse/JBWS-70

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: JSTL/JBoss/JSP error

2005-01-11 Thread jlauman
For anyone interested here's what I did to solve the JBoss problem with the 
PropertiesEditor error.

I edited org.jboss.util.propertyeditorDateEditor.java and
recompiled it wth the following changes and the problem went
away.  I tried creating a date/time editor and a BeanInfo
class but sometimes they loaded and somtime they didn't.  It
was very sporatic.  Changing the JBoss file that was complaining
was easier but not a long term fix.

Thanks,

Jack Lauman

// Entries for DateSelectTag:
// 2005-01-10
   new SimpleDateFormat(-MM-dd),
// Jan 10 (Mon)
   new SimpleDateFormat(MMM dd (EE)),
//
// Entries for TimeSelectTag:
// 06:00:00
   new SimpleDateFormat(hh:mm:ss),
// 06:00am
   new SimpleDateFormat(hh:mma),
// 6:00am
   new SimpleDateFormat(h:mma) 

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Connect JBoss from client pc

2005-01-11 Thread max_ten
I'm using WinXP on both machines.
By using proxy server software, the client PC can share the internet connection 
from host PC.
But just can't get it when type http://hostIP:8080/myApp in client PC.

Have i miss up something?

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Address already in use: JVM_Bind

2005-01-11 Thread jingc3
Hi there,

I am starting a jboss-3.2.3 on a server, and no matter what port number I 
changed for OIL2, I always get the error saying:

2005-01-11 13:53:38,640 ERROR [org.jboss.mq.il.oil2.OIL2ServerILService] 
Starting failed
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
at java.net.ServerSocket.bind(ServerSocket.java:309)
at java.net.ServerSocket.(ServerSocket.java:183)
at javax.net.DefaultServerSocketFactory.createServerSocket(DashoA6275)
at 
org.jboss.mq.il.oil2.OIL2ServerILService.startService(OIL2ServerILService.java:485)


Here is the configuration in oil2-service.xml

mbean code=org.jboss.mq.il.oil2.OIL2ServerILService
  |  name=jboss.mq:service=InvocationLayer,type=OIL2
  | depends 
optional-attribute-name=Invokerjboss.mq:service=Invoker/depends
  | attribute 
name=ConnectionFactoryJNDIRefOIL2ConnectionFactory/attribute
  | attribute 
name=XAConnectionFactoryJNDIRefOIL2XAConnectionFactory/attribute
  | attribute name=ServerBindPort58092/attribute
  | attribute name=PingPeriod6/attribute
  | attribute name=EnableTcpNoDelaytrue/attribute
  | attribute name=BindAddress${jboss.bind.address}/attribute
  |   /mbean

Any suggestions?  Please help ...

Thanks

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Docs\examples\ejb\simplemessage

2005-01-11 Thread zarniwoop
Hi there,

the JNDI Port (default 1099) is specified in your servers conf directory
in the file jboss-service.xml.
I had to change that due to conflicts with my virus protection software.

Rgds 

Jens

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Multiple .har possible?

2005-01-11 Thread luxmatic
mveitas wrote : Try using two differnet sessionFactories.

That was the hint I needed.  I was under the impression (wrongly) that the 
sessionFactory was defined and configured elsewhere. 

Changing the 2nd .har's SessionFactoryName to 
java:/hibernate/SessionFactoryExample2 - and then referring to this name when 
grabbing the session in the code - allowed it to work.

Thanks much!


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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Stateful Session bean and java.sql.Connection problem

2005-01-11 Thread ter_d
Hi darranl,
so... where's my reply with my problem? 
Esther

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Address already in use: JVM_Bind

2005-01-11 Thread jingc3
Solved - there is a copy of Oil2-service.xml in the same directory, and that 
caused the problem

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Edition 6 is the latest version of the documentation I can f

2005-01-11 Thread dpasiuk
Hello, Friends,

The latest version of JBoss Clustering that I can find online is Edition 6, 
which seems to be for JBoss 3.2.26.  I'm currently working with JBoss 4.0.1.  
Is this the most current version of this doc?

Thanks

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Remote Topic.... Bug o wrong configuration?

2005-01-11 Thread craig1980
Hi all... sorry but i'm still blocked in this error from 7 days...Has anybody a 
tip?
Thanks

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - HTTP Session Timeout Configuration?

2005-01-11 Thread daorriss
Where is HTTP Session Timeout configured in JBoss?  What file needs to be 
edited, etc?



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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Big Problem with Schedulable

2005-01-11 Thread atillman
I have several Schedulable items that are designed to run at ~5min intervals.   
   There is a ServletContextListener that starts up the items when our 
application deploys.  These schedulable items worked fine for months but now 
they are giving us problems.  When our application starts up the Schedulable 
items are run once, but are never run again.  Even if I go the the jmx-console 
and tell it to restartSchedule() I see in the logs the the item's constructor 
is called, but the perform(Date, long) method is never called.  

Any help with this problem would be appreciated as this is affecting a 
production server.

Here is the mbeam XML configuration
mbean code=org.jboss.varia.scheduler.Scheduler
  |  name=backstop:service=ContactSyncTaskService-Owner-108
  | attribute name=StartAtStartupfalse/attribute
  | attribute 
name=SchedulableClasscom.backstopsolutions.fundbutter.crm.collaboration.timer.ContactSyncTask/attribute
  | attribute name=SchedulableArguments108,10/attribute
  | attribute 
name=SchedulableArgumentTypesjava.lang.Integer,int/attribute
  | attribute name=InitialStartDateNOW/attribute
  | attribute name=SchedulePeriod30/attribute
  | attribute name=InitialRepetitions-1/attribute
  |   /mbean

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Re: JBoss and usage of multiple processors

2005-01-11 Thread frankgrimes
If load isn't being balanced correctly across your processors, here are two 
likely culprits:

a) Operating System
b) Java Virtual Machine implementation for said O/S

I seriously doubt there is any Jboss code that could impact processing load 
distribution

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Problem with EJB Web service Client

2005-01-11 Thread [EMAIL PROTECTED]
Your client code uses the crimson parser that is the JDK default and cannot 
handle xml schema.

Use Xerces instead like this


  |   sysproperty key=java.endorsed.dirs 
value=${jboss.home}/lib/endorsed/
  | 



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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Complex types in WS4EE.

2005-01-11 Thread [EMAIL PROTECTED]
webservices.xml is a server side deployment descriptor, so it does not apply.

ws4ee-deployment.xml is given as the third parameter. I corrected the wiki on 
this



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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Frequently Asked Questions [Web Services]

2005-01-11 Thread [EMAIL PROTECTED]
The wiki should be the primary source of information

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - How to run JSF on JBoss4?

2005-01-11 Thread chuckzhg
Qudos to JBoss after having JBoss4.0.1 RC1/EJB 3.0 preview running.  I would 
really appreciate if someone (JBoss or not) can tell us how to run JSF (Sun RI, 
or MyFaces, etc) on top of JBoss 4 (preferably 4.0.1RC1 till JBoss get EJB 3.0 
works on higher-than-RC1).  

Thanks very much in advance,
chuck


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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Problem with using custom datatypes in WSTypeMapping

2005-01-11 Thread [EMAIL PROTECTED]
The classes should be seen by the deployment class loader. If WEB-INF/lib is 
not included it would be a bug.

http://jira.jboss.com/jira/browse/JBWS-71

Have you tried putting them in WEB-INF/classes ?

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Getting ping timeout trying to connect to a Queue

2005-01-11 Thread ehansen
I did not see a reply relevant to this post, so I would like to raise it 
again... what can cause this to ping timeout to happen?  

I have the same symptoms... the appliation will run for several days without 
problem, the whammo, these exceptions appear and the app is dead.  It happened 
last night in the middle of the night, when noone was on using the system.

Thanks for any insight into this issue.
Eric-


using jboss v3.2.4

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Hung Messages

2005-01-11 Thread trickard
jboss-3.2.5, oracle datastore, jdbc3, hp-ux11.x

For some reason we have some messages for a durable subscription that I have 
not been able to receive. I was in a tight time frame (month end) and chose to 
read the blobs directly, create a new message and send it to a queue where they 
were processed correctly.



I need to remove those processed messages to prevent double processing. I still 
cant get them to receive using normal subscribers.  We have a 24/7 operation 
and I am not able to restart the production server until the weekend.  Can I 
simply remove the processed messages from jms_message_log and jms_reference_log 
using SQL or will that cause the messaging system to crash. New messages are 
being recieved all the time.

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - inconsistent state of entity bean using auto-increment

2005-01-11 Thread troyschulz
JBoss Version : 3.2.4,3.2.5,3.2.6

We are using auto-increment fields with SQL Server and have enabled 
insert-after-ejb-post-create in order to support NOT NULL FK constraints.

From a session bean, a call such as:

User u = userHome.create(first,last, [EMAIL PROTECTED]);


returns an object that is inconsistent.  A call to u.getId() will return the 
correct auto-increment value.  However, a call to u.getPrimaryKey() returns a 
primary key object that has the value of 0.

It appears to me that the code that retrieves the auto-increment value from the 
sql insert statement and sets the id property value does not in turn fix the 
Primary Key object for the bean.

For most things this is not a problem, but in addition to creating the user, we 
want to create an address for them at the same time. ie.

User u = userHome.create(first,last, [EMAIL PROTECTED]);
Address a = addressHome.create(street, city, state, u);


This address create fails since JBoss attempts to use the id of 0 as the FK 
value.

The work around we have discovered is to reload the user prior to adding the 
address:

User u = userHome.create(first,last, [EMAIL PROTECTED]);
//u.getId() and u.getPrimaryKey() are NOT consistent
u = userHome.findByPrimaryKey(new  UserPK(u.getId));
//u.getId() and u.getPrimaryKey() are consistent
Address a = addressHome.create(street, city, state, u);


This new user object is no longer inconsistent and the create of the address 
works as expected.

Is the PrimaryKey object not being updated at the same time as the id property 
for a reason, or is this a bug?  It seems to me that the two should be 
synchronized at the time the id is updated.

Tas

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Intermittent TransactionRollbackLocalExceptions

2005-01-11 Thread darretta
Sorry for the long delay in my reply.

Here is the stack trace:

15:54:26,636 ERROR [BeanLock] Saw rolled back tx=TransactionImpl:XidImpl 
[FormatId=257, GlobalId=moonrock.metnet.navy.mil//10, BranchQual=]
15:54:26,636 ERROR [LogInterceptor] TransactionRolledbackLocalException in 
method: public abstract java.lang.Object 
mil.navy.ia.nicweb.dos.ejb.entity.PorRequestLocal.createValueObject(), causedBy:
java.lang.RuntimeException: Transaction marked for rollback, possibly a timeout
at 
org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.doSchedule(QueuedPessimisticEJBLock.java:228)
at 
org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.schedule(QueuedPessimisticEJBLock.java:183)
at 
org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:85)
at 
org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:54)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at 
org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:484)
at org.jboss.ejb.Container.invoke(Container.java:723)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:359)
at org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:44)
at $Proxy258.createValueObject(Unknown Source)
at 
mil.navy.ia.nicweb.dos.ejb.session.PorFacadeBean.createPorRequest(PorFacadeBean.java:545)
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:324)
at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at 
org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
at org.jboss.ejb.Container.invoke(Container.java:723)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:359)
at 
org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)
at $Proxy303.createPorRequest(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:402)
at 
org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:309)
at 
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333)
at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
at 
org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:481)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:323)
at 
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:854)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 

[JBoss-user] [Installation Configuration] - Re: Does JBpm2 works on JBoss4?

2005-01-11 Thread chuckzhg
Even with JBoss 3.2.5, it passed 'ant deploy' in the Getting Startd guide, but 
failed immediately on the next step 'ant deploy.process.archives' with 
following reason:

java.lang.RuntimeException: couldn't deploy process archives : couldn't 
instantiate class org.jbpm.persistence.hibernate
.HibernateSessionFactory (as configured in key 
jbpm.persistence.session.factory) : see stacktrace for more details
at org.jbpm.ant.DeployParTask.execute(DeployParTask.java:47)



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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Does JBpm2 works on JBoss4?

2005-01-11 Thread chuckzhg
Even with JBoss 3.2.5, it passed 'ant deploy' in the Getting Startd guide, but 
failed immediately on the next step 'ant deploy.process.archives' with 
following reason:

java.lang.RuntimeException: couldn't deploy process archives : couldn't 
instantiate class org.jbpm.persistence.hibernate
.HibernateSessionFactory (as configured in key 
jbpm.persistence.session.factory) : see stacktrace for more details
at org.jbpm.ant.DeployParTask.execute(DeployParTask.java:47)



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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: How to run JSF on JBoss4?

2005-01-11 Thread lafr
create a war file with this files additional:
WEB-INF/lib/jsf-api.jar
WEB-INF/lib/jsf-impl.jar
WEB-INF/lib/jstl.jar
WEB-INF/lib/standard.jar
WEB-INF/faces-config.xml


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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: HTTP Session Timeout Configuration?

2005-01-11 Thread [EMAIL PROTECTED]
In the web.xml  file under conf directory  of jbossweb-tomcatxxx.sar in the 
deploy dir of your configuration.

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - cookie problem! (org.apache.jasper.JasperException)

2005-01-11 Thread repkin
connector myconnector = home.create();
Cookie[] cookies = request.getCookies();
if( myconnector.checkCookies(cookies) )
--
in my connectorBean I have define this mehod
public boolean checkCookies( Cookie[] cookies )
---
but it gives this error:

--
type Exception report

message 

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception 

org.apache.jasper.JasperException

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)


root cause 

java.lang.reflect.UndeclaredThrowableException
$Proxy82.checkCookies(Unknown Source)
org.apache.jsp.index_jsp._jspService(index_jsp.java:83)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)


note The full stack trace of the root cause is available in the Apache 
Tomcat/5.0.28 logs.
---

How can I solve this problem?

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Cross-context form-based authentication

2005-01-11 Thread ryoung2504
I have two applications each with their own context root and each has their own 
JAAS security domain. I have a set of users with the same logon credentials for 
both security domains but with differing roles for each domain. 
If I set the auth-method for both apps to BASIC then I can authenticate for one 
app and get the correct roles and then switch to the url of the other app and 
get the correct roles for that app. I do not need to re-authenticate when 
switching between apps.
If I set the auth-method for both apps to FORM then I can authenticate for one 
app and get the correct roles however if I switch the url in the browser to 
point to the second app I have to re-authenticate myself. (I do however get the 
correct roles).

Is there a way to get form based authentication to store the user credentials 
in the same ?magic way? that basic authentication does, and thus allow me to 
logon once?

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >