On Thursday, Jan 9, 2003, at 03:06 US/Pacific, Dick Applebaum wrote:
> 1) Create a copy of the Server "all" named CFMX1
> 2) Start JBoss with ..././run.sh -c CFMX1

Or just deploy CFMX into the default/deploy area...

> 3) Copy/rename rds.war to CFMX1/deploy as CFIDE.war (so it will deploy
> as CFIDE) -- you can see it hot deploy in the terminal window

Yes, correct.

> 4) Copy cfusion to CFMX1/deploy -- you can see it hot deploy

Ah, I had told the installer to use 'cfmx' as the context root  
originally rather than 'cfusion' - once I copied cfusion.war in as  
cfmx.war, it was slightly more successful.

> 5) try and access it with http://127.0.0.1:8080/cfusion/CFIDE/  -- this
> works & lists the contents of CFIDE

Yes, but there's not exactly much in that context root :)

> 6) try and access it with
> http://127.0.0.1:8080/cfusion/CFIDE/administrator/index.cfm  -- this
> gives a 500 error

I get this:

type Exception report

message Internal Server Error

description The server encountered an internal error (Internal Server  
Error) that prevented it from fulfilling this request.

exception
javax.servlet.ServletException: Servlet.init() for servlet CfmServlet  
threw exception
         at  
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav 
a:952)
         at  
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:6 
58)
         at  
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv 
e.java:214)

But if I look at the log of JBoss trying to deploy cfmx.war, I see:

08:51:31,589 INFO  [MainDeployer] Starting deployment of package:  
file:/home/jboss/server/default/deploy/cfmx.war
08:51:50,276 INFO  [EmbeddedCatalinaService41] deploy, ctxPath=/cfmx,  
warUrl=file:/home/jboss/server/default/tmp/deploy/server/default/ 
deploy/cfmx.war/90.cfmx.war
08:51:50,634 INFO  [Engine] WebappLoader[/cfmx]: Deploying class  
repositories to work directory  
/home/jboss/tomcat-4.1.x/work/MainEngine/localhost/cfmx
08:51:50,639 INFO  [Engine] WebappLoader[/cfmx]: Deploy class files  
/WEB-INF/classes to  
/home/jboss/tomcat-4.1.x/work/MainEngine/localhost/cfmx/WEB-INF/classes
08:51:50,641 INFO  [Engine] WebappLoader[/cfmx]: Deploy JAR  
/WEB-INF/lib/cfmx_bootstrap.jar to  
/home/jboss/tomcat-4.1.x/work/MainEngine/localhost/cfmx/WEB-INF/lib/ 
cfmx_bootstrap.jar
08:51:50,651 INFO  [Engine] WebappLoader[/cfmx]: Deploy JAR  
/WEB-INF/lib/cfx.jar to  
/home/jboss/tomcat-4.1.x/work/MainEngine/localhost/cfmx/WEB-INF/lib/ 
cfx.jar
08:51:50,660 INFO  [Engine] WebappLoader[/cfmx]: Deploy JAR  
/WEB-INF/lib/js.jar to  
/home/jboss/tomcat-4.1.x/work/MainEngine/localhost/cfmx/WEB-INF/lib/ 
js.jar
08:51:51,003 INFO  [Engine] StandardContext[/cfmx]: WARNING: URL  
pattern servlet/AxisServlet must start with a / in Servlet 2.3
08:51:51,007 INFO  [Engine] StandardContext[/cfmx]: WARNING: URL  
pattern servlet/AdminServlet must start with a / in Servlet 2.3
08:51:51,158 INFO  [Engine] ContextConfig[/cfmx]: Added certificates ->  
request attribute Valve
08:51:51,891 INFO  [EmbeddedCatalinaService41] Using Java2 parent  
classloader delegation: true
08:51:51,893 INFO  [Engine] StandardManager[/cfmx]: Seeding random  
number generator class java.security.SecureRandom
08:51:51,895 INFO  [Engine] StandardManager[/cfmx]: Seeding of random  
number generator has been completed
08:51:51,898 INFO  [Engine] StandardWrapper[/cfmx:default]: Loading  
container servlet default
08:51:51,922 ERROR [Engine] StandardContext[/cfmx]: Servlet /cfmx threw  
load() exception
javax.servlet.ServletException: Servlet.init() for servlet FlashGateway  
threw exception
         at  
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav 
a:952)
         at  
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
         at  
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j 
ava:3341)

In other words, the Servlet failed to initialize - so it's not  
surprising that subsequent operations fail.

> The JBoss install negated my Tomcat install

It's relatively easy to have Tomcat use a port other than 8080 so that  
you can have both systems up at the same time:

Edit tomcat/conf/server.xml and change 8080 to some other port (like  
8180) around line 87 (the CoyoteConnector setup).

I have the following CF installs on my TiBook, all running without  
conflicts:
        CFMX Linux port hack (port 8500)
        CFMX for J2EE on JRun 4 (port 8300, JRun on 8000)
                /cfusion context root, one instance
        CFMX for J2EE on Tomcat (port 8180)
                /cfmac context root
                /cfmx context root
                /cfusion context root
                        all for different applications
Hopefully, I'll soon have another one on JBoss (port 8080)!

> I also tried to install mod_rendevous on the Apache server, but it
> wouldn't install -- likely because the installation of the JRun
> connector and/or Tomcat and/or JBoss.

Yes, apxs puts the LoadModule directive in the wrong place after you've  
installed the mod_jrun connector! Edit /etc/httpd/httpd.conf and find  
this:

        LoadModule rendezvous_module libexec/httpd/mod_rendezvous.so

It's probably immediately after the mod_jrun one? Move it to the end of  
the main block of LoadModule directives (probably after  
nfs_apple_module).

> Anyway, I will read up more on JBoss and see if I can determine what I
> am doing wrong

Good luck, I spent an hour reading the (huge) JBoss Getting Started PDF  
and couldn't figure it out :)

Sean A Corfield -- http://www.corfield.org/blog/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to