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"/>