The naming service runs on 1098
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3854760#3854760
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3854760
---
This SF.Net email
You can use any database you like...
Jboss comes with an example datasource config for sybase, in sybase-ds.xml the
docs/examples/jca folder.
For primary key generation, from the documentation (see free docs, chapter 11.19):
anonymous wrote : sybase-fetch-key:
You have probably got the following in the entry for this bean in ejb-jar.xml:
| cmp-field
| field-nametype/field-name
| /cmp-field
|
Remove that. Each cmp-field entry must have matching abstract set/get methods in the
bean class as per the message, and these correspond to the
http://www.jboss.org/wiki/Wiki.jsp?page=JBossHA, and look at the stuff about
HASingleton.
Hope this helps.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3850744#3850744
Reply to the post :
The jndi.properties file is for configuring the jndi system, i.e tell it where the
JNDI server is etc. In other words you do not bing your properties there.
To bind stuff to JNDI, you need to do something along the lines of:
| String myname = something/test/TestObj;
| Object
Post more details about what files you modified, how you are trying to use the data
source and any stack traces
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3850631#3850631
Reply to the post :
Do not use hypersonic, it only ships with JBoss to have a database for use with all
tests etc.
[url]http://www.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQDB{/url]
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3850672#3850672
Reply to the post :
For CMP 2.0 you should be using a jbosscmp-jdbc.xml file rather than a jaws.xml file.
Go to
http://www.jboss.org/docs/index
Click Free Online JBoss Documentation
Once you get to the docs, read chapter 11 :-)
View the original post :
Try
java:/MSSQLDS
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848759#3848759
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848759
---
This SF.Net email is sponsored
Press 'Post reply'
Type in your stuff
highlight the bots containing xml/code
Press the code button
Submit
:-)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848680#3848680
Reply to the post :
Aha!
| java.lang.IllegalStateException: A CMR collection may only be used within the
transction in which it was created
|
org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet.getIdList(RelationSet.java:66)
|
You can put a SQL statement into the post-table-create element of your
jbosscmp-jdbc.xml file. See chapter 11 of the docs or
JBOSS_HOME/docs/dtd/jbosscmp_jdbc_YOUR_VERSION.dtd for info.
Or if you're feeling lazy, here's an example:
jbosscmp-jdbc
| enterprise-beans
| entity
|
That is the right way to set them required, yes. The attributes in the DD from your
link are pretty crazy, But as you say you have been fiddling :-)
Make sure there is container-transaction entry for every bean -
PGSearchEngineValueListHandlerEJB does not appear to have one...
View the
If you do:
Enumeration e = Thread.currentThread().getContextClassLoader().getResources()
and enumerate, do you get what you need?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848494#3848494
Reply to the post :
I couldn't find any deployment descriptors...
As a starting point, you shouldn't be able to go wrong if you use container managed
transactions for your session beans and trans-attribute=Required for all of your
EJB's.
View the original post :
Do not put remoteexception in the bean class, it is for use by RMI to indicate the
something went wrong with the communication, you should not throw it yourself.
So for your Remote I/F:
void mymethod() throws MyException, RemoteException;
Your Local I/F
void mymethod() throws
Never tried it :-)
Does anything weird come up in the logs?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848180#3848180
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848180
Post the relevant bits of your logs
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3847635#3847635
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847635
---
This SF.Net
https://localhost:8443/example
Note that you need to set up a keystore for ssl to work. There is more information
about this in the documentation
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3847639#3847639
Reply to the post :
Set uo a mime-mapping in the web.xml
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3847726#3847726
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847726
---
This SF.Net
Never tried myself, but look at
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3847512#3847512
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847512
---
This SF.Net
... http://www.jboss.org/wiki/Wiki.jsp?page=RunJBossAsAServiceOnWindows
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3847513#3847513
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847513
Have you got any spaces in some environment settings?
http://www.jboss.org/index.html?module=bbop=viewtopict=49305
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3847549#3847549
Reply to the post :
You can also set these opts in the jboss/bin/run.bat file. It contains a commented out
example
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3847567#3847567
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847567
You need to create an entry in your jboss-web.xml (if you are using a web client) or
your jboss-client.xml (if you are using an application-client)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3847585#3847585
Reply to the post :
In that case probably only from 3.2.3 onwards. 3.0 is pretty old, why not use a more
recent version of JBoss?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3843977#3843977
Reply to the post :
I've had the same problems a couple of times. Restarting Eclipse normally helps
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3843666#3843666
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843666
You can only have CMR between CMP beans
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3843413#3843413
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843413
---
This
Do the deployment descriptors get generated and included properly in your jar?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3843167#3843167
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843167
If you're not already using it, try jdk 1.4.2
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3842602#3842602
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842602
---
You need to execute in the context of a transaction. The Admin and Devel docs are
available from the big blue picture on the right that say Free JBoss Documentation
:-)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3842175#3842175
Reply to the post :
Use jboss-ql in your query def in the jbosscmp-jdbc.xml file for added functionality
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3842032#3842032
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842032
If it is impossible, as a workaround could you generate the *-ds.xml file and copy it
to your deploy directory?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841880#3841880
Reply to the post :
The sticky post on the top of the first page
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841327#3841327
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841327
---
This
An option would be to create a simple MBean that binds what you want, and is deployed
on startup.
There are probably other ways of doing this as well...
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841330#3841330
Reply to the post :
There might be an existing MBean, I don't know.
If you write your own, you could make the MBean read what is to be bound from the
jboss-service.xml file-
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841338#3841338
Reply to the post :
2004-06-21 08:33:53,148 INFO [org.jboss.web.localhost.Engine]
SingleSignOnContextConfig[/helloworldnow]: Missing application web.xml, using defaults
only
|
Does your war contain WEB-INF/web.xml ?
View the original post :
Try changing dependsjboss:service=Hypersonic,database=localDB/depends
to
dependsjboss:service=Hypersonic/depends
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841197#3841197
Reply to the post :
Is your code executing within a transaction, for example called from a session bean
with tx-attribute=Required?
If not, a new Tx will be created for every call to the entity bean, which would/should
give the results you get.
View the original post :
i.e. the finder executes in one Tx, and the CMR access in another Tx
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841217#3841217
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841217
From what you post, it does not look like the caller is in a transaction.
This causes:
agent = home.findByPrimaryKey( new AgentPK(id) ); //to start and complete a new
transaction for the call
eaf.setId( agent.getId() );//to start and complete a new transaction for the call
:
Collection
Oooops
UserTransaction tx = null;
| try
| {
| InitialContext ctx = new InitialContext();
| tx = (UserTransaction) ctx.lookup(UserTransaction);
| tx.begin();
|
|
| //Do your stuff
|
| if (tx.getStatus() == Status.STATUS_ACTIVE)
| {
|
I think JBoss employs the lead developer of Tomcat 5.0, so there should be no danger
there :-)
Regarding replacing Tomcat with Jetty, I did this on our Jboss 3.2.3 setup before
X-mas. I can't remember the exact details, but it was something along the lines of:
1) Download an older JBoss
Yep, our site was running on 1.3.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841238#3841238
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841238
---
This SF.Net
Your session bean class must contain the following method:
public void ejbCreate() throws CreateException{
}
Copied and pasted from the ejb spec section 7.10.3
7.10.3 ejbCreate methods
The session bean class must define one or more ejbCreate(...) methods whose signatures
must follow these
I remember seeing something like this on the forums, and if it is a case of too many
columns I believe this is fixed in 3.2.4
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841253#3841253
Reply to the post :
The getting started doumentation should get you started :-)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841272#3841272
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841272
http://www.jboss.org/index.html?module=bbop=viewtopict=50838
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841055#3841055
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841055
http://www.jboss.org/wiki/Wiki.jsp?page=NukesForJBoss
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841058#3841058
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841058
Have a look at the Wiki. Also, the for pay docs contain this info.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841109#3841109
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841109
As part of the all docs subscription, there is a huuuge document dedicated to
logging. I've never read it though, so I don't know if it answers your question.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840946#3840946
Reply to the post :
http://www.jboss.org/wiki/Wiki.jsp?page=ViewSQLForCMP
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840891#3840891
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840891
You only seem to have the .tld files containing the descriptors for the taglibs. You
also need the jar files. In my slightly old version of Struts, struts.jar contains
some of the taglibs, and utility.jar, i18n.jar etc. contains the rest. Any taglibs you
write yourself need to go into the
Post deployment descriptors etc.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840771#3840771
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840771
---
This SF.Net
Could you check that the unique constraint is not being validated before the
insert/update?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840812#3840812
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840812
You will need to include the following in your log4j.xml file:
!-- Limit JBoss categories to INFO --
|category name=org.jboss
| priority value=INFO/
|/category
|
|!-- Allow debug messages for cmp/sql --
|category name=org.jboss.ejb.plugins.cmp
|
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 :
Go into the bin directory and run run.bat. Also download and read the gettting started
guide :-)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3840339#3840339
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840339
Do
netstat -ao
to get a list of all ports already being listened on along with the process id
listening on that port.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3839712#3839712
Reply to the post :
You should get the connection from the pool when you need it and not hang onto it.
Make sure you close it before returning from a session bean method.
void mymethod()
| {
| Object obj = (DataSource)ctx.lookup(jndiName);
| Connection conn = (Connection) ds.getConnection();
|try
PS also close statements and resultsets in the finally block
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3839714#3839714
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839714
http://www.jboss.org/wiki/Wiki.jsp?page=SecureJBoss
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838512#3838512
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838512
You need a jbosscmp-jdbc.xml file as well. Thet's where you define what datasource to
use for your entities and perform field/relationship mapping
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838509#3838509
Reply to the post :
Check out the getting started docs
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838520#3838520
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838520
---
This SF.Net
Maybe try renaming mssql.xml to mssql-ds.xml?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838333#3838333
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838333
---
Is your jboss-cmp.xml file actually included in the META-INF directory of your ejb.jar?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838346#3838346
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838346
Post your tld within a code block, it's garbled :-)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838197#3838197
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838197
Yep,
Your TLD does not actually define any tags, you need 1 of these as metioned in the
error msg.
taglib
|tlib-version1.0/tlib-version
|jsp-version1.2/jsp-version
|short-namemyapp/short-name
|tag
| ...
|/tag
| /taglib
Look in the dtd at
resource-ref and resource-env-ref are different :-)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3837031#3837031
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837031
java:/ namespace is only accessible from within the same JVM
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836890#3836890
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836890
Set the java.naming.provider.url in the jndi.properties file you are using on your
client, e.g.
### JBossNS properties
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=jnp://192.168.20.3:1099
JBoss is a JMX implementation. Try running it with JDK 1.4.2
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836200#3836200
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836200
http://www.jboss.org/wiki/Wiki.jsp?page=RunJBossWithJ2SDK1.5Beta
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836254#3836254
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836254
Yes
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836312#3836312
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836312
---
This SF.Net email is sponsored by: Oracle
Look for the MBean corresponding to your MDB (in JBoss your EJB is and MBean) in the
JMXConsole and stop/start that
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835831#3835831
Reply to the post :
It says it should be fixed in JBoss 3.2.3, so upgrade to that. What version are you
using?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836050#3836050
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836050
There you go
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836058#3836058
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836058
---
This SF.Net email is sponsored by:
Do you get errors during deployment?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836119#3836119
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836119
---
This SF.Net
The site has been redesigned recently, might have something to do with it. The
jbossj2ee-src.zip download is on http://www.jboss.org/docs/index, and contains
build.properties. The 1.3 tutorial is the correct one, and once you have obtained
jbossj2ee-src.zip, it should help make things a bit
Never tried this, but you'll want to use the org.jboss.varia.scheduler.Scheduler
MBean. The docs contain some stuff aout this
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834777#3834777
Reply to the post :
You have to bind it yourself. In your MBean you need something like:
|
| String jndiName;
|
| public void setJndiName(String name){
| InitialContext ctx = new InitialContext();
| this.jndiName=name;
| ctx.bind(name, this);
| }
|
| public String getJndiName(){
Yep, you can add a depends to the message bean bit of the jboss.xml. It should contain
the jmx object name of the entitybean you want to be deployed first.
jboss-3.2.3/docs/dtd/jboss_3_2.dtd contains more details.
Cheers,
Kab
View the original post :
The getting started documentation shows how to do this.
Cheers,
Kab
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834631#3834631
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834631
When posting xml you should put it in a block to avoid garbling the xml. Here are a
few stabs in the dark:
Are B and C started?
Have you declared your methods in the interfaces for B and C?
Not sure if you should be using getAttribute() for getInstance(), but you should make
sure you have
Why?!?!?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834689#3834689
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834689
---
This SF.Net email is sponsored by
In jbosscmp-jdbc:
set the datasource element to java:/phemr and not just phemr
Cheers,
Kab
PS To paste xml so it appears properly, put a code block around it.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834691#3834691
Reply to the post :
Can you make your bean implement Serializable?
Also, some info here:
http://www.jboss.org/index.html?module=bbop=viewtopict=49048postdays=0postorder=ascstart=10
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834693#3834693
Reply to the post :
There's an example in the Getting Started docs. IIRC in the wiki as well.
Cheers,
Kab
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834116#3834116
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834116
offline wrote : So just to get this straight: If i use the datasource binding with
a command line application i'm wasting my time. There's no way?
correct
offline wrote : And also, if i am using the datasource from within a bean, as
defined above, i need to use it as
Also, the Datasource will be bound under java:MySQLDS (or is it java:/MySQLDS, I think
they are the same anyway), so you need to look up that if using the global name.
Also, objects bound in the java: namespace are not accessible from outside the jvm.
It lokks like you are
jvm-a) running JBoss
I have modified the code for SMTPSender so that it sends to all addresses for a given
domain in one SMTP connection. To acheive this I changed the implementation of the
method:
SMTPResult send(Mail message, MailAddress[] exclude)
RemoteDeliveryMDB now passes in the Mail and passes in all local
Doh!!! Wrong forum
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3831872#3831872
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831872
---
This SF.Net email is sponsored
http://jboss.org/wiki/Wiki.jsp?page=JBossInstallation
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3831881#3831881
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831881
http://jboss.org/wiki/Wiki.jsp?page=JBossMX
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3831882#3831882
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831882
---
This
It is in server/default/jboss.jar.
When running the mail tests what I find easiest is to just set the JBOSS_HOME variable
to your JBoss distribution, that way I only have dnsjava-1.5.0.jar in the
jboss-mail/lib directory.
Here's a copy of my build.bat file:
@echo off
REM convenience bat file
You are throwing the wrong exception.
You should generally not be creating your own RemoteExceptions (they are meant for use
by Java when something goes wrong with the remote communication). This is the case in
EJB 2.0 at least, maybe this was different in EJB 1.1? I can't remember.
For
Datasources are bound in the JNDI namespace so have you tried looking up
java:jdbc/MySQLDS
or
java/:jdbc/MySQLDS
Cheers,
Kab
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3831623#3831623
Reply to the post :
Post the relevant bits of your jboss.xml, jboss-web.xml and web.xml files
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3831624#3831624
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831624
Thanks Adrian,
The line of code you suggested showed we had an additional jndi.properties file hidden
away in a jar file on the classpath!
Now when I try to do
InitialContext ctx = new InitialContext();
| ctx.bind(test/xyz, xyz);
I get the following error:
Had a look, and it seems the way I did it is what is normally done. I had just assumed
ctx.bind(test/xyz, xyz)
would create the subcontexts needed. At least now I know that is not the case!
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3831432#3831432
Reply to
1 - 100 of 108 matches
Mail list logo