Hi Jordon
Thank you for writing those directions. Running on Windows, my first
guess is that I'm not entering the proper path in web.xml. Right now,
if I switch my Tomcat web.xml and catalina.properties to their
original files, I can get to the Tomcat manager. When I switch to my
updated files, I get "Unable to connect". Could you take a quick look
at how I've defined my paths within the config files.
My current directory layout is:
Xampp: c:\xampp\xampp
OpenBD: c:\xampp\xampp\openbd
Tomcat: c:\xampp\xampp\tomcat
Htdocs: c:\xampp\xampp\htdocs
Here is what I'm getting in the Catalina.2010-05-10.log:
*************************************************************
INFO: Starting service Catalina
May 10, 2010 1:13:16 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0-snapshot
May 10, 2010 1:13:17 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
May 10, 2010 1:13:17 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/host-manager] startup failed due to previous errors
May 10, 2010 1:13:17 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
May 10, 2010 1:13:17 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/manager] startup failed due to previous errors
May 10, 2010 1:13:17 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
May 10, 2010 1:13:17 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/docs] startup failed due to previous errors
May 10, 2010 1:13:18 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
May 10, 2010 1:13:18 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/examples] startup failed due to previous errors
May 10, 2010 1:13:18 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
May 10, 2010 1:13:18 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors
May 10, 2010 1:13:18 PM org.apache.coyote.http11.Http11AprProtocol
start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 10, 2010 1:13:18 PM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
May 10, 2010 1:13:18 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1607 ms
****************************************************************
Here is the updated section from my Tomcat web.xml:
***************************************************************
<servlet>
<servlet-name>cfmServlet</servlet-name>
<servlet-class>com.naryx.tagfusion.cfm.cfServlet</servlet-
class>
<init-param>
<param-name>BLUEDRAGON_WORKING_DIRECTORY</param-name>
<param-value>c:\xampp\xampp\openbd\bluedragon\work</param-
value>
</init-param>
<init-param>
<param-name>BLUEDRAGON_XML</param-name>
<param-value>c:\xampp\xampp\openbd\bluedragon
\bluedragon.xml</param-value>
</init-param>
<load-on-startup>0</load-on-startup>
</servlet>
<servlet>
<servlet-name>cfcServlet</servlet-name>
<servlet-class>com.naryx.tagfusion.cfm.cfcServlet</servlet-
class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet>
<servlet-name>cfchartServlet</servlet-name>
<servlet-class>com.naryx.tagfusion.cfm.cfchartServlet</servlet-
class>
</servlet>
<servlet>
<servlet-name>cfResourceServlet</servlet-name>
<servlet-class>com.naryx.tagfusion.cfm.cfResourceServlet</
servlet-class>
</servlet>
**************************************************************
Here is the updated section from my bluedragon.xml:
**************************************************************
<?xml version="1.0"?>
<server>
<system>
<resourcepath>C:\xampp\xampp\OpenBD\resources</resourcepath>
<licensekey></licensekey>
<component-cfc>C:\xampp\xampp\OpenBD\bluedragon\component.cfc</
component-cfc>
<whitespacecomp>false</whitespacecomp>
<nativelibdir>C:\xampp\xampp\OpenBD\bin</nativelibdir>
<missingtemplatehandler></missingtemplatehandler>
<lastfile></lastfile>
<errorhandler></errorhandler>
<buffersize>0</buffersize>
<tempdirectory>C:\xampp\xampp\OpenBD\bluedragon\work\temp</
tempdirectory>
<password>admin</password>
<defaultcharset>utf-8</defaultcharset>
<lastupdated></lastupdated>
</system>
<file>
<maxfiles>1000</maxfiles>
<trustcache>false</trustcache>
</file>
<javacustomtags>
<classes>C:\xampp\xampp\OpenBD\classes</classes>
<mapping name="cfx_javabluedragonhello">
<name>cfx_javabluedragonhello</name>
<displayname>CFX_JavaBlueDragonHello</displayname>
<description>A simple Java CFX tag example</description>
<class>com.newatlanta.BlueDragonHello</class>
</mapping>
</javacustomtags>
<nativecustomtags>
<mapping name="cfx_nativebluedragonhello">
<function>ProcessTagRequest</function>
<keeploaded>true</keeploaded>
<name>cfx_nativebluedragonhello</name>
<displayname>CFX_NativeBlueDragonHello</displayname>
<module>C:\xampp\xampp\OpenBD\customtags\BlueDragonHello.dll</
module>
<description>A simple C++ CFX tag example</description>
</mapping>
</nativecustomtags>
<cfquery>
<cache>true</cache>
</cfquery>
<cfapplication>
<clientstorage>cookie</clientstorage>
<enabled>true</enabled>
<sessiontimeout>#CreateTimeSpan(0,0,20,0)#</sessiontimeout>
<applicationtimeout>#CreateTimeSpan(2,0,0,0)#</applicationtimeout>
<j2eesession>false</j2eesession>
</cfapplication>
<cfmail>
<interval>240</interval>
<smtpserver>127.0.0.1</smtpserver>
<smtpport>25</smtpport>
<charset>UTF-8</charset>
</cfmail>
<cfmlcustomtags>
<mapping name="cf">
<directory>C:\xampp\xampp\OpenBD\customtags</directory>
<name>cf</name>
</mapping>
</cfmlcustomtags>
</server>
*********************************************************
Here is the updated section from my catalina.properties:
*********************************************************
#
#
# List of comma-separated paths defining the contents of the "common"
# classloader. Prefixes should be used to define what is the
repository type.
# Path may be relative to the CATALINA_HOME or CATALINA_BASE path or
absolute.
# If left as blank,the JVM system loader will be used as Catalina's
"common"
# loader.
# Examples:
# "foo": Add this folder as a class repository
# "foo/*.jar": Add all the JARs of the specified folder as class
# repositories
# "foo/bar.jar": Add bar.jar as a class repository
common.loader=${catalina.home}/lib,${catalina.home}/lib/*.jar,c:\xampp
\xampp\openbd\lib\*.jar
**************************************************************************
Thanx,
Steve
On May 10, 1:16 pm, Jordan Michaels <[email protected]> wrote:
> I wrote that. ;)
>
> Don't do this part until you get the port 8080 part working how you want
> it, because it adds an additional layer of complexity to your setup.
>
> Are you able to accesshttp://localhost:8080/openbd/yet?
>
> If not, then start by getting that working.
>
> I have never personally encountered this error before, so I cannot offer
> direct advice on it. However, whenever I encounter something like this,
> the first place I look is in the Tomcat logs. Those should be able to
> point you in the right direction about what happened to your deployment.
> There shouldn't be any reason (from OpenBD's perspective) for OpenBD to
> not be able to deploy as a WAR. If it's not deploying properly as a WAR,
> then there's something else afoot here. I'd check the logs and see if
> there's something unique about the XAMPP setup that's getting in the way
> of OpenBD.
>
> Hope this helps.
>
> Warm regards,
> Jordan Michaels
> Vivio Technologieshttp://www.viviotech.net/
> Open BlueDragon Steering Committee
> Railo Community Distributions
>
> On 05/10/2010 09:29 AM, Steve Of LA wrote:
>
>
>
> > Thank you, Stan.
>
> > I neglected to mention that I'm running under Windows XP.
>
> > I'm working thru these instructions:
>
> >http://wiki.openbluedragon.org/wiki/index.phpSingle_Instance_Install#...
>
> > The part I'm now looking at is the Updating OpenBD's Default Config.
> > Those instructions were written for Linux. I need to translate theme
> > to windows equivalents and work it from there.
>
> > I'll let you know the outcome.
>
> > Steve
>
> > On May 9, 3:32 pm, Stan Winchester<[email protected]> wrote:
> >> Take a look
> >> at:http://library.linode.com/web-servers/apache/proxy-configuration/mult...
>
> >> On Fri, May 7, 2010 at 5:44 PM, Steve Of LA<[email protected]> wrote:
>
> >>> Hi all,
>
> >>> I've followed these instructions to create Tomcat under Apache and
> >>> then OpenBD under that.
>
> >>> Here is what I'm getting now when I enter:http://localhost:8080/openbd/
>
> >>> ************************************
> >>> HTTP Status 503 - This application is not currently available
>
> >>> type Status report
>
> >>> message This application is not currently available
>
> >>> description The requested service (This application is not currently
> >>> available) is not currently available.
> >>> Apache Tomcat/6.0-snapshot
>
> >>> ************************************************
>
> >>> I do have this folder setup: C:\xampp\xampp\tomcat\webapps. I dropped
> >>> openbd.war into this directory and it create C:\xampp\xampp\tomcat
> >>> \webapps\openbd\(all it's stuff)
>
> >>> As a newbie, any help would be appreciated.
>
> >>> Thanx,
>
> >>> Steve
>
> >>> --
> >>> Open BlueDragon Public Mailing List
> >>> http://www.openbluedragon.org/http://twitter.com/OpenBlueDragon
> >>> mailing list -http://groups.google.com/group/openbd?hl=en
>
> >>> !! save a network - please trim replies before posting !!
>
> >> --
> >> Thank you,
> >> Aftershock Web Design, Inc.
> >> by: Stan Winchester
> >> President/Developer
> >> [email protected]http://www.aftershockweb.com/
> >> Phone 801-921-4320
> >> Toll Free 877-841-9336
> >> Fax 877-841-9342
>
> >> --
> >> Open BlueDragon Public Mailing List
> >> http://www.openbluedragon.org/http://twitter.com/OpenBlueDragon
> >> mailing list -http://groups.google.com/group/openbd?hl=en
>
> >> !! save a network - please trim replies before posting !!
>
> --
> Open BlueDragon Public Mailing List
> http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
> mailing list -http://groups.google.com/group/openbd?hl=en
>
> !! save a network - please trim replies before posting !!
--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
mailing list - http://groups.google.com/group/openbd?hl=en
!! save a network - please trim replies before posting !!