Greetings,
I am new to EJB's and am experimenting with Jboss.
I am following an example which includes javax.rmi for a call to
javax.rmi.PortableRemoteObject.
The system is not able to find this package. Can someone please
guide me as to what needs to be done to include and use javax.rmi.
Than
Hello world,
Currently I'm learning EJB with JBoss and there are a few things
regarding deployment that I don't understand:
Situation: I deployed package A which contains EntityBean X and I want
to deploy package B which contains SessionBean Y where Y uses X.
Q1: Why do I have to include X in
Hi,
Pleased to announce that 95 % of all doco has been moved to docbook
format and is now in cvs under module "manual". We'll keep the old
documentation as a source until new doco book is fully completed.
After you checkout manual module go to src/build directory and build doco
using ant tool.
W
Bas Cancrinus wrote:
> Hello world,
>
> Currently I'm learning EJB with JBoss and there are a few things
> regarding deployment that I don't understand:
> Situation: I deployed package A which contains EntityBean X and I want
> to deploy package B which contains SessionBean Y where Y uses X.
>
Hello All,
I have downloaded and built pre-2.1 from the sources. When I run JBoss, I get
the following exceptions, and the server does not start:
java.lang.ClassNotFoundException: org.jboss.security.SimpleRealmMappingService
at javax.management.loading.MLet.findClass(MLet.java:800)
at java.lang.
jBoss Monkey wrote:
> If I create a database pool say "OracleDB" then it gets bound to
> "java:/OracleDB", which means that this is accessible only within the
> VM. And you can not make a jndi call from the client to lookup for
> "java:OracleDB", you will always get "not bound" exception.
>
>
Phan Anh Tran wrote:
> Is it possible to deploy EJBs in-place (ie. without packaging them into
> ejb.jar and .ear files) with jBoss? Thanks.
You can deploy a directory that is structured like an ejb-jar. I believe
this applies to all deployable components, but I'm not completely sure.
Toby.
If u mean building j2ee applications Entity&session bean try Webgain
Structure Builder it is cool
- Original Message -
From: "Frank Thiemonge (NBK)" <[EMAIL PROTECTED]>
To: "'jBoss'" <[EMAIL PROTECTED]>
Sent: Friday, February 09, 2001 5:07 PM
Subject: RE: [jBoss-User] Free/ Open Source I
I catch the ball ...
What you explain is define a DataSource to be used from -inside- the
container, right?
Is it possible for an -external- client (not running inside JBoss) to get a
DataSource object to a database connection pool handled by JBoss?
I can not see anything on that in the doc.
Vince
Absolutely,
You should have a look at
http://www.jboss.org/newsite/manual/adv_config.html
for more details.
Except that for Interclient, I have found that leaving interclient.jar in
the system classpath is a better alternative that to copy it in lib/ext.
And add -Xverify:none after the -java- comm
OK, but actually I was planning to use the Interclient driver for Interbase
6 and I was a bit worried that I didn't have an RMI version. You're telling
me that all I have to do is make sure jBoss can see the classes and then use
them normally?
- Original Message -
From: <[EMAIL PROTECTED]>
You can use local jdbc drivers if the following conditions apply:
1) The driver is COM.cloudscape.core.JDBCDriver
2) the URL is jdbc:cloudscape:mydbname
3) add this to the java startup command for jboss:
-Djava.system.property.cloudscape.system.home=/path-to/cloudscape/data-dir
My informal benc
put this in the jboss.xml file that goes in your jar file under
META-INF/jboss.xml.
jdbc/myapp-db
OracleDB
then you can access it via a jndi lookup with "java:comp/env/jdbc/myapp-db"
If you are calling this from a bean make sure to add a section in
ejb-jar.xml for
I got it working! but with some hacking...
by modifing the Tomcat source code file
"com.apache.tomcat.context.ContextManager.java":
Where "*" is the code added. I had to hard code the default path
"http://localhost" to "e:\\wwwroot" by getting the default context and
change the DocBase to my phys
I wonder could someone clarify this for me.
The EJB examples that come with the Sun reference J2EE kit use the
Cloudscape DB server via RMI based JDBC, which is outside my experience.
Can one use conventional (local) JDBC drivers with EJBs or is it necessary
to use RMI?
Peter Routtier-Wone
It's a little like truck drivers. They call each other on channel 8 and
negotiate which channel they will use, then they both switch to the new
channel so that channel 8 is immediately available for others to use the
same way.
The client is using 8080 just long enough to ask the server to call it
If I create a database pool say "OracleDB" then it gets bound to
"java:/OracleDB", which means that this is accessible only within the VM.
And you can not make a jndi call from the client to lookup for
"java:OracleDB", you will always get "not bound" exception.
Does someone has any idea if the
Hi,
I myself am to blame in this one :-) I found out that
I had a syntax error in the SQL I wrote. Within the
ejbPostCreate I wrote:
insert into atable (a, b, v)
values ('aaa', 'bbb', 'ccc'
Notice the missing bracket close?
This apparantly generates the VerifyError.
If you have a look at what t
I believe the Orion container can handle this. I'm not sure jBoss can. Orion
is free to developers but not for deployment.
Don't forget to turn off HTML when posting to this list.
Peter Routtier-Wone
---
One day, all this too shall parse.
--
---
Is it possible to deploy EJBs in-place (ie. without
packaging them into ejb.jar and .ear files) with jBoss?
Thanks.
Anh
20 matches
Mail list logo