Lin Steve

Greenhorn
+ Follow
since Mar 17, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Lin Steve

Hi folks,

I have to post this question since I cannot find any real solution elsewhere.

I had tried many sugguestions on the web, but none of them work out, even though I follow those in Tomcat's offical website. The following is my software enviornment configurations, followed by the configurations on Tomcat's offical website and the errors reported by Tomcat.


Software enviornment:
OS: Windows XP pro
JDK: 1.5
Tomcat: 5.5.4
Log4j: 1.2.9
common-logging: 1.0.4


The configuration briefly:
* put log4j and common-logging jar file in Tomcat_home/common/lib directory
* put log4j.properties in Tomcat_home/common/classes directory


Reported errors:

java.lang.NoClassDefFoundError: org/apache/log4j/Layout
at org.apache.commons.logging.impl.Log4jFactory.getInstance(Log4jFactory.java:140)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:257)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:390)
at org.apache.catalina.core.StandardService.<clinit>(StandardService.java:53)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:201)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:386)

It also does NOT work, if I put log4j-1.2.9.jar in directory of WEB-INF/lib of my web app.

Can anyone help me out? Thanks
[ April 28, 2005: Message edited by: Lin Steve ]
18 years ago
Hi, folks

Could anyone tell me, or have links to info on what is good and bad in EJB2.0 in terms of performance, scalability and portability?

Thanks!
HI, folks

Could anyone tell me how to set up database connection so that Sun Java System Application Server can access Microsoft Access within a same machine?

I need to use JNDI for the communication between App Server and Access database, rather than jdbc dbc driver things like that.


Thanks in advance!
19 years ago
To Peter:

Thank you for the link, which is very helpful and informative!

I am using Sun Java Application Server 8.0 for developing EJB and Web application. The best bit about the server is that it provide a GUI for building jar file and deploying jar file, which I found very useful. However, the GUI cannot detect applications deployed by using asant, a Java-based ant application for the same role as the GUI, bulding and deploying application, etc.

Also comes with the Server is PointBase database, which is I find very primitive.

Lots of the features of the Server are easy to use via the web-based GUI and the deployment GUI.

There are not many reviews on Sun's application server other than those in java.sun.com. Links for reviews on the server from both serverwatch.com and theserverside.com are broken.



[ March 20, 2005: Message edited by: Lin Steve ]
[ March 20, 2005: Message edited by: Lin Steve ]
Hi, RAJA CHAITHANYA BANGARU,

As we know that Tomcat is Sun's offical Servlet implementation, and that Tomcat is goof enough for production line.

Because Tomcat has many good features, it has been used by other vendors as its Servlet container, e.g. JBoss use Tomcat as its Servlet container.

As to EJB container, are there any Sun's offical EJB implementaion, which is also like Tomcat, such as freely available, frequent release etc.

Are there any JBOSS supporters here, who think that JBOSS is good enough for production line, and like to share yoour opinions?

Also what about HIBERNATE? As RAJA said "HIBERNATE is going to hit the markets soon." Any Hibernate users want to share your opinions?

So far, we have several containers in discuss:

Servlet container : Tomcat the most popular container,
EJB container: any stand-alone container?
J2EE container:
* free: Jboss (using Tomcat), Hibernate, Blazix, Sun Java System Application Server
* comm: Weblogic

Have your say!
[ March 18, 2005: Message edited by: Lin Steve ]
I've got 80 on the exam today.

Thanks to K&B, and you guys who ever helped me out with EJB issues.


[ March 17, 2005: Message edited by: Lin Steve ]
19 years ago
Hi, folks,

As we know Tomcat is the best Servlet container in terms of open source, free of charge, frequent releases.

But what is the best EJB container, or the J2EE container (including EJB and Servlet container) in terms of performance? What about free J2EE container, e.g JBoss? Can you name a few of that freely available yet provide reasonable performance? And tell me what functionality you like most?

Thanks!
[ March 17, 2005: Message edited by: Lin Steve ]