The naming service runs on 1098
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854760#3854760
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854760
---
This SF.Net e
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:
(org.jboss.ejb.plugins.cmp.jdbc.sy
You have probably got the following in the entry for this bean in ejb-jar.xml:
|
| type
|
|
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 columns of the db table.
View the origin
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 o
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=bb&op=viewtopic&p=3850744#3850744
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3
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=bb&op=viewtopic&p=3850672#3850672
Reply to the post :
http://www.
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=bb&op=viewtopic&p=3850631#3850631
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&
8080
You will probably find the getting started documentation very helpful
http://www.jboss.org/docs/index
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849002#3849002
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38
Try
java:/MSSQLDS
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848759#3848759
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848759
---
This SF.Net email is sponso
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 :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848
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=bb&op=viewtopic&p=3848680#3848680
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=
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)
|
org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet.access$000(RelationSet.ja
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=bb&op=viewtopic&p=3848494#3848494
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=p
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 origin
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_.dtd for info.
Or if you're feeling lazy, here's an example:
|
|
| First
|
| insert into First VALUES(1,
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 :
http://www.jboss.org/index.html?module=bb&op=view
Never tried it :-)
Does anything weird come up in the logs?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848180#3848180
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848180
-
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 MyException
Set uo a mime-mapping in the web.xml
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847726#3847726
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847726
---
This SF.
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=bb&op=viewtopic&p=3847639#3847639
Reply to the post :
http://www.jboss.org/index.h
Post the relevant bits of your logs
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847635#3847635
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847635
---
This SF.N
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=bb&op=viewtopic&p=3847585#3847585
Reply to the post :
http://www.jboss.org/index.h
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=bb&op=viewtopic&p=3847567#3847567
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847567
-
Have you got any spaces in some environment settings?
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=49305
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847549#3847549
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=r
... http://www.jboss.org/wiki/Wiki.jsp?page=RunJBossAsAServiceOnWindows
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847513#3847513
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847513
-
Never tried myself, but look at
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847512#3847512
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847512
---
This SF.Net
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=bb&op=viewtopic&p=3843977#3843977
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=
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=bb&op=viewtopic&p=3843666#3843666
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843666
-
You can only have CMR between CMP beans
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843413#3843413
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=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=bb&op=viewtopic&p=3843167#3843167
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843167
--
If you're not already using it, try jdk 1.4.2
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842602#3842602
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=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=bb&op=viewtopic&p=3842175#3842175
Reply to the post :
htt
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=bb&op=viewtopic&p=3842032#3842032
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=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=bb&op=viewtopic&p=3841880#3841880
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&
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 :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841348#3841
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=bb&op=viewtopic&p=3841338#3841338
Reply to the post :
http://www.jboss.org/
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=bb&op=viewtopic&p=3841330#3841330
Reply to the post :
http://www.jboss.org/i
The sticky post on the top of the first page
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841327#3841327
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841327
---
The getting started doumentation should get you started :-)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841272#3841272
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841272
-
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=bb&op=viewtopic&p=3841253#3841253
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posti
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 rules:
Yep, our site was running on 1.3.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841238#3841238
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841238
---
This SF.N
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 distrib
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)
| {
| t
>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 engin
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=bb&op=viewtopic&p=3841217#3841217
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841217
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 :
http://www.jboss.org/index.html?module=bb&op
Try changing jboss:service=Hypersonic,database=localDB
to
jboss:service=Hypersonic
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841197#3841197
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841197
--
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=bb&op=viewtopic&p=3841109#3841109
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841109
--
http://www.jboss.org/wiki/Wiki.jsp?page=NukesForJBoss
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841058#3841058
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841058
---
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=50838
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841055#3841055
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841055
--
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=bb&op=viewtopic&p=3840946#3840946
Reply to the post :
http://www.jbos
http://www.jboss.org/wiki/Wiki.jsp?page=ViewSQLForCMP
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840891#3840891
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840891
---
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=bb&op=viewtopic&p=3840812#3840812
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840812
Post deployment descriptors etc.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840771#3840771
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840771
---
This SF.Net
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 Web-IN
You will need to include the following in your log4j.xml file:
|
|
|
|
|
|
|
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840581#3840581
Reply to the post :
http://www.jboss.org/index.html?module=bb&op
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=bb&op=viewtopic&p=3840492#3840492
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=r
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=bb&op=viewtopic&p=3840339#3840339
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840339
---
PS also close statements and resultsets in the finally block
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839714#3839714
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839714
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
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=bb&op=viewtopic&p=3839712#3839712
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&m
Check out the getting started docs
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838520#3838520
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838520
---
This SF.Ne
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=bb&op=viewtopic&p=3838509#3838509
Reply to the post :
http://www.jboss.org/index.ht
http://www.jboss.org/wiki/Wiki.jsp?page=SecureJBoss
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838512#3838512
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838512
-
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=bb&op=viewtopic&p=3838346#3838346
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838346
-
Maybe try renaming mssql.xml to mssql-ds.xml?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838333#3838333
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838333
---
Yep,
Your TLD does not actually define any tags, you need >1 of these as metioned in the
error msg.
|1.0
|1.2
|myapp
|
| ...
|
|
Look in the dtd at http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd it contains loads
of useful info.
Cheers
View the origin
Post your tld within a code block, it's garbled :-)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838197#3838197
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838197
-
resource-ref and resource-env-ref are different :-)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837031#3837031
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837031
java:/ namespace is only accessible from within the same JVM
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836890#3836890
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=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
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfa
Yes
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836312#3836312
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836312
---
This SF.Net email is sponsored by: Oracl
http://www.jboss.org/wiki/Wiki.jsp?page=RunJBossWithJ2SDK1.5Beta
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836254#3836254
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836254
---
JBoss is a JMX implementation. Try running it with JDK 1.4.2
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836200#3836200
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836200
---
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=bb&op=viewtopic&p=3835831#3835831
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=re
Do you get errors during deployment?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836119#3836119
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836119
---
This SF.
There you go
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836058#3836058
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836058
---
This SF.Net email is sponsored b
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=bb&op=viewtopic&p=3836050#3836050
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836050
It could be to to with the number of CMP fields in your bean. Do your other, working
beans also have > 64 fields? What version of JBoss are you using?
If you are using an old version of JBoss, try upgrading to 3.2.3:
http://www.junlu.com/msg/36052.html
View the original post :
http://www.jboss.
Try copying the default/deploy/jms folder to your minimal/deploy folder. I think
everything you need should be in there. If you end up with some unresolved
dependencies make another post and I'll try to help
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836
Probably not "it", but in CMP ejbCreate should always return null.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836039#3836039
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836039
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 clea
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=bb&op=viewtopic&p=3834777#3834777
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posti
Can you make your bean implement Serializable?
Also, some info here:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=49048&postdays=0&postorder=asc&start=10
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834693#3834693
Reply to the post :
http:/
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=bb&op=viewtopic&p=3834691#3834691
Reply to the post :
http://www
Why?!?!?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834689#3834689
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834689
---
This SF.Net email is sponsored by Sl
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 se
The getting started documentation shows how to do this.
Cheers,
Kab
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834631#3834631
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834631
---
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 :
http://www.jboss.org/index.html?module=bb&
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(){
jdbc using the bundled hypersonic database, if you want to use it in production change
to a more solid database.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834483#3834483
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply
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=bb&op=viewtopic&p=3834116#3834116
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=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 java:comp/evn/jdbc/MyS
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
http://jboss.org/wiki/Wiki.jsp?page=JBossMX
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831882#3831882
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831882
---
T
http://jboss.org/wiki/Wiki.jsp?page=JBossInstallation
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831881#3831881
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831881
---
Doh!!! Wrong forum
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831872#3831872
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831872
---
This SF.Net email is spons
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 a
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
1 - 100 of 113 matches
Mail list logo