Java-Tomcat and axis

Source: Internet
Author: User

It's almost becoming Weibo. Record the following two problems:

1. org. Apache. axis. Client. Service:

Compile a project and call Org. apache. axis. client. service = new Org. apache. axis. client. service (); when there are no key packages to be imported, the call always jumps out without any preset exceptions. I searched the internet a little and it seems that there is no complete solution, so I had to add the jar packages one by one, finally, several locks are locked:

Axis. jar, commons-discovery-0.2, commons-httpclient-3.1, jaxen-full, jaxrpc

2. tomcat5 data source Configuration:

I found an error when using the data source jnid/Moni during application deployment today. I found that the configuration of JNDI/Moni needs to be added to context. XML, and I thought it was configured in server. xml:

<Resource
Name = "JDBC/Moni"
Type = "javax. SQL. datasource"
Username = "username"
Maxidle = "5"
Maxwait = "500"
Maxactive = "200"
Driverclassname = "oracle. JDBC. oracledriver"
Password = "password"
Url = "JDBC: oracle: thin: @ IP: 1521: Sid"/>

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.