Newbie lost in strange setup
stiphout Apr 27, 2004 7:39 PMHi all,
I'm a fairly experienced web programmer with no experience in JBoss. I've been using Eapps for some time to host some static pages and handle email, but now I'm expanding beyond the PICK-web (ancient, I know, don't ask) programming and into the wonders of J2EE.
I'm lost.
So, trying to get Nukes to run on my site over there. I asked them to move all my static pages over to a Apache/JBoss config, and here's how they've set it up, with all the pertinent info I can think of...
The default mount points are:
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
The "jboss3.2.3/server/default" directory structure is:
drwxr-xr-x 9 jboss jboss 4096 Apr 27 16:46 . drwxr-xr-x 5 jboss jboss 4096 Dec 15 13:03 .. drwxr-xr-x 3 jboss jboss 4096 Jan 7 12:07 conf drwxr-xr-x 4 jboss jboss 4096 Apr 27 19:39 data drwxr-xr-x 13 jboss jboss 4096 Apr 27 19:34 deploy drwxr-xr-x 2 jboss jboss 4096 Apr 27 16:52 lib lrwxrwxrwx 1 jboss jboss 22 Apr 23 12:40 log -> /var/log/jboss/default drwxr-xr-x 2 jboss jboss 4096 Apr 27 19:35 nukes drwxr-xr-x 3 jboss jboss 4096 Apr 27 19:38 tmp drwxr-xr-x 3 jboss jboss 4096 Dec 15 14:17 work
(I put the nukes directory there according to the install.txt in the mysql-prepared package for installing nukes, at http://prdownloads.sourceforge.net/jboss/nukes-1.0.0-mysql.zip?download)
The deploy directory looks like this:
drwxr-x--- 4 jboss jboss 4096 Apr 23 16:16 ROOT.war -rw-r--r-- 1 jboss jboss 2048 Nov 30 15:47 cache-invalidation-service.xml -rw-r--r-- 1 jboss jboss 1481 Nov 30 15:47 client-deployer-service.xml drwxr-xr-x 2 jboss jboss 4096 Apr 27 17:38 cruisingkb.war drwxr-xr-x 2 jboss jboss 4096 Apr 23 16:10 hellians.war -rw-r--r-- 1 jboss jboss 4264 Nov 30 15:47 hsqldb-ds.xml drwxr-xr-x 4 jboss jboss 4096 Nov 30 15:47 http-invoker.sar -rw-r--r-- 1 jboss jboss 104827 Nov 30 15:47 jboss-jca.sar -rw-r--r-- 1 jboss jboss 6585 Nov 30 15:47 jboss-local-jdbc.rar -rw-r--r-- 1 jboss jboss 12303 Nov 30 15:47 jboss-xa-jdbc.rar drwxr-xr-x 3 jboss jboss 4096 Jan 7 12:07 jbossweb-tomcat41.sar drwxr-xr-x 3 jboss jboss 4096 Jan 7 12:07 jms drwxr-xr-x 6 jboss jboss 4096 Jan 7 12:07 jmx-console.war drwxr-xr-x 3 jboss jboss 4096 Nov 30 15:47 jmx-invoker-adaptor-server.sar -rw-r--r-- 1 jboss jboss 1580 Nov 30 15:47 mail-service.xml drwxr-xr-x 2 jboss jboss 4096 Jan 7 12:07 management -rw-r--r-- 1 jboss jboss 380 Apr 27 18:05 nukes-ds.xml -rw-r--r-- 1 jboss jboss 1924458 Apr 27 19:34 nukes.ear -rw-r--r-- 1 jboss jboss 1830 Nov 30 15:47 properties-service.xml -rw-r--r-- 1 jboss jboss 3906 Nov 30 15:47 schedule-manager-service.xml -rw-r--r-- 1 jboss jboss 1784 Nov 30 15:47 scheduler-service.xml drwxr-xr-x 3 jboss jboss 4096 Jan 7 12:07 snmp-adaptor.sar -rw-r--r-- 1 jboss jboss 199 Nov 30 15:47 sqlexception-service.xml drwxr-xr-x 2 jboss jboss 4096 Apr 23 16:12 stiphout.war -rw-r--r-- 1 jboss jboss 1348 Nov 30 15:47 transaction-service.xml -rw-r--r-- 1 jboss jboss 1103 Nov 30 15:47 user-service.xml -rw-r--r-- 1 jboss jboss 5283 Nov 30 15:47 uuid-key-generator.sar
And in case you're wondering, yes, my user id is jboss, and yes, all those ".war" files are actually directories. Eapps told me that this is because Apache needs them to be this way until I replace them with actual .war files.
Ok, so I've placed the nukes.ear and the nukes-ds.xml files here. Eapps has told me they've added a JkMount for /nukes.
But, I get a 404 when I try to go to http://www.cruisingkb.com/nukes/ or http://www.stiphout.net/nukes or http://www.hellians.net/nukes/ . . .
What am I missing here? Do I need to make an actual war file with nukes in it for each of these sites? If so, how do I do that?
It seems to me that if the JkMounts are sending contexts with /nukes/ to JBoss (via that ajp13 connector), somewhere I need to tell JBoss to map /nukes/ to the nukes.ear file... or is that something that's defined somewhere inside the nukes.ear file?
Ack... there's so much here that I feel like I'm missing. It's like I'm 13 and learning linux all over again... (drowning in it)
Thanks in advance, everyone!
-Dutch