Thanks for your reply! On Dec 6, 2007 7:06 PM, Adam Rybicki <[EMAIL PROTECTED]> wrote:
> John, > > Well, I was able to find the exact answer to your question. There were > many steps. Let me see if I can describe them. > > > - Based on your stack traces, I am guessing that your JBoss uses > Apache Tomcat as its Web container. If it isn't, the rest of these steps > may not work for you. > - I usually run my Tomcat with the remote management (JMX) interface > enabled. This requires that you add the following option to your java > command that launches JBoss: > > -Dcom.sun.management.jmxremote > > - This will likely enable more management interfaces than on my > system because I only run Tomcat stand-alone. Still, what you need should > also work in JBoss. > - Start the app server > - I use JDK 1.6. This should also work with 1.5. Once the app > server is running, run the following command: > > jconsole > > - This is a GUI process. There is a way to run this on a PC when > the server is remote, which involves enabling a TCP-based management > interface in the JVM running JBoss. I am assuming that you are running > both > JBoss and jconsole on the same computer with a GUI. > - When jconsole starts, it prompts you to select the java process to > manage. Select the one whose name is: > > org.apache.catalina.startup.Bootstrap start > The one process that appears (under the Local tab) is org.jboss.Main -b 0.0.0.0. As the server was started with "-b 0.0.0.0" at the end of the arguments, I went with that. Is it a problem that Catalina is not showing up, and/or is there a way I should be requesting Catalina? > > - Click Connect > - Select the MBeans tab > - Navigate to Catalina/Loader/cas/localhost/Attributes. Actually, > select Attributes. > > The tree (for org.jboss.Main) does not show Catalina when I expand it. > > - > - The value of the loaderRepositories is an array of strings. > Double-click it to expand the list. > - As an alternative, you can double-click the value of > loaderRepositoriesString. You can then copy that entire colon-separated > list and examine it by pasting it into a text editor. > > Noted. > > - > - Examine the list and look for the required jar files. > > Any clues from looking at that? > I suspect that the most relevant clue is what I (didn't) find above. > > > Adam > > Jonathan Hayward http://JonathansCorner.com wrote: > > Thank you for the note. Where should I be looking to troubleshoot the > webapps' ability to load the appropriate classes? > > On Dec 6, 2007 2:24 PM, Adam Rybicki < [EMAIL PROTECTED]> wrote: > > > Jonathan, > > > > I don't think you should be adding any of these jar files to CLASSPATH > > or JBOSS_CLASSPATH. I apologize if I misled you. > > > > The jar files, as deployed with CAS Web application itself, are already > > supposed to be "visible" to the app server because they are deployed in a > > manner that's consistent with the standard for JEE applications. Every Web > > application running on an app server usually has its own class loader, and > > the classes it loads are only "visible" within the scope of that > > application. Having these jar files accessible to a class loader other than > > the one specific to CAS server may cause additional problems. One potential > > problem that comes to mind would be with the app server's ability to > > automatically restart an application that's been redeployed. > > > > I hope that the above paragraph makes sense. This is the first time I > > have attempted to describe this in writing. ;-) > > > > Adam > > > > Jonathan Hayward http://JonathansCorner.com wrote: > > > > I found out the (immediate) problem. > > > > I was adding jars to the CLASSPATH to help JBoss find classes... but > > JBoss was looking in JBOSS_CLASSPATH and, apparently, ignoring my changes to > > the CLASSPATH. > > > > Oof. > > > > Thanks for your questions and other help, > > > > On Dec 6, 2007 10:51 AM, Jonathan Hayward http://JonathansCorner.com > > <[EMAIL PROTECTED]> > > wrote: > > > > > 11762 bytes--basically the same as yours. > > > > > > On Dec 5, 2007 5:59 PM, Dale Ogilvie <[EMAIL PROTECTED]> > > > wrote: > > > > > > > OK, but there is still the question as to why the jar has that > > > > funky extra space in the first place. It isn't a zero byte file by any > > > > chance? > > > > > > > > On my build it is a 12Kb binary. > > > > ------------------------------ > > > > *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > > ] *On Behalf Of *Adam Rybicki > > > > *Sent:* Thursday, 6 December 2007 12:06 p.m. > > > > *To:* Yale CAS mailing list > > > > *Subject:* Re: Username/password authentication > > > > > > > > The file name should not matter, as every file with the .jar > > > > extension in that directory should be in CLASSPATH. > > > > > > > > Adam > > > > > > > > dale77 wrote: > > > > > > > > Are my eyes deceiving me, or is there an extra space in a critical file > > > > name? > > > > "cas- server-support-ldap-3.1.1.jar"? > > > > > > > > > > > > scott_battaglia wrote: > > > > > > > > > > > > Unless he's corrected his ClassNotFound problem, he is still having > > > > classpath issues. > > > > > > > > Unfortunately, I'm not familiar with deploying CAS on anything other > > > > than > > > > Tomcat ;-) > > > > > > > > -Scott > > > > > > > > > > > > > > > > > > > > Jonathan Hayward http://JonathansCorner.com wrote: > > > > > > > > > > > > WEB-INF/lib/cas- server-support-ldap-3.1.1.jar > > > > > > > > > > > > _______________________________________________ > > > > Yale CAS mailing list > > > > [email protected] > > > > http://tp.its.yale.edu/mailman/listinfo/cas > > > > > > > > > > > > > > > > > -- > > > ++ Jonathan Hayward, [EMAIL PROTECTED] > > > ** To see an award-winning website with stories, essays, artwork, > > > ** games, and a four-dimensional maze, why not visit my home page? > > > ** All of this is waiting for you at http://JonathansCorner.com > > > > > > > > > > > -- > > ++ Jonathan Hayward, [EMAIL PROTECTED] > > ** To see an award-winning website with stories, essays, artwork, > > ** games, and a four-dimensional maze, why not visit my home page? > > ** All of this is waiting for you at http://JonathansCorner.com > > > > ------------------------------ > > > > _______________________________________________ > > Yale CAS mailing [EMAIL PROTECTED]://tp.its.yale.edu/mailman/listinfo/cas > > > > > > _______________________________________________ > > Yale CAS mailing list > > [email protected] > > http://tp.its.yale.edu/mailman/listinfo/cas > > > > > > > -- > ++ Jonathan Hayward, [EMAIL PROTECTED] > ** To see an award-winning website with stories, essays, artwork, > ** games, and a four-dimensional maze, why not visit my home page? > ** All of this is waiting for you at http://JonathansCorner.com > > ------------------------------ > > _______________________________________________ > Yale CAS mailing [EMAIL PROTECTED]://tp.its.yale.edu/mailman/listinfo/cas > > > _______________________________________________ > Yale CAS mailing list > [email protected] > http://tp.its.yale.edu/mailman/listinfo/cas > > -- ++ Jonathan Hayward, [EMAIL PROTECTED] ** To see an award-winning website with stories, essays, artwork, ** games, and a four-dimensional maze, why not visit my home page? ** All of this is waiting for you at http://JonathansCorner.com
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
