ht to know that if I load a class (A) that uses another
> class (B), it will load both class A and B ?
>
>
> thanks,
> ionel
>
> Lachezar Dobrev wrote:
>
> > You can always decompress the jars on the Web-Server.
> > Then the classes will be downloaded on reque
You can always decompress the jars on the Web-Server.
Then the classes will be downloaded on request, which will not lower down
the download size (it is getting bigger), but will make asynchronous class
download available.
I.E. The Applet loads some boot-classes to run the applet. When there
More info.
I created an EAR file with just my WAR inside, and it all ran smoothly.
Any guesses? Anyone?
Lachezar
> Hello.
> I really thought I am not a newbie, but alas it seems so.
>
> Stupid question: If I deploy a WAR within JBoss+Catalina
>
> JBoss (MX MicroKernel) [3.0.0 Dat
At the top of the web.xml add after the :
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"; >
Lachezar.
> Hi,
>
> I've created a .war file in order to be able to use the JavaWebStart
> utility.
> As describe in the JWS doc, i've created a web.xml like this :
>
>
>
>
>
>
> JnlpDownl
Hello.
I really thought I am not a newbie, but alas it seems so.
Stupid question: If I deploy a WAR within JBoss+Catalina
JBoss (MX MicroKernel) [3.0.0 Date:200205311035]
Downloaded from the jboss.org site.
I get:
Starting deployment of package: file:(...)/MyWar.war
WebappLoader[/
to
> find the dtd, it's on the same directory of the xml in the jar. Does
anyone
> has a clue of how to do it?
> It works , but just if I take the dtd reference out of the xml.
>
> Thanks in advance
>
> Emerson
>
>
> - Original Message -
> From: "Emer
nt file, it returns null...
>
> - Original Message -
> From: "Lachezar Dobrev" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, May 08, 2002 11:51 AM
> Subject: Re: [JBoss-user] reading a file inside an EJB
>
>
> > This is no
Hi.
I want to ask, if there is a way to deploy an extracted application. I
mean: normally one will deploy an .ear containing the ejb.jar(s) and the
.war(s). However I want to deploy an application, that will be modified in
time (files will be added to the web context with the application worki
As the subject says:
Can I find a JBoss 3.x + A web container bundled?
Lachezar
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
Hi.
First. I'm not newbie to J2ee.
I'm trying to port a large J2EE app from Orion to JBoss.
In Orion I can make a value mapping, so that a field in an EntityBean is a
collection of a simple bean class:
MyBean
'->java.util.List SubObjects
The objects in the SubObjects list are sim
> Hello!
Hello to you too.
> I have a problem accessing JNDI from standalone application. I run Jboss.
> And on the same machine I am trying to run my application. In the
> application:
> Hashtable props = new Hashtable();
> props.put("Context.INITIAL_CONTEXT_FACTORY",
"org.jnp.interfaces.Nami
Hi.
For JBoss as with many app/ejb servers both are valid.
However the second is not valid on some RMI-IIOP servers (IAS/BAS at
least).
If you want speed and lower your portability use the second (no
PortableRemoteObject).
If you want portability... Well... A narrow is needed to us
Hi. Read lower...
> Hi, i create my home and remote interface , but not have connection a
> my bean , the basic example include inside of JBoss ( Interest ) is O,
> but only in la same machine where run el server and client, but when i
> put el client and another machine i have a problem and
value.
Explanation: This returns a row (or more!), that will contain:
A) Col2 will be equal to {0}.
B) Col1 will be equal to the maximum col1, where the col2 is {0}
See? The retreiving the col1 value of this entity will return the needed
one.
Cheers.
May the shade of the tre
, I really appreciate
it.
MArtin
-Original Message-From:
Lachezar Dobrev [mailto:[EMAIL PROTECTED]]Sent: 06 July 2001
16:45To: [EMAIL PROTECTED]Subject: Re:
[JBoss-user] Newbie having problems with Interest
sample
You have to get the JBoss client
jars in y
Title: Newbie having problems with Interest sample
You have to get the JBoss client
jars in your client.
How about:
Create a library in JBuilder (Let's
say JBoss_Library). Add the following jars to that library:
$JBOSS_HOME/client/ejb.jar
-> REQUIRED
$JBOSS_HOM
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
> Hello,
>
> I get the following exception when the container attempts to passivate
> my stateful session bean :
>
> [Container factory] java.rmi.ServerException: Could not passivate; nested
> exception is:
> [Container factory] java.io.NotSerializableException:
> javax.naming.InitialContext
Optionally you can create an .JAR file, containing the needed HOME and
REMOTE interfaces an put it in th elib directory of tomcat :)
Not sure, if this will help :) Does the job for me :)
Lachezar
> Hi,
> Thanks for the example Al, but is there anyway to get it working
without
> inc
Title: Oracle install probs
1st Sorry about the previous post. Damn
Outlook :(((
Do not do that. Use:
org.hsql.jdbcDriver, org.enhydra.instantdb.jdbc.idbDriver,
oracle.jdbc.driver.OracleDriver
You have defined databases that use
the Hsql and the Idb.
Lachezar
Hi, Iv just bee
Title: Oracle install probs
Hi, Iv just been
trying to get an Oracle doirver working in Jboss. Iv placed my classes12.zip file in the lib/ext file and edited the
jboss.cml file so :- org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver
-->
oracle.jdbc.driver.Ora
There it is...
People, that do not have direct
access to Internet should use proxy to get to the DTD definitions, and have no
further problems with them.
Here's how.
Open your run.bat (Windows) or
run.sh(*nix).
You can see the line:
java %JAXP% -classpath
"%JBOSS_CLASSPATH%"
> Hello again,
Hi,
> I am not clear about this The !DOCTYPE tag tells the XML parser what
DocumentTypeDefinition(the DTD) source to use for verification of the XML's
consistency.
> For tomcat_test.ear, I deleted this line in
web.xml and the deployment> worked. It
should.
> F
> Hello,
Hi again.
> Thanks Lachezar!
4 NoTHNG.
> It was the problem.
Nice. Glad you made it.
> Even
though it is a famous DTD download problem, I didn't know about it.> It
could be a good idea to correct the downloadable files of the>
Tomcat/JBoss> package since it is a known issu
Title: Unable to call an EJB from a Servlet
Put the Home and Remote interfaces
of the bean in the WEB-INF/classes directory of your web-app.
That's mandatory.
Lachezar.
Hi,
I have deployed a simple Hello World Bean and it is working
perfectly when I use a java ap
This is the famous DTD download
problem.
Check your DTD definitions in your
deployment descriptors. I'm not sure, why the test.ear behaves like this... mine
doesn't.
Open the test.ear file with a
unzipping (unjarring) utility. Get the .war file. Open the web.xml descriptor,
and rem
Hello.
First. Sorry if these questions seem
dumb.
1. Is it possible to use external
services with JBoss? Like an external naming service?
2. What about an ORB service?
Something about IIOP? I've seen openorb, and I think that sounds quite
interesting... It has RMI over IIOP cap
I'm glad it work with you... However...
Julian Gosnell is also right to want
different configurations per-user.
Currently I'm in no position to try
anything under any Linux (damn WinDoze).
But... I see, that there is a
parameter to the JBoss, that points which configuration shoul
Well... Memory leak in JAVA???
Hopefully no, BUT!
I have managed to get a memory leak
in the JVM :)))
Most of you know what a singletone
means :) A class, that has a static member variable pointing to the one and only
object of that class... Recently I got a class, that had a nonsta
There are a number of DTDs, that are by default stored localy.
As an example. You should have no
problem for the:
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd
However when I tried to make a 2.3
site (Using servlet 2.3) i had my parser trying to download the DTD. Tuning
manually the
On unix there are things like
Symbolic Links. Use them wisely.
Be well...
Lachezar
P.S. If you do not understand
what I'm talking about:
bash# man
ln
BE
SURE TO BACKUP HERE!!!
bash# rm -rf
/usr/local/jboss-2.2.1/conf
bash# ln -s
/home/user/cvs/
Not at all...
The parser is trying to download the
DTD, that is mentioned in a xml deployment descriptor in your app.
Solution 1: Remove all tags in your descriptors.
Solution 2: Modify the tags to point
a local copy of the DTD. It can even be in your jar file. The classloader wil
Sorry to see that.
The OutOfMemory does not necessarily
mean, that the computer is out of memory.
I mostly have this problem because
the JVM itself is limited on how muche memory it will get. This can be changed,
look at the help of the JVM: run java without parameters. Then run java
this to work? I really
would hate to code for a server, that I will not use later :(. Well... I will
use JBoss, but if there is no clustering, than the project I'm working on is
DOOMED on JBoss.
Looking forward to hearing from
ANYONE:
Lachezar
Dobrev.
I have had that
problem.
If you want to LOG-OUT forcefully a
user (like when he clicks the Log-Out button) you can do like this:
<-- CODE EXCERPT ON
-->
HttpSession UserSession =
request.getSession();
UserSession.invalidate();
response.sendRedirec
.
> Okay, how about a stack trace then? or
the server.log file. That> would be nice. I run on Linux, but
I might be able to help with M$> Winblows :)> Easy way to check if
it's having problems with the JDK is to use a 1.3> JDK. I would
seriously doubt there's a pro
ssary deployment logic and an example deployer with the GLOBAL option. Do
you really think we are so stupid to mandate this?
CGJ
-Ursprüngliche Nachricht-Von: Lachezar Dobrev
[mailto:[EMAIL PROTECTED]]Gesendet: Donnerstag, 7. Juni 2001
14:33An: [EMAIL PROTECTED]Be
llows
separate ear´s to share classes.
Just
to advertise ;-)
CGJ
-Ursprüngliche Nachricht-Von: Lachezar Dobrev
[mailto:[EMAIL PROTECTED]]Gesendet: Donnerstag, 7. Juni 2001
12:04An: [EMAIL PROTECTED]Betreff:
Re: [JBoss-user] How to look up one bean in one jar
I
stopped HypersonicSQL datasource from being used in minerva
datapool...
Now the JBoss runs.
Explanation?
I had an older version of hsql.jar
in the lib/ext directory of my jre :(((
Sorry to bug all of you
:(((
Didn't want to look
stupid.
Ashamed:
Lachezar.
Hello. When packaging jar2 you have
to put the home and remote interface of bean1 in it. Other way is to package ALL
home and remote interfaces into a jar and put it in lib/ext. I prefer
second.
May the shade of the tree strengthen
you.
Lachezar.
Hi,
I have to deploy 2 jar fi
lease, I un-tarred it and> ran the examples without any modifications
at all.> What are you trying to do?> > --- Lachezar Dobrev
<[EMAIL PROTECTED]>
wrote:> > I'm not sure anymore, that I can run
JBoss...> > Can you REALLY run it ot-of-the box?
How?> &
I'm not sure anymore, that I can run
JBoss...
Can you REALLY run it ot-of-the box?
How?
Lachezar
tomcat-test.ear :(((
And of course no othe jvm except for
the one JBoss is runing within...
That IS wrong...
Lachezar
>
Looks ok to me...> > - Original Message - > From:
Lachezar Dobrev > To: JBoss Mailing-list > Sent: Wednesday, June
06, 2001 12:33 PM> Sub
Hello... I'm still newbie, but I
think I have a problem starting JBoss + Tomcat.
I have attached the log, but
still:
When I start RUN.BAT I get a number
of messages... Most of them look like they should look like this:
[Blah blah Initializing]
[Blah blah Initialized]
Looks OK, but
44 matches
Mail list logo