Re: [JBoss-user] size of packages clients need to download

2002-08-02 Thread Lachezar Dobrev
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

Re: [JBoss-user] size of packages clients need to download

2002-08-02 Thread Lachezar Dobrev
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: [JBoss-user] Error running a war inside JBoss.

2002-06-18 Thread Lachezar Dobrev
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

Re: [JBoss-user] web.xml vs web-app.xml vs tag

2002-06-18 Thread Lachezar Dobrev
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

[JBoss-user] Error running a war inside JBoss.

2002-06-18 Thread Lachezar Dobrev
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[/

Re: [JBoss-user] reading a file inside an EJB

2002-05-11 Thread Lachezar Dobrev
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

Re: [JBoss-user] reading a file inside an EJB

2002-05-11 Thread Lachezar Dobrev
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

[JBoss-user] Deployment not via .ear(s)?

2002-01-31 Thread Lachezar Dobrev
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

[JBoss-user] Is there a JBoss 3.0-Catalina bundle?

2002-01-28 Thread Lachezar Dobrev
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

[JBoss-user] 1-to-Many mapping how?

2002-01-28 Thread Lachezar Dobrev
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

Re: [JBoss-user] JNDI question

2001-09-12 Thread Lachezar Dobrev
> 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

Re: [JBoss-user] using PortableRemoteObject.narrow

2001-07-27 Thread Lachezar Dobrev
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

Re: [JBoss-user] JBoss Remote Client

2001-07-17 Thread Lachezar Dobrev
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

Re: [JBoss-user] Jaws question - solution :)

2001-07-16 Thread Lachezar Dobrev
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

Re: [JBoss-user] Newbie having problems with Interest sample

2001-07-06 Thread Lachezar Dobrev
, 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

Re: [JBoss-user] Newbie having problems with Interest sample

2001-07-06 Thread Lachezar Dobrev
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

Re: [JBoss-user] JBoss & Tomcat under the same JVM

2001-07-05 Thread Lachezar Dobrev
___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] Stateful bean passivation problem

2001-06-20 Thread Lachezar Dobrev
> 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

Re: [JBoss-user] quick tutorial

2001-06-18 Thread Lachezar Dobrev
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

Re: [JBoss-user] Oracle install probs

2001-06-15 Thread Lachezar Dobrev
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

Re: [JBoss-user] Oracle install probs

2001-06-15 Thread Lachezar Dobrev
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

[JBoss-user] DTD Problem: SOLVED (HOW-TO)

2001-06-12 Thread Lachezar Dobrev
   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%"

Re: Re: [JBoss-user] run_with_tomcat.sh doesn't work?

2001-06-12 Thread Lachezar Dobrev
  > 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

Re: [JBoss-user] RE:RE: run_with_tomcat.sh doesn't work? (Lachezar Dobrev)

2001-06-11 Thread Lachezar Dobrev
> 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

Re: [JBoss-user] Unable to call an EJB from a Servlet

2001-06-11 Thread Lachezar Dobrev
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

Re: [JBoss-user] run_with_tomcat.sh doesn't work?

2001-06-11 Thread Lachezar Dobrev
   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

[JBoss-user] External services...

2001-06-11 Thread Lachezar Dobrev
   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

Re: [JBoss-user] ./conf directory location

2001-06-09 Thread Lachezar Dobrev
   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

Re: [JBoss-user] OutOfMemoryError

2001-06-09 Thread Lachezar Dobrev
   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

Re: [JBoss-user] Something in crimson that is hard coded and trying to lookup java.sun.com

2001-06-08 Thread Lachezar Dobrev
   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

Re: [JBoss-user] ./conf directory location

2001-06-08 Thread Lachezar Dobrev
   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/

Re: [JBoss-user] Something in crimson that is hard coded and trying to lookup java.sun.com

2001-06-08 Thread Lachezar Dobrev
   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

Re: [JBoss-user] OutOfMemoryError

2001-06-08 Thread Lachezar Dobrev
   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

[JBoss-user] Q: Clustering...

2001-06-08 Thread Lachezar Dobrev
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.

Re: [JBoss-user] (no subject) Forceful log-out.

2001-06-08 Thread 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

Re: [JBoss-user] Can anyone explain...

2001-06-08 Thread Lachezar Dobrev
.   > 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

Re: [JBoss-user] How to look up one bean in one jar from another bean in another jar cleanly

2001-06-07 Thread Lachezar Dobrev
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

Re: [JBoss-user] How to look up one bean in one jar from another bean in another jar cleanly

2001-06-07 Thread Lachezar Dobrev
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

[JBoss-user] Solution...WAS: Can anyone explain...

2001-06-07 Thread Lachezar Dobrev
   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.

Re: [JBoss-user] How to look up one bean in one jar from another bean in another jar cleanly

2001-06-07 Thread Lachezar Dobrev
   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

Re: [JBoss-user] Can anyone explain...

2001-06-07 Thread Lachezar Dobrev
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?> &

[JBoss-user] Can anyone explain...

2001-06-06 Thread Lachezar Dobrev
   I'm not sure anymore, that I can run JBoss...    Can you REALLY run it ot-of-the box? How?      Lachezar

Re: [JBoss-user] Cannot start JBoss+Tomcat :(

2001-06-06 Thread Lachezar Dobrev
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

[JBoss-user] Cannot start JBoss+Tomcat :(

2001-06-06 Thread Lachezar Dobrev
   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