Hello,
I would like to know, what is the best way to deploy customer extensions to a J2EE
application (which is deployed as an .ear file) .
I am using a configurable dynamic class loading to allow product customization
(usually implementations of interfaces).
I know some possible solutions,
As far as I can tell the way to do this is to set the Principal and credential for the
thread via SecurityAssociation, then these will be picked up by the proxy and added to
Invocation.
I'm uncomfortably aware that I'm not an expert on the complete JBoss architecture and
all the interactions
oops!! sorry my mistake :-)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840402#3840402
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840402
---
This SF.Net email
What is the default character encoding in JBoss 3.2.3 and can that be changed and how?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840403#3840403
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840403
Hi all!!
There is a way to declare a JNDI name global to my ear app?
I want to declare a name visible to all classes deployed in my app.
Thanks in advance,
Nico!
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840405#3840405
Reply to the post :
Is it possible to include this information in the relase notes on SF?
Concerning clustering in 3.2.5 this message is interesting, too:
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840284#3840284
View the original post :
I found the problem.
It seems we have to put the servers adresses and HA-JNDI ports in the PROVIDER_URL
initial context.
Is this possible to connect directly to HA-JNDI in a auto-discovery context ?
View the original post :
More on jboss-3.2.4 with tomcat-50
I have a slightly different error with setting up CLIENT-CERT. My application
requires that I set-up port 8442 for TLS w/o client authorization so in the
$JBOSS_HOME/server/default/deploy/jbossweb-tomcat50.sar server.xml file Ihave
the following
I searched the forum, found nothing similar. I am using the mysql-jdbc-service
provided with Jboss
Since 3.2.4, we have to call explicitely connection.start() if we want to receive
messages (I am using java:/JmsXA) If I run the application without calling
connection.start() evertime I want to
Yes, check our free on-line docs. http://www.jboss.org/docs/index Chapter 11 page 593.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840410#3840410
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840410
Hi,
I just came across a web-page which supports John's view that servlet can't access a
EJB locally. It has to be a remote call. What we can do is wrap all the
entity/session beans with a single session bean.
This session bean can be called remotely by servlet and then session bean calls
anonymous wrote : Regarding older EJBs using 1.0 deployment descriptors but deployed
into 3.2.3 container, can the container manage optimistic locking for these?
|
No.
anonymous wrote : Regarding last post, this seems to contradict what is printed in the
Admin/dev guide.
What is
Thank you... that's ok...you save my life... but if you are in localhost the
istructin: getRemoteHost() return the localhost.
You can useing : getHeader(User-Agent)
thanks you very much
bye.
PS: Sorry for my bad english.
View the original post :
It's ok. When JBossCMP generates database schema it can add foreign key constraints if
you ask. This is configured in [standard]jbosscmp-jdbc.xml with fk-constraint element
in defaults or per ejb-relationship-role.
It will work with or without it.
View the original post :
This is not a JBoss-specific problem. Read the javadocs for the exception and look for
the misuse in your code.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840420#3840420
Reply to the post :
1 - Use search in these forums, this has been answered a few times this month.
2 - Why do you need it, are you writing a J2EE application or a JBoss application?
3 - Download the source and use the build system to generate the Javadoc.
View the original post :
You need to install the plug in from Sun, should come with the JRE.
Just because one applet works doesn't prove that you are set up correctly to run all
applets.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840422#3840422
Reply to the post :
err no one ?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840423#3840423
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840423
---
This SF.Net email sponsored by Black
This was fixed yesterday. The problem is metaData CLOB is null. While result set
returns Clob object the Clob.getCharacterStream() returns null Reader. That was the
problem. See org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil$2.readResult(JDBCUtil.java:489).
View the original post :
Yes, check it out from CVS or apply the changes yourself
http://cvs.sourceforge.net/viewcvs.py/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCUtil.java?r1=1.11.2.13r2=1.11.2.14
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840425#3840425
Reply to the
Having a better CSS support is definitely a need. First let's have that in a theme,
then we can work on modules.
The forum module CSS should not be changed, it's ok as is but if there are bugs we can
fix them.
The CSS must be compatible with the most popular browsers : internet explorer,
Hi,
When we have a checked URI and we authenticate successfully, the principal is
available from current request object.
However, if we navigate to an unchecked URL ( i mean with no security-constraint
imposed) then the principal is not available.
I thought that the JAAS implementations save
Of course, you should be using CMR here.
In fact, ejb-relationship-role-name is an optional element. But JBoss-3.2.x requires
it. JBoss-4 doesn't.
Your ejb-jar.xml:ejb-relation is not correct. You messed with
ejb-relationship-role-name. Include them into corresponding ejb-relationship-role.
thank you, louis, i'v found the final solutions.
Browsing the web i learnt that only some of deployers has relations on
ServiceController service.
I first tried what's you suggested me, after, browsing the jmx console, i've finally
found the correct service to link over.
at least, my
I need to generate an 8 byte alphanumeric value which retains uniqueness over a
minimum of a 90 day period. Uniqueness must be retained after application crashes or
restarts. The application server is JBOSS 3.2.2.
Is there a way to do this using a service already in JB?
View the original
Hi There!
I posted this to three forums and I got no Feedback. Now it's up to you! As
the post was read 40 times the first 4 days it seems to be interesting to
more users.
Hi,
we have an database design problem on mySQL using JBoss. We are using CMP,
Autoincrement and InnoDB relationships. The
yes by default Tomcat (dont know about Resin) stores the principals in the session
(strangely using Session.setNote() so actually its not available through HttpSession )
but JBoss instead doesnt store the principals and instead stores the credentials in
the session it then delegates to the
It works for me now.
Thanks for your help Alexey.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840433#3840433
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840433
Please all Java freaks, don't give out to me :-)
We need a nice bridge between C++ and a jms-queue. What we want to do is to push text
based messages from a C++ based system.
I have built a temporary solution using low level sockets (an MBean as a listener).
This solution is deployed in
The problem is fields were found more than once in the pk class hierarchy and Field
objects of the superclass were used.
This is fixed in org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCCMPFieldMetaData.java
revision 1.8.2.13.
The warning is logged and the field which is declared in the pk class is
I am trying to use a client to access a topic on a remote machine running JBoss. The
JBoss 3.2.4 system (linux) is not running on default ports but is using ports-01
configuration (something else is running on some of the default ports) so jndi is
running on 1199 ..
The client is using the
anonymous wrote : Is there a fix/work around to this issue?
Have you tried upgrading to a SDK that is not faulty?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840441#3840441
Reply to the post :
Hi, my JBOSS application works OK with 14 concurrent users, but is very very slow with
25 concurrent users.
What could be the problem?
Thanks a lot
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840444#3840444
Reply to the post :
A good solution to this would be to use SOAP/Web Services. Although, depending on
message volumes, the overhead might be too big.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840447#3840447
Reply to the post :
Hi all!!
There is a way to declare a JNDI name global to my ear app?
I want to declare a name visible to all classes deployed in my app.
Thank you in advance,
Nico!
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840446#3840446
Reply to the post :
I have a CMP app that works great on JBoss 3.2.3. trying to get it to work on 3.2.5,
fails during startup. All beans seem to go fine, then I get a NullPointerException.
Server.log is as follows:
2004-06-30 07:59:24,783 DEBUG [org.jboss.system.ServiceController] starting service
We have to interface to a legacy transaction protocol based on secure FTP. Should I
consider using 3rd party JCA impl, such as Librados, that provides FTP functionality?
Are there other alternatives already avaialble in JBoss?
dt
View the original post :
I'm planning to use JBoss to host a number of JSP pages that interface with the
webMethods platform. I'd appreciate any information on stability of such a config and
the kind of support I can expect from Jboss if I choose this route.
Thanks
View the original post :
For sending files I've successfully used Jakarta Commons-Net. However, I think this
starts a background thread. If so, it's not strictly spec compliant.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840450#3840450
Reply to the post :
anonymous wrote : the kind of support I can expect from Jboss - None unless you are
planning to pay for it.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840451#3840451
Reply to the post :
Nobody will ever be able to help you if you don't tell what you are doing!
In any case, there are quite a few pointers in these forums already, like checking
your logging, tuning your config for deployment etc.
Joachim
View the original post :
How on earth is anyone here going to be able to tell you that?
Some more information on your problem?
What are the scenarios?
What is your app doing? Are you using web pages, sessionbeans, entity beans, JMS, MQ,
JCA, JMX, clustering and anything else not on the list?
Have you performed any
Hi All
Is there a way to reset all database connections if there has been an outage.
I know I could use check-valid-connection-sql/ in the ds file which will reset them
individually but we cannot afford the overhead to run a simple query for every
connection request even if its super
You can restart the Connection pool using JMX Console. First invoke destroy and then
create.
The below URL may work with your server-name, port and POOLNAME
http://server-name:port/jmx-console/HtmlAdaptor?action=inspectMBeanname=jboss.jca%3Aservice%3DManagedConnectionPool%2Cname%3DPOOLNAME
View
this should not be so hard.. is it not possible through JBOSS? I have seen posts
elsewhere that possibly the library is getting loaded 1 time?! any way to verify or
protect against this?
thanks
View the original post :
I'm loading a .dll with
System.load("myAbsolutePath/myDll.dll"); It looks to load it fine ( no error
thrown when wrapping the above in a try/catch block ), but when I make the call
to a method in the .dll, I get unsatisifed link error.
The .dll is in thejboss
bin.
I have tried
Does not exist an alternative to jnp://host:1100 protocol in a cluster context ?For
example http
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840458#3840458
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840458
Title: Message
Jeff,
As we
discussed on the forum, there is really no magic to this. It works. If it
doesn't there's something up with your config.
Other
things that spring to mind:
1)
System.loadLibrary() is defined to work in an implementation specific manner. In
Windows, I think it
Title: Message
I
appreciate your response, but there is still a gap here. I am using
windows, and I've seen in some other posts how unsatisfiedLinkError actually
indicates more then one instance of the .dll has been loaded. Do you have
any experience or ideas about this?
I have
tried
Please excuse this newbie question. I successfully built 1.1RC2, I edited the
local.properties to build for hsqldb instead of mysql, it deploys the datasource and
the packages correctly with the 'deploy-all' target. However this datasource isn't
populated. I previously used the main CVS branch
Title: Message
You
cannot load more than one instance of a DLL into a given process. And
System.loadLibrary() is specifically documented to only try and load one
instance if called more than once.
Like I
said, when the JVM reaches a method declared as 'native' in Java, it applies a
simple
what do you mean the datasource isn't populated?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840460#3840460
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840460
It is comforting to know it is not a JBOSS problem. Off hand I cant see any misuse in
my code. But I will investigate further. Thanks for your response.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840462#3840462
Reply to the post :
Greetings,
I set security permissions in my EJB's methods. In a standard client, I apply the JAAS
rules using the LoginModule and CallbackHandler.
Now, I must extend the invocation of my EJB methods from a JMX but I don't know where
does the java.login.config fits in the new context, or how
Hello
In our company we use JBoss 3.2.3 with an Oracle 8.1.7i database. Depending on this
configuration we want to use JMS with the Oracle DB as persistence layer.
First we tested the Hypersonic DB without problems. Then we switch to the Oracle DB.
Therefor we deleted the
Title: Message
see http://sourceforge.net/mailarchive/message.php?msg_id=1634373
in response to your first point.
I
explained that I looked in the .dll and updated my native function name from
"aaBond_crv1_java" to "aaBond_crv1", to match what was in the .dll. this
did not work I set it
Thank you,
by now the interfaces and the eyb-jar.xml file are correct. I have added
the correct XDoclet header below.
But I am afraid the deployment problem is not fixed yet.
I have deleted the tmp-directory. regenerated my sources and descriptors,
rebuild my source, packaged my jar, controled
Hi,
I'm trying to build Jboss 3.2.5 from the src, with SUN J2SE 1.4.2.
I've downloaded jboss-3.2.5-src.tar.gz and expanded it.
I'm going into the jboss-3.2.5-src\build directory, and use build.bat.
Then, the building tool stops with some compiling errors.
| ...
| compile-classes:
|
You're right, I had a slippery JAVA_OPT variable causing the VM to use the older
version. Getting rid of that solved that problem...unfortunately, a similar problem
is now occuring in org.jboss.mq.il.http.HTTPClient because it expects the com.sun.net
implementation of HttpsURLConnection, and
He He,
Well nobody has answered my question... so I answered it myself.
digging into the source I found 4 separate instances of ThreadPool.java. I think two
of them are the same code. :) I guess a little house cleaning is in order.
./server/src/main/org/jboss/web/ThreadPool.java
Yes it was a problem with my code. I was modifying the collection at the same time
reading it within the same transaction. Thanks.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840471#3840471
Reply to the post :
Greetings,
When I use a UsersRolesLoginModule or a DatabaseServerLoginModule, I have a explicit
role field that will be used to the authorization for a specific method.
What happens when we use a certificate, a kerberos or a ldap login module (I don't
know if JBOSS supports it but JAAS should
I have a war deployed to Jboss using form authentication. I am authenticating to
active directory witrh the browseldap module. What I need to know is how do I end the
session??
In other words what is the code for a log out button?
thank you in advance. I know this is probally a stupid
John,
If I had known you were going to do this, I would have given you different advice !
You are obviously running out of memory in the heap because of the number of integer
ticket numbers stored and the overheads (hidden to you) of the objects in the tree set.
You can increase the size of
Elementaries
1. Check that there is no transient modifier on variables in the Javabean.
2. Check that the Javabean class, and any classes that it references, are on the
classpath in the remote JVM.
3. Supply sample code for servlet, Javabean and session bean to see if anybody can
spot a
just drop the session dude ;o)
hreq.getSession().invalidate();
ok thats not really the best way to do it but it would work from the user prespective
although the principals would be stored in the cache if they relogged in so you
wouldnt get any updated information (roles for instance)
the
The first time I ran deploy-all the build failed with the error that
$JBOSS_HOME/server/default/nukes didn't exist so I created it by hand and re-ran the
deploy-all. This time it puts all the files in $JBOSS_HOME/server/default/nukes and
puts nukes.ear and nukes-ds.xml into place. Running JBOSS
Have you opened any connection that you have not closed?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840480#3840480
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840480
I appreciate your suggestions, but I've decided to abandon scoped ears for now. To
answer your question regarding structure. The DAOs are behind POJOs which are wrapped
by stateless session beans or message beans. All business logic resides in POJOs and
the EJBs are just a wrapper/pass
Hey All!
I am trying to write a scheduling tool. The deal is the assignment of employees to
shifts. So, there is a SessionBean that walks throught employees and shifts to find
the perfect plan.
However, this is a SessionBean, called by a MessageDrivvenBean, that has a recursive
method. As
I'm not working with transaktions - Have you switched them off and configured the
beans not to use transactions?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840484#3840484
Reply to the post :
hi,
this is my code snippet. Am i to close the QueueConnection also?
navjot
try{
QueueConnection qc = qcf.createQueueConnection();
QueueSession qs = qc.createQueueSession(true,QueueSession.AUTO_ACKNOWLEDGE);
QueueSender qsender = qs.createSender(q);
MapMessage msg = qs.createMapMessage();
No, do I have to?
I don't call them... yet. It sure makes sense to work with these, but not til now. Can
I make the Transaktion wait a bit longer before throwing Exceptions?
And, above all, how do I do that?
Thaks for the quick reply,
Karsten
View the original post :
ok - i'll have to update the deploy-all target to create the missing directory.
the ${jboss.server.data.dir} variable is automatically subsituted by jboss, so that
does not need to occur through the build process (and should not be changed).
in terms of the missing tables, you have create
Hi there,
I'm pretty new to this, so maybe someone could help me with this.
I get the following error message when I try to create a new entry.
This is just an example database consisting of two tables Moons and Planets.
The MoonEJB contains the fields planet, moon, radius and diameter and a
Greetings,
I'm looking for a reliable web service implementation. AFAIK, AXIS (the actual
implementation of JBOSS) can use SOAP over JMS instead HTTP. Besides that I'm not
aware how to do it or proceed. My basic skills allow me only building a standard web
service (WSDL) over HTTP. Now I'm
gives error during startup
pe=ServerConfig; - nested throwable: (javax.management.InstanceNotFoundException:
jboss.system:type=ServerConfig)
at org.jboss.mx.util.MBeanProxyExt.(MBeanProxyExt.java:77)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:292)
at
JDK 1.5 comes with it's own JMX implementation. Either use 1.4.2, or follow the steps
outlined somewhere on the Wiki
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840492#3840492
Reply to the post :
Great, that did it. I had to copy the nukes-ds.xml in first, then copy the .bsh in,
then run deploy-all. It's running now.
Now all I need is some documentation on creating a theme and creating a real site with
this :-)
Thanks.
View the original post :
You could also replace FD with FD_SOCK, so you establish sockets between peers rather
than use messaging/heartbeating to detect a crashed server.
Note, however, that this will *not* exclude a hung server.
Also search for my more detailed expl on this forum earlier.
Bela
View the original post
I am getting this exception in the logs:
javax.ejb.CreateException: Error checking if entity exists:java.sql.SQLException:
Table not found: NUKE_FILESTAT in statement [SELECT COUNT(*) FROM NUKE_FILESTAT WHERE
pn_from=1088617191129 AND pn_id=1 AND pn_vmid='951C02B90095DC3E']
View the original
grr - guess that beanshell script hasn't been updated to include those tables. i'll
make sure that gets taken care of as well.
do you have access to a client that can connect to hsqldb? if yes, you can just cut
and paste the table definitions in the ddl file (output/hsqldb).
View the original
i have the folllowing in my web.xml
| web-app
| display-namejlwi/display-name
| descriptionno description/description
|
| servlet
| servlet-nameHelloServlet/servlet-name
| servlet-classmil.jlwi.utils.HelloServlet/servlet-class
| /servlet
| servlet-mapping
|
geveritt wrote : In your jboss-service.xml on the classpath element
| add an archive attribute... for example
|
| | server
| | classpath codebase=deploy archives=MyStuff.jar,EvenMoreStuff.jar /
| |
| | mbean name=X:name=MyService
| |
| |
look at IronEyeSQL with p6spy
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840500#3840500
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840500
---
This SF.Net email
I have multiple jboss cluster partiitions that can see each other (but they are named
differently).
About every 10 seconds, I get messages like the following:
2004-06-30 09:22:39,900 WARN [org.jgroups.protocols.UDP] discarded message from
different group (cluster partition name). Sender was
janilsal wrote : If u change JDK to 1.4.x, does the behavior appear?
Yes that did work. However, I wasn't satisfied with that. So I downloaded the SDK1.5
Beta 2 (I had Beta 1). What was lacking in
http://www.jboss.org/wiki/Wiki.jsp?page=RunJBossWithJ2SDK1.5Beta was that it requires
Beta 2
No, I consider this an error: same IP mcast address, same port, but different
partition name.
I suggest changing the port and/or address instead of - or in addition to - the
partition name
Bela
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840504#3840504
The problem went away when I recompiled the server and client of my application with
the 3.2.4 jar's. But I still get a SocketException on the server when I execute
queueConnection.close() on the client.
View the original post :
All in all, this looks like a much better method of doing things, and it will help me
keep to my goal of 100% CMP. Plus, if it persisted it's last number used, as long as
the next number didn't exist response time would still be fast, given this scenario:
This code represents the ID column of
My problem is the faliover does not work. Hope somebody can give me some help. Thanks
advanced.
I follow the http://www.jboss.org/wiki/wiki.jsp?page=JBossMQHA, set JMS to MySql.
Only difference between what I do and the guide says is I use MySqlDS as datasource
name, whereas the guide use
I face similiar problems for failover for HAJMS when singleton node moves.
I tried the link posted by [EMAIL PROTECTED] at last-two reply
http://cvs.sourceforge.net/viewcvs.py/jboss/jbosscx/src/main/org/jboss/resource/connectionmanager/InternalManagedConnectionPool.java?r1=1.22r2=1.23
Good to know, thank you for your answer.
Regards,
Andreas
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840511#3840511
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840511
The folllowing in my entire test case web.xml
| web-app
| display-namejlwi/display-name
| descriptionno description/description
|
| servlet
|servlet-nameHelloServlet/servlet-name
|servlet-classmil.jlwi.utils.HelloServlet/servlet-class
| /servlet
| servlet-mapping
I am having similar problem and I followed this solution but there is luck. Any
further suggestions will be appreciated.
Thanks is advance
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840513#3840513
Reply to the post :
nooreini wrote : I am having similar problem and I followed this solution but there
is NO luck. Any further suggestions will be appreciated.
|
| Thanks is advance
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840514#3840514
Reply to the post :
I have an EAR that runs fine on JBoss 3.2.3, but when I deploy it on 3.2.5 I always
get a NoClassDefFoundError. The problem class is within a JAR in the EAR. That JAR is
on the Class-Path of the manifest file inside of the JAR with our EJBs. I also tried
putting the JAR with the problem class
Are there any negative effects from this type of setup?
We chose only to change partition names because we already had a mechanism that would
ensure those names were not repeated (the unique naming of our clusters).
If I were to change the port number, what would be the benefit (if any) in
I am using jboss-4.0.0DR4. When I deploy my MBean I get the following error:
anonymous wrote :
| 12:54:17,479 INFO [ServiceConfigurator] Problem configuring service HelloWorld:
| name=helloWorld1
| org.jboss.deployment.DeploymentException: No Attribute found with name: greeting
|
My
I am trying to use MySQL as a DataSource for CMP. I have configured the DataSource
and I am able to look up and use the DataSource from a Servlet with:
DataSource ds = (DataSource)jndiCntx.lookup(java:comp/env/MySqlDS);
or
DataSource ds = (DataSource) ic.lookup(java:/MySqlDS);
When I use CMP
1 - 100 of 141 matches
Mail list logo