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());
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());
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
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.
--
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 :
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.
--
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.
--
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
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
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 "^/(.*)"
"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
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:
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
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
|
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
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
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
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
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
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
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
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
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
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/
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
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
--
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
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
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
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
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
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
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
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
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
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
101 - 136 of 136 matches
Mail list logo