[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());

[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());

[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 canno

[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. --

[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=bb&op=viewtopic&p=3861573#3861573 Reply to the post :

[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. --

[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. --

[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=bb&op=viewtopic&p=3861562#3861562 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861562

[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 yo

[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 "^/(.*)"

[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

[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=bb&op=viewtopic&p=3861561#3861561 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861561 --- The SF.Net email is sponsored by:

[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 ter

[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 |

[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=bb&op=viewtopic&p=3861554#3861554 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861

[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=bb&op=viewtopic&p=3861555#3861555 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861

[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=bb&op=viewtopic&p=3861553#3861553 Reply to th

[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=bb&op=viewtopic&p=3861550#3861550 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861

[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

[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 name jndi name jndi name HTTP Session HTTP Session jboss:service=invoker,type=http jboss:service=invoker,type=http As described in many sites. This was work

[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=bb&op=viewtopic&p=3861551#3861551 Reply to the

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

2005-01-11 Thread huijbrec
KeepCool, did you find a solution? true 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.setManagedCon

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

2005-01-11 Thread fabius
Hi, is possible: application.war /test* with /test* for more url init by >/test? thanks. fabio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861544#3861544 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861544

[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=bb&op=viewtopic&t=27766 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861543#3861543 Reply to the post : http://www.jboss.org/

[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://l

[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=bb&op=viewtopic&p=3861542#3861542 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861542 --

[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.la

[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=bb&op=viewtopic&p=3861540#3861540 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861540 --- The

[JBoss-user] [Installation & Configuration] - Re: JBPM Oracle Connectivity

2005-01-11 Thread pkliem
Hi, when you are using oracle with jbpm you don't need to setup the HypersonicDatabse as an mbean. You can delete the jbpm-db-service.xml from the deploy directory. All you have to change are the settings for hibernate (dialect++) and the Datasource to be used: this is the file jbpm-ds.xml. I'm

[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. | | com.redzero:loader=sft.war | | . However, during the start up, I found this message === Only the root deplo

[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=Cla

[JBoss-user] [Installation & Configuration] - how can I change standard output?

2005-01-11 Thread alflaro
I have installed an EAR file in JBoss and my application is correctly running. My standard output is now on the command window and in the server.log file. How can I redirect the standard output on a custom file? Thanks Alfredo View the original post : http://www.jboss.org/index.html?module=bb

[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=bb&op=viewtopic&p=3861531#3861531 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply

[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 Ja

[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

[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=bb&op=viewtopic&p=3861527#3861527 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861527 --- The S

<    1   2