cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
816
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11

Subject: Re: New Message from Eric Tanney in Customer Voice Portal (CVP) - General D
Replied by: Janine Graves on 30-03-2010 02:46:40 PM
The URL http://localhost:7000/admin means that you are trying to start
up Tomcat's 'admin' tool, the web-browser based tool for administering
to Tomcat. Why are you trying to start the admin tool? You can configure
Tomcat's server.xml file to use email manually with a text editor. the
filw is in Tomcat\conf\server.xml

If you want to use the admin tool then you should install it as listed
below.

ALLOW USE OF TOMCAT ADMIN TOOL
1.  Copy admin.xml into Tomcat\conf\Catalina\localhost
2.  Copy the admin folder in Tomcat\server\webapps
3.  Add a new user, with roles of admin and manager to
Tomcat\conf\tomcat-users.xml

Cisco Developer Community Forums wrote:
> Eric Tanney has created a new message in the forum "General Discussion
> - All Versions":
>
> --------------------------------------------------------------
> Hi,
>
> We are currently using an email element (successfully). I need to
> change the server to a new Exchange 07 device. I went into
> \Cisco\CVP\VXMLServer\Tomcat\conf and updated the server.xml file to
> reference the new server. I then rebooted the server, re-deployed my
> application, and am getting a java linkage error.
> Â
> I've searched the boards and found a post stating the instructions how
> to do this...
> ALLOW USE OF TOMCAT ADMIN TOOL
> 1.  Copy admin.xml into Tomcat\conf\Catalina\localhost
> 2.  Copy the admin folder in Tomcat\server\webapps
> 3.  Add a new user, with roles of admin and manager to
> Tomcat\conf\tomcat-users.xml
> ADD NEW MAIL SESSION
> 1.  Copy mail.jar and activation.jar Tomcat\common\lib
> 2.  Restart VXML Server
> 3.  Login to Tomcat Admin <a>http://localhost:7000/admin</a>]
> 4.  Go to Tomcat Server\Service (Catalina)\Host (localhost)\Context
> (/CVP)\Resources\Mail Sessions
> 5.  Select create new mail session, under name enter "mail/Session",
> under mail.smtp.host enter "yourhost.mail.com"
> 6.  Click save, then click commit changes, close Tomcat Admin
> 7.  In the email element of the VXML app, make the JNDI name "Session"
> 8.  Restart VXML Server
> 9.  Deploy app and test, all works.
> Â
> I skipped the first steps of initial set up, as email is already
> working so I shouldn't have to set permissions (correct?).
> When I navigate to <a>http://localhost:7000/admin</a>Â I am returned a
> page saying "
> Tomcat's administration web application is no longer installed by
> default. Download and install the "admin" package to use it. ". I am
> on CVPÂ 7.
> Â
> Does anyone know if there is a piece I'm missing? I looked in my
> web.xml file and cannot seem to locate tanything referencing a
> mismatch. Any help would be greatly appreciated!!!
> Â
> -Eric
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2079425>
>
> or simply reply to this email.
This document was generated from CDN thread

Created by: Eric Tanney on 30-03-2010 02:16:42 PM
Hi,

We are currently using an email element (successfully). I need to change the server to a new Exchange 07 device. I went into \Cisco\CVP\VXMLServer\Tomcat\conf and updated the server.xml file to reference the new server. I then rebooted the server, re-deployed my application, and am getting a java linkage error.
 
I've searched the boards and found a post stating the instructions how to do this...
ALLOW USE OF TOMCAT ADMIN TOOL
1.  Copy admin.xml into Tomcat\conf\Catalina\localhost
2.  Copy the admin folder in Tomcat\server\webapps
3.  Add a new user, with roles of admin and manager to Tomcat\conf\tomcat-users.xml
ADD NEW MAIL SESSION
1.  Copy mail.jar and activation.jar Tomcat\common\lib
2.  Restart VXML Server
3.  Login to Tomcat Admin <a>http://localhost:7000/admin</a>]
4.  Go to Tomcat Server\Service (Catalina)\Host (localhost)\Context (/CVP)\Resources\Mail Sessions
5.  Select create new mail session, under name enter "mail/Session", under mail.smtp.host enter "yourhost.mail.com"
6.  Click save, then click commit changes, close Tomcat Admin
7.  In the email element of the VXML app, make the JNDI name "Session"
8.  Restart VXML Server
9.  Deploy app and test, all works.
 
I skipped the first steps of initial set up, as email is already working so I shouldn't have to set permissions (correct?).
When I navigate to <a>http://localhost:7000/admin</a> I am returned a page saying "
Tomcat's administration web application is no longer installed by default. Download and install the "admin" package to use it. ". I am on CVP 7.
 
Does anyone know if there is a piece I'm missing? I looked in my web.xml file and cannot seem to locate tanything referencing a mismatch. Any help would be greatly appreciated!!!
 
-Eric

Subject: RE: Re: New Message from Eric Tanney in Customer Voice Portal (CVP) - Gener
Replied by: Eric Tanney on 30-03-2010 02:53:15 PM
I didn't want to use Tomcat's admin tool. I was just going off those steps to make sure I had bases in order.

I modified the server.xml file in that directory and am still getting the linkage error after a reboot/redeploy.

Here is what my server.xml looks like (I am referencing hsmail in the JNDI name):
 
<?xml version="1.0" encoding="UTF-8" ?>
- <Server>
<Listener className="org.apache.catalina.core.AprLifecycleListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener" />
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
- <GlobalNamingResources>
<Environment name="simpleValue" type="java.lang.Integer" value="30" />
<Resource auth="Container" description="User database that can be updated and saved" name="UserDatabase" type="org.apache.catalina.UserDatabase" pathname="conf/tomcat-users.xml" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" />
</GlobalNamingResources>
- <Service name="Catalina">
<Connector port="7000" redirectPort="8443" minSpareThreads="25" connectionTimeout="20000" maxSpareThreads="75" maxThreads="150" />
<Connector port="8009" redirectPort="8443" connectionTimeout="-1" protocol="AJP/1.3" />
- <Engine defaultHost="localhost" name="Catalina">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm" />
- <Host appBase="webapps" name="localhost">
- <Context path="/CVP">
<Resource name="mail/hsmail" type="javax.mail.Session" mail.smtp.host="hstnhub01.healthspring.inside" />
</Context>
</Host>
</Engine>
</Service>
</Server>
 
 

Subject: Re: New Message from Eric Tanney in Customer Voice Portal (CVP) - General D
Replied by: Janine Graves on 30-03-2010 03:02:40 PM
Eric,
Did you have to modify the file web.xml at all? I have a note from
previous student doing email, that he got the linkage error until he
made sure that he'd only used  the "tomcat\conf\web.xml"and
"tomcat\conf\server.xml"

DO NOT use  C:\Cisco\CVP\VXMLServer\Tomcat\webapps\CVP\WEB-INF\web.xml

In the web.xml add
          <Resource
            name="mail/hsmail"
            type="javax.mail.Session"
            mail.smtp.host=IPaddress/>



Cisco Developer Community Forums wrote:
> Eric Tanney has created a new message in the forum "General Discussion
> - All Versions":
>
> --------------------------------------------------------------
> I didn't want to use Tomcat's admin tool. I was just going off those
> steps to make sure I had bases in order.
>
> I modified the server.xml file in that directory and am still getting
> the linkage error after a reboot/redeploy.
>
> Here is what my server.xml looks like (I am referencing hsmail in the
> JNDI name):
> Â
> <?xml version="1.0" encoding="UTF-8" ?>
> - <http://developer.cisco.com/html/js/editor/#> <Server>
> <Listener className="*org.apache.catalina.core.AprLifecycleListener*" />
> <Listener
> className="*org.apache.catalina.mbeans.GlobalResourcesLifecycleListener*"
> />
> <Listener
> className="*org.apache.catalina.storeconfig.StoreConfigLifecycleListener*"
> />
> <Listener
> className="*org.apache.catalina.mbeans.ServerLifecycleListener*" />
> - <http://developer.cisco.com/html/js/editor/#> <GlobalNamingResources>
> <Environment name="*simpleValue*" type="*java.lang.Integer*"
> value="*30*" />
> <Resource auth="*Container*" description="*User database that can be
> updated and saved*" name="*UserDatabase*"
> type="*org.apache.catalina.UserDatabase*"
> pathname="*conf/tomcat-users.xml*"
> factory="*org.apache.catalina.users.MemoryUserDatabaseFactory*" />
> </GlobalNamingResources>
> - <http://developer.cisco.com/html/js/editor/#> <Service
> name="*Catalina*">
> <Connector port="*7000*" redirectPort="*8443*" minSpareThreads="*25*"
> connectionTimeout="*20000*" maxSpareThreads="*75*" maxThreads="*150*" />
> <Connector port="*8009*" redirectPort="*8443*"
> connectionTimeout="*-1*" protocol="*AJP/1.3*" />
> - <http://developer.cisco.com/html/js/editor/#> <Engine
> defaultHost="*localhost*" name="*Catalina*">
> <Realm className="*org.apache.catalina.realm.UserDatabaseRealm*" />
> - <http://developer.cisco.com/html/js/editor/#> <Host
> appBase="*webapps*" name="*localhost*">
> - <http://developer.cisco.com/html/js/editor/#> <Context path="*/CVP*">
> <Resource name="*mail/hsmail*" type="*javax.mail.Session*"
> mail.smtp.host="*hstnhub01.healthspring.inside*" />
> </Context>
> </Host>
> </Engine>
> </Service>
> </Server>



> Â
> Â
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2079491>
>
> or simply reply to this email.

Subject: Re: New Message from Eric Tanney in Customer Voice Portal (CVP) - General D
Replied by: Janine Graves on 30-03-2010 03:04:40 PM
Eric,
If you still have the error, then you may ALSO need to modify the
server.xml as follows:

add this at the bottom (not important I think) of the file before "</web-app>"

   <!-- THIS IS FOR CVP EMAIL ELEMENT -->
   <resource-ref>
        <description>
Resource reference to a factory for javax.mail.Session instances that may be used for sending electronic mail messages, preconfigured to connect to the appropriate SMTP server.
         </description>
         <res-ref-name>mail/hsmail</res-ref-name>
         <res-type>javax.mail.Session</res-type>
         <res-auth>Container</res-auth>
   </resource-ref>
</web-app>






Cisco Developer Community Forums wrote:
> Eric Tanney has created a new message in the forum "General Discussion
> - All Versions":
>
> --------------------------------------------------------------
> I didn't want to use Tomcat's admin tool. I was just going off those
> steps to make sure I had bases in order.
>
> I modified the server.xml file in that directory and am still getting
> the linkage error after a reboot/redeploy.
>
> Here is what my server.xml looks like (I am referencing hsmail in the
> JNDI name):
> Â
> <?xml version="1.0" encoding="UTF-8" ?>
> - <http://developer.cisco.com/html/js/editor/#> <Server>
> <Listener className="*org.apache.catalina.core.AprLifecycleListener*" />
> <Listener
> className="*org.apache.catalina.mbeans.GlobalResourcesLifecycleListener*"
> />
> <Listener
> className="*org.apache.catalina.storeconfig.StoreConfigLifecycleListener*"
> />
> <Listener
> className="*org.apache.catalina.mbeans.ServerLifecycleListener*" />
> - <http://developer.cisco.com/html/js/editor/#> <GlobalNamingResources>
> <Environment name="*simpleValue*" type="*java.lang.Integer*"
> value="*30*" />
> <Resource auth="*Container*" description="*User database that can be
> updated and saved*" name="*UserDatabase*"
> type="*org.apache.catalina.UserDatabase*"
> pathname="*conf/tomcat-users.xml*"
> factory="*org.apache.catalina.users.MemoryUserDatabaseFactory*" />
> </GlobalNamingResources>
> - <http://developer.cisco.com/html/js/editor/#> <Service
> name="*Catalina*">
> <Connector port="*7000*" redirectPort="*8443*" minSpareThreads="*25*"
> connectionTimeout="*20000*" maxSpareThreads="*75*" maxThreads="*150*" />
> <Connector port="*8009*" redirectPort="*8443*"
> connectionTimeout="*-1*" protocol="*AJP/1.3*" />
> - <http://developer.cisco.com/html/js/editor/#> <Engine
> defaultHost="*localhost*" name="*Catalina*">
> <Realm className="*org.apache.catalina.realm.UserDatabaseRealm*" />
> - <http://developer.cisco.com/html/js/editor/#> <Host
> appBase="*webapps*" name="*localhost*">
> - <http://developer.cisco.com/html/js/editor/#> <Context path="*/CVP*">
> <Resource name="*mail/hsmail*" type="*javax.mail.Session*"
> mail.smtp.host="*hstnhub01.healthspring.inside*" />
> </Context>
> </Host>
> </Engine>
> </Service>
> </Server>
> Â
> Â
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2079491>
>
> or simply reply to this email.

Subject: RE: Re: New Message from Eric Tanney in Customer Voice Portal (CVP) - Gener
Replied by: Bill Webb on 30-03-2010 03:48:29 PM
Seems like there are a lot of little things that may or may not be needed to make the Email element work correctly!!
 
I'm not sure if this one is relevant, since you claim email was already working, but we recently upgraded a customer from CVP 3.1 with working email elements to 7.0(2), and after lots of troubleshooting and research, I ended up replacing the Tomcat "naming-factory.jar" that installs with CVP with the one from the latest 5.5 build from the Apache Tomcat site.
 
This was partly driven by some posts I found on an older topic:
 
http://developer.cisco.com/web/cvp/forums/-/message_boards/message/1828965;jsessionid=789C3E413607C84790F9AB9992A96374.liferay-portal2
 
 - Bill

Subject: RE: Re: New Message from Eric Tanney in Customer Voice Portal (CVP) - Gener
Replied by: Eric Tanney on 30-03-2010 04:07:52 PM
Janine - where in the web.xml file should I put that string? Does is matter? I noticed some posts which mentioned the tags have to be sequential. As for adding the pther sting to the server.xml file, I can't seem to find /web-apps. The only mention of webapps in that file is "  appBase="webapps".

Bill - You not kidding. Seems like this email element isn't as smooth as Cisco transitioned. We didn't do an upgrade, we're simply updating a server DNS. Do oyu think I should still update the .jar? I don't want any other reprecussions to come out of that...

Thanks a lot for all your help!

Subject: RE: Re: New Message from Eric Tanney in Customer Voice Portal (CVP) - Gener
Replied by: Janine Graves on 30-03-2010 04:26:14 PM
I have in my notes that in the server.xml file you need the following. I think you're missing the auth="Container" part of this.
<Context path="/CVP">
<Resource name="mail/TestMail"
     auth="Container"
     type="javax.mail.Session"
     mail.smtp.host="your SMTP Server"/>
</Context>
 
 

Subject: Re: New Message from Eric Tanney in Customer Voice Portal (CVP) - General D
Replied by: Janine Graves on 30-03-2010 04:33:40 PM
Eric,

I think my student had those 2 entries reversed. I think you should add
this to server.xml:
<Resource   name="mail/hsemail"  type="javax.mail.Session" 
mail.smtp.host="170.192.110.146" Container="auth"/>

And add this to web.xml just above the closing </web-app> tag at the bottom:
   <!-- THIS IS FOR CVP EMAIL ELEMENT -->
   <resource-ref>
        <description> Resource reference to a factory for
javax.mail.Session . . . </description>
         <res-ref-name>mail/PSEemail</res-ref-name>
         <res-type>javax.mail.Session</res-type>
         <res-auth>Container</res-auth>
   </resource-ref>
</web-app>



Cisco Developer Community Forums wrote:
> Eric Tanney has created a new message in the forum "General Discussion
> - All Versions":
>
> --------------------------------------------------------------
> Janine - where in the web.xml file should I put that string? Does is
> matter? I noticed some posts which mentioned the tags have to be
> sequential. As for adding the pther sting to the server.xml file, I
> can't seem to find /web-apps. The only mention of webapps in that file
> is "  appBase="webapps".
>
> Bill - You not kidding. Seems like this email element isn't as smooth
> as Cisco transitioned. We didn't do an upgrade, we're simply updating
> a server DNS. Do oyu think I should still update the .jar? I don't
> want any other reprecussions to come out of that...
>
> Thanks a lot for all your help!
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2079814>
>
> or simply reply to this email.

Subject: RE: Re: New Message from Eric Tanney in Customer Voice Portal (CVP) - Gener
Replied by: Eric Tanney on 30-03-2010 04:55:32 PM
So after all this, I should reboot the server, correct?
 
Eric,

I think my student had those 2 entries reversed. I think you should add
this to server.xml:
<Resource name="mail/hsemail" type="javax.mail.Session"
mail.smtp.host="170.192.110.146" Container="auth"/>

And add this to web.xml just above the closing </web-app> tag at the bottom:
<!-- THIS IS FOR CVP EMAIL ELEMENT -->
<resource-ref>
<description> Resource reference to a factory for
javax.mail.Session . . . </description>
<res-ref-name>mail/PSEemail</res-ref-name>
<res-type>javax.mail.Session</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>



Cisco Developer Community Forums wrote:
> Eric Tanney has created a new message in the forum "General Discussion
> - All Versions":
>
> --------------------------------------------------------------
> Janine - where in the web.xml file should I put that string? Does is
> matter? I noticed some posts which mentioned the tags have to be
> sequential. As for adding the pther sting to the server.xml file, I
> can't seem to find /web-apps. The only mention of webapps in that file
> is "Â appBase="webapps".
>
> Bill - You not kidding. Seems like this email element isn't as smooth
> as Cisco transitioned. We didn't do an upgrade, we're simply updating
> a server DNS. Do oyu think I should still update the .jar? I don't
> want any other reprecussions to come out of that...
>
> Thanks a lot for all your help!
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2079814>
>
> or simply reply to this email.


Subject: Re: New Message from Eric Tanney in Customer Voice Portal (CVP) - General D
Replied by: Janine Graves on 30-03-2010 04:58:40 PM
yeah

Cisco Developer Community Forums wrote:
> Eric Tanney has created a new message in the forum "General Discussion
> - All Versions":
>
> --------------------------------------------------------------
> So after all this, I should reboot the server, correct?
> Â
> Eric,
>
> I think my student had those 2 entries reversed. I think you should add
> this to server.xml:
> <Resource name="mail/hsemail" type="javax.mail.Session"
> mail.smtp.host="170.192.110.146" Container="auth"/>
>
> And add this to web.xml just above the closing </web-app> tag at the
> bottom:
> <!-- THIS IS FOR CVP EMAIL ELEMENT -->
> <resource-ref>
> <description> Resource reference to a factory for
> javax.mail.Session . . . </description>
> <res-ref-name>mail/PSEemail</res-ref-name>
> <res-type>javax.mail.Session</res-type>
> <res-auth>Container</res-auth>
> </resource-ref>
> </web-app>
>
>
>
> Cisco Developer Community Forums wrote:
> > Eric Tanney has created a new message in the forum "General Discussion
> > - All Versions":
> >
> > --------------------------------------------------------------
> > Janine - where in the web.xml file should I put that string? Does is
> > matter? I noticed some posts which mentioned the tags have to be
> > sequential. As for adding the pther sting to the server.xml file, I
> > can't seem to find /web-apps. The only mention of webapps in that file
> > is "ÿ appBase="webapps".
> >
> > Bill - You not kidding. Seems like this email element isn't as smooth
> > as Cisco transitioned. We didn't do an upgrade, we're simply updating
> > a server DNS. Do oyu think I should still update the .jar? I don't
> > want any other reprecussions to come out of that...
> >
> > Thanks a lot for all your help!
> > --
> > To respond to this post, please click the following link:
> >
> >
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2079814>
> >
> > or simply reply to this email.
>
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2079959>
>
> or simply reply to this email.

Subject: RE: Re: New Message from Eric Tanney in Customer Voice Portal (CVP) - Gener
Replied by: Eric Tanney on 05-04-2010 02:35:02 PM
Turns out this issue was a little deeper than the surface. I started from scratch, updating all the files (activation.jar, etc.) with nosuch luck. I checked our other box and noticed a significant amount of files which weren't present in the non-working server (smtp.jar, pop.jar, etc.). I copied the entire Tomcat directory from the good box to the non-working box and resolved this issue. I think that box was just FUBAR'd...
 
 
 
 
 
 
 
yeah

Cisco Developer Community Forums wrote:
> Eric Tanney has created a new message in the forum "General Discussion
> - All Versions":
>
> --------------------------------------------------------------
> So after all this, I should reboot the server, correct?
> Â
> Eric,
>
> I think my student had those 2 entries reversed. I think you should add
> this to server.xml:
> <Resource name="mail/hsemail" type="javax.mail.Session"
> mail.smtp.host="170.192.110.146" Container="auth"/>
>
> And add this to web.xml just above the closing </web-app> tag at the
> bottom:
> <!-- THIS IS FOR CVP EMAIL ELEMENT -->
> <resource-ref>
> <description> Resource reference to a factory for
> javax.mail.Session . . . </description>
> <res-ref-name>mail/PSEemail</res-ref-name>
> <res-type>javax.mail.Session</res-type>
> <res-auth>Container</res-auth>
> </resource-ref>
> </web-app>
>
>
>
> Cisco Developer Community Forums wrote:
> > Eric Tanney has created a new message in the forum "General Discussion
> > - All Versions":
> >
> > --------------------------------------------------------------
> > Janine - where in the web.xml file should I put that string? Does is
> > matter? I noticed some posts which mentioned the tags have to be
> > sequential. As for adding the pther sting to the server.xml file, I
> > can't seem to find /web-apps. The only mention of webapps in that file
> > is "ÿ appBase="webapps".
> >
> > Bill - You not kidding. Seems like this email element isn't as smooth
> > as Cisco transitioned. We didn't do an upgrade, we're simply updating
> > a server DNS. Do oyu think I should still update the .jar? I don't
> > want any other reprecussions to come out of that...
> >
> > Thanks a lot for all your help!
> > --
> > To respond to this post, please click the following link:
> >
> >
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2079814>
> >
> > or simply reply to this email.
>
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2079959>
>
> or simply reply to this email.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links