Dan,

 

      The Realm change did it.  It is compiling and running now.  Thank you so much.

 

Greg

 

On Mon, 8 Nov 2004 15:34:38 -0500, "Gregory Blajian" <[EMAIL PROTECTED]>

said:

> Dan,

>

>     Thanks, it seems to be a bit closer but now I get:

>

> Nov 8, 2004 3:26:50 PM org.apache.coyote.http11.Http11Protocol init

> INFO: Initializing Coyote HTTP/1.1 on port 8888 Starting service

> Tomcat-Standalone Apache Tomcat/4.1.30

> WebappClassLoader:

> 

validateJarFile(C:\Programs\orbeon-oxfstudio-full_1.0.2\studio\workspace\o

> rbeon\WEB-INF\lib\servlet-2_3-4_0_4.jar) - jar not loaded. See Servlet

> Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

 

This jar should _not_ be there.  Not sure how it got there, perhaps from an earlier failed exec of build.xml, perhaps from an earlier bogus project setup. 

 

Suggest the following :

o Make sure you're up to date wrt CVS.

o Delete the WEB-INF/lib dir. ( Where WEB-INF is the dir in the root

  of your project. )  NOTE: If you have added any of your jars here

  you will have to re-add them.

o Run the target oxf-eclipse-prepare

 

Think this should clean out any cruft that has accumlated there...

 

-- Regards, Dan S

 

> On Tue, 9 Nov 2004 07:55:49 -0500, "Gregory Blajian"

> <[EMAIL PROTECTED]>

> said:

> > Dan,

> >

> >   Almost, I think.  I deleted the entire CVS download and downloaded

> > it again.  The build went well and the server "almost" starts but I

> > get the following errors:

> >

> > catalina.log

> >

> > 2004-11-09 07:37:25 CoyoteConnector Coyote can't register jmx for

> > protocol

> >

> > localhost_log.2004-11-09.txt

> >

> > ...

> > 2004-11-09 07:37:22 WebappLoader[//orbeon]: Deploy JAR

> > /WEB-INF/lib/xsltc-2_5_1_orbeon.jar to

> > C:\Programs\orbeon-oxfstudio-full_1.0.2\studio\workspace\orbeon\WEB-

> > INF\li

> > b\xsltc-2_5_1_orbeon.jar

> > 2004-11-09 07:37:22 WebappLoader[//orbeon]: Reloading checks are

> > enabled for this Context

> > 2004-11-09 07:37:23 ContextConfig[//orbeon]: No Realm has been

> > configured to authenticate against

> > 2004-11-09 07:37:23 ContextConfig[//orbeon]: Marking this

> > application unavailable due to previous error(s)

 

By default no realm should be needed so I'll have to look into that.

 

In the meantime I think you can get around the pbm by adding

        <Realm className="org.apache.catalina.realm.MemoryRealm"/>

in the file

  /.oxfContainers/Internal Tomcat/conf/server.xml.

 

The above element should be added just before the host element.

See attached example.

 

-- Dan S

 

 

OK just tried a fresh get myself and things seemed to work.

 

Couple of notes:

o It is the case that when you get pres serv from cvs the

  authentication example isn't commented out of web.xml

  by default. ( Pretty sure that it wasn't always like this. )

 

o Above isn't a pbm if you start with an empty workspace

  and the latest studio because the current studio

  is generating server.xml with a realm specified.

  ( Memory realm )

 

-- Dan S

 

Reply via email to