[JBoss-user] JBoss & Tomcat Configuration

2001-07-10 Thread Prashant Sarode
Hi All, I am using JBoss v.2.2.2 & Tomcat v.3.2.2 & Windows 98 O.S. Right now I am using both these s/w individually. I wanted to run Interest Servlet example. How can I run that Is it possible thru Tomcat ?? Is there any setting needed to configure both JBoss & Tomcat togeth

Re: [JBoss-user] required?

2001-07-10 Thread Scott M Stark
Our interpretation of the spec does not agree with yours in that you must define a security-role-ref and link it to a security-role using a role-link element. If you read through all of the roles responsibilities, ultimately the deployer has to ensure that the security-role-ref is mapped to an env

[JBoss-user] Should I set ref to sessionbean to null after using it

2001-07-10 Thread Pelle Poluha
Hello! In a servlet, should I set the reference to a stateless sessionbean to null after using it? If not, could I perhaps get the reference in the init() method? Regards, Pelle Poluha ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.source

RE: [Ejbdoclet-user] AW: [JBoss-user] Help with another one - ejbdoclet/jboss.dtd not found

2001-07-10 Thread marc fleury
don't worry it is all going away pretty soon marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Eitan Weisbeker |Sent: Wednesday, July 04, 2001 1:10 PM |To: '[EMAIL PROTECTED]' |Subject: RE: [Ejbdoclet-user] AW: [JBoss-user] Help with another |one

[JBoss-user] Strange problems with naming

2001-07-10 Thread Max Krainov
Hello! I have a strange problem. This code: Properties prop = new Properties(); prop.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory"); prop.setProperty(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces"); prop.setProperty

[JBoss-user] deployment configuration

2001-07-10 Thread G.L. Grobe
I've listed all my deployment descriptor files below. Any help w/ my configuration below and any other need changes would be greatly appreciated.   1. What/where should the tag be/from in the jboss-web.xml file below? 2. In the jboss.xml file, what should and be? (fyi - my war context is

Re: [JBoss-user] Help-SSL

2001-07-10 Thread Devraj Mukherjee
One way could be integrating JBoss with Apache Web server and then loading mod_jserv, tomcat and ssl modules for apache. Devraj At 21:55 10/07/01 -0700, you wrote: >Hi all, >Thanks for the help previously.Any one has an idea how to implement SSL and >is it possible.Im using Jboss 2.2.2 with tom

[JBoss-user] Help-SSL

2001-07-10 Thread r . sharath
Hi all, Thanks for the help previously.Any one has an idea how to implement SSL and is it possible.Im using Jboss 2.2.2 with tomcat and JDK 1.3 Thanks Sharath ___ Send a cool gift with your E-Card http://www.bluemountain.com/giftcenter/

Re: [JBoss-user] Is anyone using XADataSources with jboss?

2001-07-10 Thread David Jencks
Hi, I am developing a sort of hybrid jca/jdbc driver for Firebird(/and possibly interbase) that is xa compliant. So far, as far as jboss is concerned, I have banktest working (this is all I've tried). It is not production ready at this point, although comments and help are certainly welcome. fi

Re: [JBoss-user] required?

2001-07-10 Thread Michael Jara
First of all, I had a type-o in my original message: I meant to say "" was required, not "" (no such thing!) My complete ejb-jar.xml is really long (which is why I was trying to leave out the s,) but here's a truncated section of it: ETSEvent siemens.se

[JBoss-user] Re: Auto-Incr

2001-07-10 Thread L. Yeung
can u send me the AutoNumberBean? thanks in advance. -l. yeung FROM: Devraj Mukherjee DATE: 07/08/2001 23:34:52 SUBJECT: RE: [JBoss-user] Auto-Incr Hi, I solved this problem by creating the table with a normal integer as the primary key and then writing a AutoNumberB

Re: [JBoss-user] required?

2001-07-10 Thread Scott M Stark
Show your ejb-jar.xml descriptor. - Original Message - From: Michael Jara To: [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 7:59 PM Subject: [JBoss-user] required? I'm trying to use "isCallerInRole" inside an EJB, but it doesn't seem to return the correct information unless a is pres

Re: [JBoss-user] In VM optimization between JBoss and Servlet Container

2001-07-10 Thread C Murphy @ Intechtual
Thanks for the responses. Your responses bring up another question though (sorry!). So, what you are saying is that if the classes for the Web application and the EJBs are packaged in the same ear file, all calls between the Web application and the EJBs will be optimized, as well as EJB-to-EJB c

[JBoss-user] required?

2001-07-10 Thread Michael Jara
I'm trying to use "isCallerInRole" inside an EJB, but it doesn't seem to return the correct information unless a is present.  I beleive the EJB 1.1 spec says that is optional (although is required.)  If is not present, the value is treated as a .   I assume this is a (very minor) bug,

[JBoss-user] EJB data transfer monitoring

2001-07-10 Thread Nordahl, David C
What is the best way to monitor the status of data transfer from ejbs? If the object being returned by a bean's method is large, is it possible to setup some kind of event or messaging stuff to monitor the progress? How is this kind of thing normally handled with ejbs? David Nordahl [EMAIL PROT

RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN..... problem

2001-07-10 Thread Maraya Michael
Thanks for replying, Bill. I'm using JBoss 2.2.2 and the Entity Bean is configured as a "Standard BMP EntityBean" (see jboss.xml below) -- I don't know which commit-option that is resolved as. I guess as a last resort, I can use a custom configuration but I'd like to make this w

RE: [JBoss-user] DeadLock in ECPERF 1.0

2001-07-10 Thread Maraya Michael
I haven't run ECPerf myself but in case you haven't read them, there are instructions on getting ECPerf to work using JBoss here: http://www.jboss.org/ECPerf.html. I believe it requires a patch to JBoss first. HTH. --- Michael R. Maraya > -- > From: [EMAIL PROT

RE: [JBoss-user] ClassLoader not finding resource

2001-07-10 Thread Maraya Michael
Try using the following call instead (I use a similar call to make sure I'm pulling in the right jndi.properties file): URL url = getClass().getResource(fileName); HTH. --- Michael R. Maraya > -- > From: Leonard Kierstead[SMTP:[EMAIL PROTECTED]] > Repl

RE: [JBoss-user] trying to look up a datasource what am i doing wrong?

2001-07-10 Thread Maraya Michael
I don't believe that datasources are available in the global JNDI namespace. IIRC, they are only available in the java:comp/env/jdbc context (only from EJBs). --- Michael R. Maraya > -- > From: Larry Kim[SMTP:[EMAIL PROTECTED]] > Reply To: [EMAIL PROTECTED] > Sent:

RE: [JBoss-user] trying to look up a datasource what am i doing wrong?

2001-07-10 Thread Alan McDade
Title: RE: [JBoss-user] trying to look up a datasource what am i doing wrong? There are three steps to keeping an Oracle data source.   1) Copy the oracle classes12.zip to %JBOSS_HOME%/lib/ext directory   2) Edit the jboss.jcml file with entries something like   oracle.jdbc.driver.OracleDri

RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN..... problem

2001-07-10 Thread Bill Burke
Michael, What version of JBoss are you running? 2.2.x, 2.4Beta, or 2.5 mainline? What commit Option? A, B, or C? Also what kind of things are you doing(get/sets, creates, removes)? And are you doing them in one transaction? You definately have a corrupted cache here and I need more information

[JBoss-user] DeadLock in ECPERF 1.0

2001-07-10 Thread atabak
Hi, It is trying to run ecperf 1.0 (ECperf is a Enterprise JavaBeans(EJB)TM benchmark meant to measure the scalability and performance of J2EE servers and containers.)in jboss, but has to produce many deadlock. Someone had deadlock problems in ECperf ? This is part of the LOG [AssemblyEnt] LOCK

Re: [JBoss-user] looking for example of retrieve a data source

2001-07-10 Thread Emerson
Is there a way to launch TOMCAT alone without jboss??? I mean using the jboss distribution... When i use jboss_with_tomcat it works fine, but the startup process is too slow... And when I use startup i got some error due to packages not found. At 16:54 10/07/01 -0400, you wrote: >can anybody poin

[JBoss-user] ClassLoader not finding resource

2001-07-10 Thread Leonard Kierstead
  When my application is running as a service under JBoss the ClassLoader can't find a resource (an XML file) that is in one of my application jar files.  The following code returns null.       java.net.URL url = ClassLoader.getSystemResource(fileName);   It works fine outside of JBoss.  T

[JBoss-user] INSERTING AN ALREADY EXISTING BEAN..... problem

2001-07-10 Thread Maraya Michael
I'm developing an application that takes data from our legacy system and loads that data into the new system using Entity EJBs but when it starts to load a certain amount of records from our Accounts table, I get an IllegalStateException from AbstractInstanceCache.insert(). I believe thi

[JBoss-user] looking for example of retrieve a data source

2001-07-10 Thread Larry Kim
can anybody point me to an example of how to look up a datasource? thank you. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

RE: [JBoss-user] trying to look up a datasource what am i doing wrong?

2001-07-10 Thread Jord Sonneveld
Title: RE: [JBoss-user] trying to look up a datasource what am i doing wrong? I have in jboss.jcml:     Oracle     etc. etc. etc.     In my bean code, I do:     DataSource ds;     ds=(DataSource) ( ( new InitialContext() ).lookup("java:/Oracle") ); What is the exception

[JBoss-user] trying to look up a datasource what am i doing wrong?

2001-07-10 Thread Larry Kim
this is my client: try { InitialContext initialContext = new InitialContext(); Object ref = initialContext.lookup( "DefaultDS"); // i have also tried "java:/DefaultDS" //that line causes an exception. I also tried: //DataSource ds = (DataSource)P

[JBoss-user] unsubscribe

2001-07-10 Thread Faisal Naveed
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 11:10 PM Subject: JBoss-user digest, Vol 1 #1079 - 9 msgs > Send JBoss-user mailing list submissions to > [EMAIL PROTECTED] > > To subscribe or unsubscribe via the World Wide Web, visit >

Re: [JBoss-user] log4j or JBoss logging

2001-07-10 Thread danch
Another thing I had in mind for the old jaws code was to go through and make sure that errors get logged as errors, not debug. One place in particular that that got changed in 2.4 was in JDBCCommand - the method that executes just about any SQL was pretty much silently discarding the SQLExcept

[JBoss-user] Problem installing petstore

2001-07-10 Thread Raimar Falke
I'm trying to install jboss and petstore. I have used to following versions: J2EE 1.3 beta2, JBoss 2.2.2, Tomcat 3.2.2 and jps 1.1.2. I did not apply petstore-1.1.1-patch.zip since this prohibits compiling of the petstore. I followed roughly the guide at

Re: [JBoss-user] Jetty

2001-07-10 Thread Julian Gosnell
Patrick, You'll get a better response to these sort of questions on [EMAIL PROTECTED] As for comparisons with Resin - I haven't seen any recent ones My advice - suck-it-n-see, and when you have, I'm sure this list would like to know how it tasted.   Jules     Patrick Munis wrote:  how does Jetty

Re: [JBoss-user] In VM optimization between JBoss and Servlet Container

2001-07-10 Thread Scott M Stark
Actually this is more correct than what I said. The strong type checking of Java won't allow a method invocation from a class loaded by one class loader on the same class loaded by another class loader, even if they have exactly the same bytecode. So only intra-ear calls are optimized. I'll double

[JBoss-user] Tomcat & Jetty

2001-07-10 Thread Kemp Randy-W18971
I'm not sure I understand your question, so let me paraphrase. Can apache pass control to JSP and sevlet pages in tomcat, access EJB in Jboss, that accesses the Postgresql database, in the same machine Jetty is running? Why not? The only thing I see is port contentions, and these are changea

RE: [JBoss-user] Jetty

2001-07-10 Thread Patrick Munis
how does Jetty perform compared to resin. What are some the new features in Jetty 3.1.? -Original Message-From: Julian Gosnell [mailto:[EMAIL PROTECTED]]Sent: Tuesday, July 10, 2001 3:53 PMTo: [EMAIL PROTECTED]Cc: [EMAIL PROTECTED]Subject: Re: [JBoss-user] JettyPatrick M

Re: [JBoss-user] IT'S ALIVE!!!!!

2001-07-10 Thread Guy Rouillier
Don't know what you are using as a web server, but with Apache you need to add index.jsp as an acceptable index page: DirectoryIndex index.html index.jsp - Original Message - From: "marc fleury" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 2:42 PM Subject: RE:

Re: [JBoss-user] Jetty

2001-07-10 Thread Julian Gosnell
Patrick Munis wrote: Is Jetty a complete Java web container? And more - it's an HTTP Server, which uses the same infrastructure to serve static as well as dynamic content. Are there any major sites using Jetty? try:  http://www.jboss.org/forums/index.jsp - it's being run by JBoss-Jetty - still

Re: [JBoss-user] log4j or JBoss logging

2001-07-10 Thread Scott M Stark
Change to use log4j. The JBoss interface will disappear in 3.0 - Original Message - From: "Dain Sundstrom" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 12:08 PM Subject: [JBoss-user] log4j or JBoss logging > As I modify the JBossCMP code should I change the l

Re: [JBoss-user] In VM optimization between JBoss and Servlet Container

2001-07-10 Thread Scott M Stark
Its true if the web container has been integrated to use the war deployment class loader as the parent class loader of the web application. Any in VM call can be optimized. - Original Message - From: "C Murphy @ Intechtual" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 1

Re: [JBoss-user] Tomcat & Jetty

2001-07-10 Thread Julian Gosnell
Patrick Munis wrote: Can I run tomcat and Jetty on the machine with Jboss?That is, apache -->tomcat --->Jboss > Postgresql    Jetty thanks Patrick Download one of the combined packages and all will become clear - in short - YES Jules  

[JBoss-user] Tomcat & Jetty

2001-07-10 Thread Patrick Munis
Title: Tomcat & Jetty Can I run tomcat and Jetty on the machine with Jboss?That is, apache -->tomcat --->Jboss > Postgresql    Jetty thanks Patrick

Re: [JBoss-user] In VM optimization between JBoss and Servlet Container

2001-07-10 Thread Julian Gosnell
This is my understanding of the situation. Provided that EJBs and Servlets/JSP are packaged within the same EAR file, the J2EEDeployer will coordinate their deployment to the EJB and Web Containers. This coordination involves passing the same ClassLoader to both Containers. Any components deplo

[JBoss-user] Problem in passivation of session bean

2001-07-10 Thread Ajit Singh
I am using JBoss-2.2.2_Tomcat-3.2.2 version . I have one session bean MySessionBean ,one Entity bean MyDataEJB and On stopping server(hitting Ctrl-C) , jboss gives following exception. [Bean Cache] Aging out from cache bean MySessionEJBwith id = 994768575089; cache size = 1 [Container factory]

RE: [JBoss-user] IT'S ALIVE!!!!!

2001-07-10 Thread David Green
[green@david green]$ telnet www.jboss.org 80 Trying 66.37.140.9... telnet: Unable to connect to remote host: Connection refused On Tue, 10 Jul 2001, Cor Hofman wrote: > RE: [JBoss-user] IT'S ALIVE!Neither is it working for me.I cannot get to > the URL marc supplied. > > Regards, > Cor >

[JBoss-user] log4j or JBoss logging

2001-07-10 Thread Dain Sundstrom
As I modify the JBossCMP code should I change the logging over to use log4j directly or should I leave the code logging via the JBoss log layer? If I should switch to direct log4j, how do we categorize the logs? I was thinking jboss.ejb.plugins.cmp.. or some thing like that. This way I could tur

[JBoss-user] In VM optimization between JBoss and Servlet Container

2001-07-10 Thread C Murphy @ Intechtual
Hello, I'm working on a presentation for a client and I have a quick question about the optimization of in VM EJB calls in JBoss. I read in the documentation about how EJB-to-EJB calls are automatically optimized by bypassing the network layer. I didn't find any specific documentation, but it m

Re: [JBoss-user] IT'S ALIVE!!!!!

2001-07-10 Thread tim . haley
Is it still alive? I was in the middle of posting a new topic and the server went away. I can no longer connect to it. "Cannot find server or DNS Error" Original Message From: "marc fleury" <[EMAIL PROTECTED]> To: "Jboss-User@Lists. Sourceforge. Net" <[EMAI

[JBoss-user] Is anyone using XADataSources with jboss?

2001-07-10 Thread Jord Sonneveld
Title: Is anyone using XADataSources with jboss? Hello all, Is anyone using XADataSources directly with jboss, and /not/ through the minerva xa wrappers? If so, what database and driver are you using? Thanks. jord sonneveld foundation developer the eon company www.eoncompany.com o

Re: [JBoss-user] IT'S ALIVE!!!!!

2001-07-10 Thread Scott M Stark
Add a welcome-file-list element to the web.xml descriptor: index.jsp - Original Message - From: "marc fleury" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 11:42 AM Subject: RE: [JBoss-user] IT'S ALIVE! > www.jboss.org/forums/index

Re: [JBoss-user] ejb-ref error

2001-07-10 Thread Scott M Stark
Its showing you a deployment exception. Your jboss.xml file is does not conform to the jboss.dtd because a session element has to be a child under the enterpise-beans element. See the DTD docs: http://www.jboss.org/documentation/HTML/ch06.html#N18b9 - Original Message - From: <[EMAIL PRO

[JBoss-user] Jetty

2001-07-10 Thread Patrick Munis
Title: Jetty Is Jetty a complete Java web container? Are there any major sites using Jetty? Is jetty recommended over tomcat.? thanks Patrick

RE: [JBoss-user] IT'S ALIVE!!!!!

2001-07-10 Thread Cor Hofman
Title: RE: [JBoss-user] IT'S ALIVE! Neither is it working for me.I cannot get to the URL marc supplied.   Regards,   Cor -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Patrick MunisSent: Tuesday, July 10, 2001 20:14To: [EMAIL PROTECT

RE: [JBoss-user] IT'S ALIVE!!!!!

2001-07-10 Thread Anderson L
Title: RE: [JBoss-user] IT'S ALIVE! Any chance of sticking it on port 80? Firewalls 'n all!   Lewis -Original Message-From: Patrick Munis [mailto:[EMAIL PROTECTED]]Sent: 10 July 2001 19:14To: [EMAIL PROTECTED]Subject: RE: [JBoss-user] IT'S ALIVE! it's not working f

RE: [JBoss-user] IT'S ALIVE!!!!!

2001-07-10 Thread marc fleury
www.jboss.org/forums/index.jsp... for some reason index.jsp is not seen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Patrick Munis Sent: Tuesday, July 10, 2001 2:14 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] IT'S ALIVE! it's not worki

Re: [JBoss-user] running JBoss inside another app

2001-07-10 Thread David Jencks
Hi, I'm no expert on this, however I am very curious about a situation in which it is more appropriate to start an ejb container as part of another application rather than start the other application from an mbean described in jboss.jcml. Would you be willing to describe your situation further?

Re: [JBoss-user] Diffence between connection pool and data source

2001-07-10 Thread David Jencks
Hi, I believe the first is the mbean name, so the mbean can be looked up in the mbean server by that name, whereas the PoolName is the jndi lookup name for the datasource fronting the connection pool. I'm pretty sure they don't have to be the same. david jencks On 2001.07.10 06:41:47 -0400 "Du

RE: [JBoss-user] IT'S ALIVE!!!!!

2001-07-10 Thread MicaCooper
Try this :) http://www.jboss.org/forums/index.jsp -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of marc fleury Sent: Tuesday, July 10, 2001 1:07 PM To: Jboss-User@Lists. Sourceforge. Net; Jboss-Development@Lists. Sourceforge. Net Subject: [JBoss-user] IT'S

[JBoss-user] Is JBoss/JBoss MQ XA-compliant ?

2001-07-10 Thread connecstasy
Hello, I have a slight problem involving message driven beans here : "ReaderMDB" listens on topic "Magazine" for messages containing "Reader" in the message-property "Receiver-Classes". It is a messagedriven bean able to handle state information in a database. onMessage() does the following

[JBoss-user] ejb-ref error

2001-07-10 Thread Vikas . Chawla
Hi, I am getting the following error when trying to deploy my bean. But I have the jndi-name of the reference bean in my deployment descriptor. I am attaching my jboss.xml too. Thanks & Regards, Vikas JBoss.xml ConfigManage

Re: [JBoss-user] null finder parameter

2001-07-10 Thread Scott M Stark
Submit a bug report. - Original Message - From: "Fred Loney" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 10:32 AM Subject: Re: [JBoss-user] null finder parameter > My mistake. I've been surprised by that distinction before; you'd think I

RE: [JBoss-user] IT'S ALIVE!!!!!

2001-07-10 Thread Frank Marx
Hi Marc, for someone from France you are already pretty american you go girl ... LOL. Frank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of marc fleury Sent: Tuesday, July 10, 2001 11:07 AM To: Jboss-User@Lists. Sourceforge. Net; Jboss-Development

RE: [JBoss-user] javax.jms.JMSException: Invalid configuration - how do I fix this ?

2001-07-10 Thread Jon Rose
It works now - thanks! > -Original Message- > From: Jon Rose [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, July 10, 2001 11:11 AM > To: '[EMAIL PROTECTED]' > Cc: 'Burkhard Vogel' > Subject: RE: [JBoss-user] javax.jms.JMSException: Invalid > configuration - how do I fix this ? > >

[JBoss-user] (no subject)

2001-07-10 Thread Steve Zhang
It doesnot work for me either.. Best Wishes Steve Zhang Software Developer http://www.ensemble-systems.com ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

RE: [JBoss-user] javax.jms.JMSException: Invalid configuration - how do I fix this ?

2001-07-10 Thread Jon Rose
The directory db/jbossmq/ is missing - do I have a valid - should I just create an empty dir db/jbossmq/ or should I download a different distro? (I will have a look on teh website) Thanks Jon > -Original Message- > From: Burkhard Vogel [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, July 10

RE: [JBoss-user] IT'S ALIVE!!!!!

2001-07-10 Thread Patrick Munis
Title: RE: [JBoss-user] IT'S ALIVE! it's not working for me. -Original Message- From: marc fleury [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 2:07 PM To: Jboss-User@Lists. Sourceforge. Net; Jboss-Development@Lists. Sourceforge. Net Subject: [JBoss-user] IT'S ALI

Re: [JBoss-user] NoClassDefFoundError: Referencing an EJB from another in a different jar file

2001-07-10 Thread tim . haley
Robert, It sounds like you have your session beans in separate jar files. If so, either 1) Include the Home and Remote Interfaces of the called session bean in the calling session beans jar file 2) Use jboss.xml to create the link between the ejb-ref and the Global namespace jndi-names that r

Re: [JBoss-user] null finder parameter

2001-07-10 Thread Fred Loney
My mistake. I've been surprised by that distinction before; you'd think I'd learn. There is, however, a bigger problem that precludes any jboss declared cmp finder with a null argument. jboss gets the type of an argument by calling getClass() on the instance. If the argument is null, this rais

Re: [JBoss-user] running JBoss inside another app

2001-07-10 Thread Stewart Allen
Thanks for the response, Marc. I have proceeded to the point where, with the default settings, everything boots up until the InstantDB blocks on a pool call. At this point, JBoss is frozen. The log tail looks like this: [Hypersonic] Started [InstantDB] Starting [InstantDB] XA Connection pool I

[JBoss-user] reloading classes

2001-07-10 Thread Emerson
I made a system that depending on the pathInfo calls a diferent comand class (command design pattern). The problem is that the class is not reloaded when I change it, is there any manner to accomplish that? Emerson Cargnin TRE-SC Setor de Desenvolvimento Tel: (48) 251-3700 - Ramal 3134 _

RE: [JBoss-user] Adding web app to Jetty...pls help.

2001-07-10 Thread Brian D. Brown
That was it. I had set the JAVA_HOME variable in the run.bat file, instead of run_with_jetty.bat (although I was using run_with_jetty to launch the process, which calls run.bat). Any ideas on the servlet issue? Thanks for the help. Brian -Original Message- From: [EMAIL PROTECTED] [mai

Re: [JBoss-user] Weird DNS problem

2001-07-10 Thread Tristan Donaldson
Gerry, The DTD it is probably trying to access is: http://java.sun.com/j2ee/dtds/web-app_2_2.dtd from the web.xml file. Are you sure the machine which you are running JBoss can access this url?? If not there is probably a firewall blocking outward traffic on port 80 (may have to run through

Re: [JBoss-user] help needed with form-based authentification using jboss 2.2.2 & tomcat 3.2.2

2001-07-10 Thread Scott M Stark
You need to set the security-domain used by the web app in the jboss-web.xml descriptor as described in the JAAS tutorial: http://www.jboss.org/documentation/HTML/ch11s84.html - Original Message - From: "Jan Heise" <[EMAIL PROTECTED]> To: "jboss-user" <[EMAIL PROTECTED]> Sent: Tuesday, Ju

[JBoss-user] NoClassDefFoundError: Referencing an EJB from another in a different jar file

2001-07-10 Thread Robert Bachan
Hi Guys, fairly new to JBoss and trying to call a session bean from another. I've installed a security manager but and the JNDI bean context lookup is fine, but when I try to cast the Home Interface I get: [CompanySearchBean] TRANSACTION ROLLBACK EXCEPTION:com/knet/session/utils/UtilitiesHome; n

Re: [JBoss-user] run_with_tomcat.sh | Error while starting tomcat-test.war: null

2001-07-10 Thread Burkhard Vogel
Hi, firrst of all, you are running JBoss/Tomcat yust fine, _ONLY_ tomcat-test.war is not deployed. This is porbably because you don't have an online connection up, the point is that the parser tries to lookup a dtd from suns server. Changing the URL of the dtd (I think its in web.xml (not sure)) w

[JBoss-user] Re: JBoss shutdown

2001-07-10 Thread Richard Bottoms
With JBoss being used in conjunction with apache, jabber and other software running as daemons, is there are facility to start/stop those services from within JBoss? I am thinking of something like a 'service bean' that would be the first to fire off at shutdown to kill apache for instance, and t

Re: [JBoss-user] Adding web app to Jetty...pls help.

2001-07-10 Thread Burkhard Vogel
Yep, you are missing tools.jar on your calsspath. If youwould have started the jboss/jettx combo with the run_with_jetty:* batch and had JAVA_HOME set, this would have been added to yout classpath! Burkhard - Original Message - From: "Brian D. Brown" <[EMAIL PROTECTED]> To: <[EMAIL PROTECT

Re: [JBoss-user] Log4j configuration file location

2001-07-10 Thread Scott M Stark
- Original Message - From: "Saint-Martin Cecile" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 2:57 AM Subject: [JBoss-user] Log4j configuration file location > > Log4j is included in JBoss, and configuration file is log4j.propertie

[JBoss-user] JBoss and J2SDKEE1.3

2001-07-10 Thread David M. Lang
Hi, I have a session bean that uses a delegate class (a standard Java class) to write a message to a JMS topic using the javax.jms package from Sun's J2SDKEE1.3 (Beta 2). The delegate class works fine stand-alone. I then add it to the bean, and run up JBoss (version 2.2.2). It complains that i

Re: [JBoss-user] 8083

2001-07-10 Thread Ingo Bruell
Hi Gregor, GR> What si the HTTP Server on this port good for? Dynamicly classloading, of for example home and remote interfaces. so long Ingo Bruell --- <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> OldenburgPGP-Fingerprint: CB01 AE12 B359 87C4 BF1C 953C 8FE7 C648 169E E5FC Germany PGP-

RE: [JBoss-user] CMP Entity Bean using Opta2000 Driver - Has Anyone got this to work???

2001-07-10 Thread marc fleury
|IMHO making Xid an interface is a _big_ mistake: |It should have been a final class. nuff said. |There is _never_ more or less information in an |Xid, or interoperability with OTS/JTS and X/Open |DTP would be void. | |I don't know why Oracle made a version of their |JDBC driver dependent on a p

Re: [JBoss-user] Jsp & EJB's

2001-07-10 Thread Allen Fogleson
Accessing EJB's directly in JSP is strongly discouraged, however if you are going to do this in a JSP you will have to include the home and remote classes in the WEB-INF/lib or WEB-INF/classes directory for them to be found. I would actually suggest using a java bean to encapsulate the calls m

Re: [JBoss-user] Closing connections, etc

2001-07-10 Thread Ole Husgaard
"jK.MkIII" wrote: > Wouldn't it be better to use.. > > finally { > try { > if (statement != null) statement.close(); > } catch (Exception e) {} > try { > if (connection != null) connection.close(); > } catch (Exception e) {} > } Or even better: resource = try {

Re: [JBoss-user] CMP Entity Bean using Opta2000 Driver - Has Anyone got this to work???

2001-07-10 Thread Ole Husgaard
Hi, IMHO making Xid an interface is a _big_ mistake: It should have been a final class. Maybe the JTA designers thought that a class implementing Xid and wrapping the OTS oid_t type could be useful, but IMO wrapping some often accessed data in a proxy or facade is a lot slower than copying at mo

RE: [JBoss-user] running JBoss inside another app

2001-07-10 Thread marc fleury
|Before I beat my head bloody for too long, I thought I might ask if |anyone else has attempted this. I am working on booting JBoss inside of |an already running Java application. Aside from some hard coded "new |File("../..")" style issues in Main.java there are a lot of assumptions |made in the

[JBoss-user] Jsp & EJB's

2001-07-10 Thread Achilleus Mantzios
Is there a quick and dirty HOWTO of how can we run jsp's that access EJB's ??? by Simply <%@ page import="org.jboss.docs.interest.Interest" %> <%@ page import="org.jboss.docs.interest.InterestHome" %> jasper produces : Class org.jboss.docs.interest.Interest not found in import. Where can we

Re: [JBoss-user] EJB JNDI lookup failing - please help!

2001-07-10 Thread Dragos Haiduc
Try InitialContext initialContext = new InitialContext(env); in your lookup code, otherwise why would you create those properties, if you are not going to use them??? Adam Lipscombe wrote: [EMAIL PROTECTED]">Folks,I have a simple stateless SessionBean packaged in a jar file. I cannot seemto look

[JBoss-user] run_with_tomcat.sh | Error while starting tomcat-test.war: null

2001-07-10 Thread Graham . Forte
HI I am attempting to setup apache with JBoss-2.2.2_Tomcat-3.2.2 on a solaris 8 machine on a closed network(consequently I am referencing the dtd locally in my web.xml files). I have an error that reads as follows:Any Ideas would be greatly appreciated! 2001-07-10 08:40:02 - ContextManager: Addin

[JBoss-user] 8083

2001-07-10 Thread Gregor Rayman
What si the HTTP Server on this port good for? -- gR ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

[JBoss-user] running JBoss inside another app

2001-07-10 Thread Stewart Allen
Before I beat my head bloody for too long, I thought I might ask if anyone else has attempted this. I am working on booting JBoss inside of an already running Java application. Aside from some hard coded "new File("../..")" style issues in Main.java there are a lot of assumptions made in the c

RE: [JBoss-user] Adding web app to Jetty...pls help.

2001-07-10 Thread Brian D. Brown
Jules, Thanks for your reply. I got the application configured, by editing the jetty.xml file. Here is the entry that I made: /test/* /webapps/test /etc/webdefault.xml false My web app has a jsp and a servlet. I can get the directory listing, but when I try to run the

[JBoss-user] Re: JBoss shutdown

2001-07-10 Thread Achilleus Mantzios
> This is how i shut my jboss. Substitute the paths with what is appropriate for you. -- &Agr;&khgr;&igr;&lgr;&lgr;&eacgr;&agr;&sfgr; &Mgr;&aacgr;&ngr;&tgr;&zgr;&igr;&ogr;&sfgr; Application Developer Eurisko A.E. &Pgr;&igr;&ngr;&dgr;&aacgr;&rgr;&ogr;&ugr; 9 106 71 &Agr;&thgr;&eeacgr;&

Re: Re: [JBoss-user] MySQL, BMP, Table not found

2001-07-10 Thread tim . haley
Scott, I strongly suggest that you remove all JDBC Driver and DataSource information that you are not actively using from your configuration. IMHO, that is the easiest way to determine if you are indeed connecting to the correct database. When I first started trying to connect to an alternate

[JBoss-user] Re: JBoss-user digest, Vol 1 #1072 - 10 msgs

2001-07-10 Thread Javasals
Burkhard, Thank you for your reply.  I have made the configuration change that you showed me and have redeployed the bean. However, it still crashes with the same message.  Here is a look at the sql stm from the java code...Also, I took out the reference to the database test.Ship, where test i

Re: [JBoss-user] Closing connections, etc

2001-07-10 Thread David Ward
I agree with Paul. Believe it or not, under extreme load I've seen problems with the Oracle driver (classes12.zip) unless you closed everything you could - as soon as you could - in the reverse order. Always good practice. David -- Paul Austin wrote: > Jim, > > The reason that you should

[JBoss-user] EJB JNDI lookup failing - please help!

2001-07-10 Thread Adam Lipscombe
Folks, I have a simple stateless SessionBean packaged in a jar file. I cannot seem to look up the bean ref via JNDI. The ejb-jar.xml file looks like this: http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'> OrganisationListBean uk.co.landmark.contactmanager.server.organisation.ej

[JBoss-user] help needed with form-based authentification using jboss 2.2.2 & tomcat 3.2.2

2001-07-10 Thread Jan Heise
hi folks, i'm obviously doing soemthing wrong here. a search through the archives didn't present a solution so i have to ask you even so i think this has been asked before. i want to do form-based login for my webapp. securing ejb's is not yet needed, controlling who can login to the app is.

RE: [JBoss-user] Jboss Applet problem

2001-07-10 Thread Pelle Poluha
I've experienced the same thing. The solution for me was to add a security policy on the client. But I don't know why I had to do it. Later on, I added security on my beans so that I would have to log in to access them. After that, I got exceptions all the time, even though my security policy made

[JBoss-user] Weird DNS problem

2001-07-10 Thread Gerry Duhig
Hi! I have setup a demo/test installation of JBoss with some sample applications deployed on a Linux box. When tested on my own dialup internet connection everything is 100% OK. So, I shipped the linux box to my client's site, hooked up to their LAN and started the demo! At the point where JBoss

[JBoss-user] Diffence between connection pool and data source

2001-07-10 Thread "Dufner, Jürgen (KA)"
Hello, whats the diffences between a data source and a connection pool? In the jboss.jcml a data source is defined: and in the next row a connection pool: InstantDB Must the names of the connection pool and the data source the same or could/must they differ? Thanks a lot, Juergen

[JBoss-user] Jboss Applet problem

2001-07-10 Thread Naredi Vikas
I had made an session Bean .And it deployed succesfully.   When i run client as an application then it runs fine but when i run client as an applet it gives me the following exception   java.security.AccessControlException: access denied (java.io.FilePermission \usr\local\jboss-tomcat-2.2\j

  1   2   >