[JBoss-user] patching jboss 3.0.6

2003-04-01 Thread SainTiss
Hi, I've encountered the (known) jboss-shutdown problem, and noticed there's a patch available. However, the 3.0.6-zip files on the download page don't include this patch. Does that mean those files are totally unusable, and I need to checkout the 3.0 branch from cvs and apply the patch like

[JBoss-user] assertions in jsp's

2003-03-11 Thread SainTiss
Hi, It seems like java 1.4 supports the assert keyword, but to actually use it, one needs to add a command line switch to the javac command. So I was wondering, is it possible to use this feature with JSP's as well? I mean, is there a way to provide command-line options to the javac command

[JBoss-user] accessing classes in a .war from classes in a .jar

2003-02-25 Thread SainTiss
Hi, it seems like accessing classes in a .jar from classes in a .war is possible if the .jar and .war are in a .ear together. The other way round however (accessing classes in a .war from classes in a .jar) seems to be impossible whatsoever. The obvious reason probably being that the .jar

[JBoss-user] classpath for JSP compiling

2003-02-16 Thread SainTiss
Hi, I'm writing a simple JSP in which I try to access an Entity EJB. Yet while accessing the jsp, I get javac errors in the JBoss log, like this: Error compiling file: /usr/local/jboss-3.0.4_tomcat-4.1.12/tomcat-4.1.x/work/MainEngine/localhost/eenloketsysteem/jsp/stTest_jsp.java

Re: [JBoss-user] classpath for JSP compiling

2003-02-16 Thread SainTiss
again. If so, let me know and we will investigate further (if you are using Jetty). Jules SainTiss wrote: Hi, I'm writing a simple JSP in which I try to access an Entity EJB. Yet while accessing the jsp, I get javac errors in the JBoss log, like this: Error compiling file

[JBoss-user] Could not look up DataSource

2003-02-07 Thread SainTiss
Hi, I'm trying to get the OpenSymphony osworkflow example to work on JBoss... It has instructions to get it to work on Tomcat, and since I've got JBoss with Tomcat integrated, I thought it should work as well... http://www.opensymphony.com/osworkflow/README-Tomcat.txt Now when I start the

[JBoss-user] deploying in tomcat/jboss

2003-02-07 Thread SainTiss
Hi, slightly relating to my previous mail, is it correct that in order to deploy a web application in Tomcat, you still have to deploy in $JBOSS_HOME/server/default/deploy and NOT in $JBOSS_HOME/tomcat/webapps, when using the tomcat integrated in JBoss? Thanks Hans -- In a world without walls

[JBoss-user] deploymentexception

2002-12-08 Thread SainTiss
Hi, I keep getting the following error when deploying some beans: 19:26:54,825 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=eenloketsysteem.entitybeans/Persoon/Home,service=EJB org.jboss.deployment.DeploymentException: Error while creating table; - nested throwable:

[JBoss-user] parser error SOLVED = this is not funny

2002-12-08 Thread SainTiss
Hi, I found out what caused the parser error in my previous post by enabling postgreSQL's logging... The point is that JBoss is issuing the following query to postgreSQL: CREATE TABLE adres (ADRES_ID VARCHAR(255) NOT NULL, STRAAT VARCHAR(255), HUISNUMMER INTEGER(9) NOT NULL, BUS INTEGER(9) NOT

Re: [JBoss-user] parser error SOLVED = this is not funny

2002-12-08 Thread SainTiss
Hi, Thanks for your reply, but I'm afraid I'm not quite following you... I was looking to edit the file to fix the bug, but since INTEGER(9) is NOT in the file, I figured I can't change it there either... Am I mistaken here? Thanks Hans On Sun, 2002-12-08 at 21:48, Greg Turner wrote: True,

Re: [JBoss-user] parser error SOLVED (for real this time)

2002-12-08 Thread SainTiss
with every possible mapping for every database. SainTiss wrote: Hi, Thanks for your reply, but I'm afraid I'm not quite following you... I was looking to edit the file to fix the bug, but since INTEGER(9) is NOT in the file, I figured I can't change it there either... Am I mistaken

[JBoss-user] finder method oddity

2002-12-07 Thread SainTiss
Hi, I'm trying to find out about these finder methods, and I've stumbled upon an oddity here: I created two finder methods, using the following XDoclet tags: * @ejb.finder * signature=java.util.Collection findByName(java.lang.String name) * * @ejb.finder *

[JBoss-user] cactus problem: classcastexception and Error finding class

2002-12-02 Thread SainTiss
Hi, I managed to build and run a simple cactus test, but then I rebuilt and redeployed it, and then I was getting a ClassCastException, followed by the message that several of my classes were unknown sources... I restarted jboss, and now I'm not getting the above exception anymore, but this one:

Re: [JBoss-user] cactus problem: classcastexception and Errorfinding class

2002-12-02 Thread SainTiss
Hi, I found out the second exception was my own fault (packaging mistake), but the first is still a mistery... (although I'm not able to reproduce it so it seems...) Hans On Mon, 2002-12-02 at 18:22, SainTiss wrote: Hi, I managed to build and run a simple cactus test, but then I rebuilt

[JBoss-user] cactus with jboss

2002-11-30 Thread SainTiss
Hi, I'm doing the cactus tutorial... It talks about creating some directories/files in [tomcat-root]/webapps, and modifying [tomcat root]/conf/web.xml... After that, the URL http://localhost:8080/test/ServletTestRunner should be available... However, I got the impression that the tomcat

Re: [JBoss-user] deploying war file

2002-11-28 Thread SainTiss
Hi, thanks for the offer, but I am using Tomcat indeed... Hans On Thu, 2002-11-28 at 10:43, Jules Gosnell wrote: SainTiss wrote: Hi, I'm trying to create a servlet here... I've already created a .war file, and jboss says it's been deployed correctly... Now what is the url

Re: [JBoss-user] deploying war file

2002-11-28 Thread SainTiss
in there. If it, or it's mapping is commented out, then you will need to put it back in. If that's not it, then sorry for flaunting my ignorance. Jules SainTiss wrote: Hi, thanks for the offer, but I am using Tomcat indeed... Hans On Thu, 2002-11-28 at 10:43, Jules Gosnell wrote

RE: [JBoss-user] deploying war file

2002-11-27 Thread SainTiss
Hi, all I see under jboss.web is service=EmbeddedCatalina41 without servlet doesn't work either... The point is, I'm getting 404 for *every* combination, except for warname/ that gives me an empty list of filename, size, last modified Hans On Wed, 2002-11-27 at 10:07, Rupp,Heiko wrote: Hi,

Re: AW: [JBoss-user] deploying war file

2002-11-27 Thread SainTiss
-27 at 09:43, anna schricker wrote: if you don't have an entry in web.xml for your servlet warname/servlet/your.package.servletname should work. -Ursprüngliche Nachricht- Von: SainTiss [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 27. November 2002 01:07 An: JBoss Mailing Betreff: Re

Re: AW: [JBoss-user] deploying war file

2002-11-27 Thread SainTiss
with having the jboss version with tomcat integrated? Hans SainTiss wrote: Hi, I do have an entry, which looks like this: servlet servlet-nameClientServlet/servlet-name display-nameSaint Client Servlet/display-name servlet-classeenloketsysteem.ClientServlet

Re: AW: [JBoss-user] deploying war file

2002-11-27 Thread SainTiss
is in your jboss-web.xml ? does it mess with your context root ? If so, your warname is probably being ignored in favour of this entry. Jules SainTiss wrote: Hi, I do have an entry, which looks like this: servlet servlet-nameClientServlet/servlet-name display

Re: [JBoss-user] deploying war file: SOLVED (?)

2002-11-27 Thread SainTiss
that can be found by a common user :-) Hans On Wed, 2002-11-27 at 17:49, SainTiss wrote: Here's the output of the jboss-log, when deploying: 11:39:05,845 INFO [MainDeployer] Starting deployment of package: file:/usr/local/jboss-3.0.4_tomcat-4.1.12/server/default/deploy/st-testejbclient.war 11:39

Re: AW: [JBoss-user] deploying war file

2002-11-27 Thread SainTiss
Hi, This is what I was trying all the time, but it just doesn't seem to work... Unless you specify a servlet mapping in the web.xml, it seems impossible to access the servlets... Hans On Wed, 2002-11-27 at 19:40, Andreas Mecky wrote: Hello, I see that this is becoming a long term

Re: AW: [JBoss-user] deploying war file

2002-11-27 Thread SainTiss
Hi, I have seen a book where they don't have a servlet-mapping, although they use sun's reference implementation, and deploytool, which might generate the mapping behind their backs, even though the deployment descriptors have to be written manually... Regards, Hans On Wed, 2002-11-27 at

[JBoss-user] sample project / deploying servlets

2002-11-26 Thread SainTiss
Hi, In the jboss quickstart docs, there's a chapter about a sample project, but I can't find this sample in the jboss directory... Where can I find it? Actually, what I'm looking for is some simple explanation on how to deploy a servlet step-by-step... Is such available somewhere? Thanks Hans

Re: [JBoss-user] sample project / deploying servlets

2002-11-26 Thread SainTiss
, but not for the servlets...) Thanks Hans On Tue, 2002-11-26 at 15:27, Binil Thomas wrote: see http://prdownloads.sourceforge.net/jboss/JBoss.3.0TemplateAndExamples.zip?do wnload - Original Message - From: SainTiss [EMAIL PROTECTED] To: JBoss Mailing [EMAIL PROTECTED] Sent: Tuesday, November 26

[JBoss-user] Same deployment unit?

2002-11-26 Thread SainTiss
Hi, I've read that a servlet for example could have access to an EJB's local interface, if the servlet is in the same deployment unit as the EJB... Does this mean it has to be on the same application server? Or does this mean it's got to be in the same jar? In the second case there seems to be

[JBoss-user] deploying war file

2002-11-26 Thread SainTiss
Hi, I'm trying to create a servlet here... I've already created a .war file, and jboss says it's been deployed correctly... Now what is the url for the servlet? localhost:8080/warname is the only thing that doesn't yield an error, but it doesn't execute the servlet either.. Thanks Hans

Re: [JBoss-user] deploying war file

2002-11-26 Thread SainTiss
-mapping take a look at tomcat or jboss docs/examples to see how to do it. a good example can be found at : JBOSS_HOME/server/default/deploy/jmx-console.war/WEB-INF/web.xml SainTiss wrote: Hi, I'm trying to create a servlet here... I've already created a .war file, and jboss says

Re: [JBoss-user] NoInitialContext

2002-11-18 Thread SainTiss
Right... That explains it... Thanks to all who responded... I can see that it's explained at http://www.jboss.org/online-manual/HTML/ch01s15.html indeed, but it's a bit tricky, since on the jboss site, it is referred to as deprecated docs, so you don't really know which parts are relevant for

Re: [JBoss-user] NoInitialContext

2002-11-18 Thread SainTiss
of the message, rather than as an attachment to it. - Original Message - From: SainTiss [EMAIL PROTECTED] To: JBoss Mailing [EMAIL PROTECTED] Sent: Sunday, November 17, 2002 11:30 AM Subject: [JBoss-user] NoInitialContext signature.asc Description: This is a digitally signed message

[JBoss-user] principal in dbase login-config.xml JAAS section?

2002-11-17 Thread SainTiss
Hi, I've just succeeded in setting up postgreSQL as a datasource in jboss 3.0.4... There's one thing that isn't very clear though: in the login-config.xml file, I had to add a section to enable authentication via JAAS: application-policy name = PostgresDbRealm authentication

[JBoss-user] how to manage the jboss default dbase?

2002-11-17 Thread SainTiss
Hi, during my early experiments, I had managed to deploy a simple entity bean using the default database. So during that process, a table was created there... Now I'm wondering how I can delete that table again, since it's no longer of any use... Thanks Hans signature.asc Description:

Re: [JBoss-user] how to manage the jboss default dbase?

2002-11-17 Thread SainTiss
wrote: Hi, http://localhost:8080/jmx-console find service=hypersonic click invoke on startDatabaseManager() drop table whatever Regards, Adrian From: SainTiss [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: JBoss Mailing [EMAIL PROTECTED] Subject: [JBoss-user] how to manage

Re: [JBoss-user] how to manage the jboss default dbase?

2002-11-17 Thread SainTiss
in a separate window. Regards, Adrian From: SainTiss [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: JBoss Mailing [EMAIL PROTECTED] Subject: Re: [JBoss-user] how to manage the jboss default dbase? Date: 17 Nov 2002 16:18:16 +0100 Hi, I've done what you say, but when I click invoke

Re: [JBoss-user] principal in dbase login-config.xml JAAS section?

2002-11-17 Thread SainTiss
, but the PasswordCredential class required by the jca spec requires it. On the theory that some adapter sometime may use it, I exposed it. david jencks On 2002.11.17 09:20:07 -0500 SainTiss wrote: Hi, I've just succeeded in setting up postgreSQL as a datasource in jboss 3.0.4... There's

[JBoss-user] NoInitialContext

2002-11-17 Thread SainTiss
Hi, I'm writing a very simple client atm, but something's wrong... I get this exception: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial at

Re: [JBoss-user] NoInitialContext

2002-11-17 Thread SainTiss
On Sun, 2002-11-17 at 19:33, G.L. Grobe wrote: I'm using the same java command to launch jboss as I use to launch the client, so I'm pretty sure this is the case... So why am I still getting this exception? So in other words ... it sounds like you're launching two instances of the JVM and

Re: [JBoss-user] NoInitialContext / Classpath

2002-11-17 Thread SainTiss
So this means you do need a jndi.properties file in the classpath when running the client? After even more research, I found out that the jndi.properties file in the server/default/conf directory isn't right... It seems you need a line like this as well: java.naming.provider.url=localhost As