Sorry... missing the tute URL... http://ipggi.wordpress.com/2009/03/27/install-open-bluedragon-on-a-simple-barebones-ubuntu-server-linux-within-a-sun-vm-virtual-box-virtual-machine/
On Fri, Feb 15, 2013 at 12:27 PM, Professor <[email protected]> wrote: > Still having no joy getting the Exchange plugin to work. > > I zarched the server down to the ground, and reinstalled Ubuntu 12.10. > Instead of using the server installation options for the LAMP and Tomcat > packages, I installed bare bones, with just SSH. Then followed the tute > here to the letter, starting at the first > > sudo apt-get -y update > > Since I'm not standing up a virtual box. Using Tomcat 6 as directed, but > using Java 7 JRE. > > Got everything up and running. BD serves CFML perfectly. But I copied the > plugin JAR to WEB-INF/lib, restarted, and I'm still getting > > java.lang.NoClassDefFoundError: org/apache/http/auth/Credentials > at > net.aw20.openbd.plugins.exchange.functions.ExchangeOpenConnection.execute(Unknown > Source) > at com.naryx.tagfusion.cfm.parser.CFFunctionExpression.Eval(Unknown > Source) > at com.naryx.tagfusion.cfm.parser.CFExpression.Exec(Unknown Source) > at > com.naryx.tagfusion.cfm.parser.script.CFExpressionStatement.Exec(Unknown > Source) > at com.naryx.tagfusion.cfm.parser.script.CFCompoundStatement.Exec( > Unknown Source) > at com.naryx.tagfusion.cfm.parser.runTime.run(Unknown Source) > at com.naryx.tagfusion.cfm.tag.cfSCRIPT.render(Unknown Source) > at com.naryx.tagfusion.cfm.tag.cfTag.coreRender(Unknown Source) > at com.naryx.tagfusion.cfm.tag.cfTag.render(Unknown Source) > at com.naryx.tagfusion.cfm.file.cfFile.render(Unknown Source) > at com.naryx.tagfusion.cfm.engine.cfSession.onRequest(Unknown Source) > at com.naryx.tagfusion.cfm.engine.cfEngine.service(Unknown Source) > at com.naryx.tagfusion.cfm.cfServlet.service(Unknown Source) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > com.newatlanta.filters.SearchEngineFriendlyURLFilter.doFilter(Unknown Source) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606) > at > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) > at java.lang.Thread.run(Thread.java:722) > Caused by: java.lang.ClassNotFoundException: org.apache.http.auth.Credentials > at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) > at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) > ... 29 more > > > Absolutely positive I restarted Tomcat, and then also bounced the box > itself just to be sure. > > Anybody have ANY pointers? > I'm at a loss. > > REALLY need to get this working. > > Thanks! > -Carl > > > > > On Thu, Feb 7, 2013 at 4:49 PM, Professor <[email protected]> wrote: > >> Well... I did go ahead and install the httpclient-4.0 and httpcore-4.0.1 >> jars into the tomcat WEB-INF, and that did, indeed, get rid of the error on >> the ExchangeOpenConnection(). That call now executes without incident. >> >> Except, I don't seem to be able to do anything else once I have the >> connection. >> >> ExchangeFindFolders( connection = "connExchange", parentfolder = >> "msgfolderroot" ); >> and any other methods I've tried all result in >> >> java.lang.NoSuchMethodError: >> jcifs.ntlmssp.Type3Message.(Ljcifs/ntlmssp/Type2Message;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V >> at net.aw20.msexchange.ntlm.JCIFSEngine.generateType3Msg(Unknown Source) at >> org.apache.http.impl.auth.NTLMScheme.authenticate(NTLMScheme.java:135) >> : >> etc >> >> I did also install the jcifs-1.2.9.jar, but that hasn't cleaned up this >> most recent error. >> >> I'm also unable to dump the connExchange... reports back the the >> variable doesn't exist. And I'm also unable to >> ExchangeCloseConnection("connExchange").. same issue. >> >> Feeling like something didn't get set up right during the initial >> Apache/Tomcat install, and it's time to scrap and start over. But how do I >> insure that the HTTP and JCIFS classes are in place? And am I digging in >> the right place? >> >> Doesn't seem like it should be this hard. >> >> >> >> >> On Thu, Feb 7, 2013 at 9:51 AM, Professor <[email protected]> wrote: >> >>> Nope... bouncing the server did nothing for the issue. >>> >>> You mentioned the class definition, though, which got me digging a >>> little deeper in the error message, and came on this: >>> >>> Caused by: java.lang.ClassNotFoundException: >>> org.apache.http.auth.Credentials >>> at >>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714) >>> at >>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559) >>> >>> >>> Does this mean that the problem isn't really in the Exchange plugin at >>> all, but the auth.Credentials class (which I assume is in Apache itself)?? >>> How could that be? Is there another jar that I should be looking for? Or am >>> I interpreting all wrong? >>> >>> >>> >>> >>> >>> On Thu, Feb 7, 2013 at 9:43 AM, Professor <[email protected]> wrote: >>> >>>> I'm on Ubuntu server 12.10. >>>> The openbdplugin-exchange.jar is in >>>> /var/lib/tomcat7/webapps/ROOT/WEB-INF/lib, along with the >>>> OpenBlueDragon.jar, etc. >>>> Yes, I've restarted Tomcat several times. Even restarted Apache itself >>>> a time or two. >>>> >>>> If I crack open /tmp/openbd81/bluedragon.log, I do see >>>> >>>> PlugIn.Load.Installed: >>>> net.aw20.openbd.plugins.exchange.ExchangePlugin; ExchangePlugin; >>>> Version=0.0.0 >>>> >>>> Seems like it's loading... though the version number looks a little >>>> suspect. >>>> >>>> I'll try actually bouncing the physical hardware just to see if that >>>> clears anything up. But I'm pretty sure everything is where it's supposed >>>> to be. >>>> >>>> >>>> On Wed, Feb 6, 2013 at 10:17 PM, Alan Holden <[email protected]> wrote: >>>> >>>>> ** >>>>> >>>>> It looks to me like the class definition is not being found at all. >>>>> >>>>> Are you sure the jars are in the correct place, and did you restart >>>>> the service? >>>>> >>>>> --- >>>>> Al Holden >>>>> >>>>> >>>>> On 2013-02-06 20 <2013-02-0620>:36, Carl Steinhilber wrote: >>>>> >>>>> Thank you, Alan, for pointing me to the MS Exchange >>>>> plugin<https://groups.google.com/forum/#!topic/openbd/pFhCE38F_gM>. >>>>> I successfully downloaded and got it installed. But I'm now getting an >>>>> error that I'm having trouble pinpointing. >>>>> Performing the initial connection open: >>>>> >>>>> ExchangeOpenConnection( >>>>> connection="connExchange", >>>>> url="https://email.mydomain.com/EWS/exchange.asmx", >>>>> domain="mydomain", >>>>> username = "username", >>>>> password = "userpassword" >>>>> ); >>>>> >>>>> I get an error: >>>>> >>>>> java.lang.NoClassDefFoundError: org/apache/http/auth/Credentials >>>>> at >>>>> net.aw20.openbd.plugins.exchange.functions.ExchangeOpenConnection.execute(Unknown >>>>> Source) >>>>> at com.naryx.tagfusion.cfm.parser.CFFunctionExpression.Eval(Unknown >>>>> Source) >>>>> at com.naryx.tagfusion.cfm.parser.CFExpression.Exec(Unknown Source) >>>>> at >>>>> com.naryx.tagfusion.cfm.parser.script.CFExpressionStatement.Exec(Unknown >>>>> Source) >>>>> at >>>>> com.naryx.tagfusion.cfm.parser.script.CFCompoundStatement.Exec(Unknown >>>>> Source) >>>>> : >>>>> etc >>>>> >>>>> It looks like it's complaining about the credentials, but when I visit >>>>> the EWA URL directly in a browser and login using the same login/password >>>>> as I'm trying to use in ExchangeOpenConnection, I'm able to get in with no >>>>> problem and get back the WSDL. >>>>> Where else can I start looking to troubleshoot? >>>>> >>>>> Also, as an aside, I appears that, unlike the CFEXCHANGE tags in >>>>> ColdFusion, there is no facility in the BD Exchange plugin to pull the >>>>> calendar from a different mailbox than the logged in user. Is that true? >>>>> I'm trying to build an application that can pull a number of different >>>>> calendar's from a number of different users/mailboxes. The auth'd user of >>>>> the connection has permissions to view all pertinent calendars, but it >>>>> doesn't look like ExchangeGetAllCalendarItems() lets me target any mailbox >>>>> other than the one that the connection is logged in as. >>>>> >>>>> Any pointers would be appreciated! >>>>> Thanks, >>>>> -Carl >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> -- >>>>> online documentation: http://openbd.org/manual/ >>>>> http://groups.google.com/group/openbd?hl=en >>>>> >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Open BlueDragon" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> For more options, visit https://groups.google.com/groups/opt_out. >>>>> >>>>> >>>>> >>>>> -- >>>>> -- >>>>> online documentation: http://openbd.org/manual/ >>>>> http://groups.google.com/group/openbd?hl=en >>>>> >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Open BlueDragon" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> For more options, visit https://groups.google.com/groups/opt_out. >>>>> >>>>> >>>>> >>>> >>>> >>> >> > -- -- online documentation: http://openbd.org/manual/ http://groups.google.com/group/openbd?hl=en --- You received this message because you are subscribed to the Google Groups "Open BlueDragon" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
