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.