Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-26-2009, 02:58 PM
|
#1
|
Member
Registered: Aug 2008
Location: Yemen
Distribution: Fedora, CentOS, RedHat , OpenFiler, ESXI
Posts: 225
Rep:
|
JAVA ?
hi to all ,
i have a question , i was installing a webapplication that runs on Java . and i was asked to download and install "Java 2 SDK version 5.0 or above"
now i sent to Java's site and there is like 10 kinds ???
which one is it ??
and + A security patch, Java Cryptography Extension (JCE) ??
sorry but iam new to Java ?
Regards,
MaaS
|
|
|
03-26-2009, 03:18 PM
|
#2
|
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Rep: 
|
All you probably need is "Java 2 Standard Edition (J2SE) Runtime".
Do this and you should be fine (the link has the steps, screenshots, and direct shortcuts to the J2EE runtime download itself):
http://www.java.com/en/download/help/5000010500.xml
'Hope that helps .. PSM
PS:
Please post back if you have any questions, or encounter any problems.
|
|
|
03-26-2009, 03:38 PM
|
#3
|
Member
Registered: Aug 2008
Location: Yemen
Distribution: Fedora, CentOS, RedHat , OpenFiler, ESXI
Posts: 225
Original Poster
Rep:
|
Quote:
Originally Posted by paulsm4
All you probably need is "Java 2 Standard Edition (J2SE) Runtime".
Do this and you should be fine (the link has the steps, screenshots, and direct shortcuts to the J2EE runtime download itself):
http://www.java.com/en/download/help/5000010500.xml
'Hope that helps .. PSM
PS:
Please post back if you have any questions, or encounter any problems.
|
thanks for the reply . but what is the security patch , and is this version of java is installed in Fedora 8 by default ?
thanx
|
|
|
03-26-2009, 05:50 PM
|
#4
|
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Rep: 
|
Quote:
thanks for the reply . but what is the security patch , and is this version of java is installed in Fedora 8 by default?
|
For most apps, the JRE I described above is all you need.
If your app needs something extra ... then you need to tell us exactly what your app is, and what it says it needs. Feel free to cut/paste from the app's README.
|
|
|
03-26-2009, 06:40 PM
|
#5
|
Member
Registered: Aug 2008
Location: Yemen
Distribution: Fedora, CentOS, RedHat , OpenFiler, ESXI
Posts: 225
Original Poster
Rep:
|
Quote:
Originally Posted by paulsm4
For most apps, the JRE I described above is all you need.
If your app needs something extra ... then you need to tell us exactly what your app is, and what it says it needs. Feel free to cut/paste from the app's README.
|
OK then , thank for this support ,
my application is called H2O or Hermes 2.0 ,
its a EDI messaging system . basicly a Java web application . that runs under Tomcat5 .
Iam trying to download this under Fedora 8 system.
I got tomcat5 running with yum install and the manager site is working fine. the thing is with H2O it self i cant get it to work . it give me some weird Errors ???
i would post them soon . just give me a chance to do a fresh install to this system .
thanx 
|
|
|
03-26-2009, 07:21 PM
|
#6
|
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Rep: 
|
OK - but please forget most of what I just told you ;-)
What I said is true for a Java-based application, or a Java plugin. But not a JSP/Servlet-based web app.
If you're using Tomcat, you probably need a full-fledged JDK (not just the JRE Java runtime). And you also need to configure your .war files (libraries, web descriptors, etc) correctly. In theory, a .war should be a simple file-copy. In practice, you'll probably have to do some manual configuration.
In any case: please keep us posted as to your progress.
|
|
|
03-26-2009, 07:45 PM
|
#7
|
Member
Registered: Aug 2008
Location: Yemen
Distribution: Fedora, CentOS, RedHat , OpenFiler, ESXI
Posts: 225
Original Poster
Rep:
|
Quote:
Originally Posted by paulsm4
OK - but please forget most of what I just told you ;-)
What I said is true for a Java-based application, or a Java plugin. But not a JSP/Servlet-based web app.
If you're using Tomcat, you probably need a full-fledged JDK (not just the JRE Java runtime). And you also need to configure your .war files (libraries, web descriptors, etc) correctly. In theory, a .war should be a simple file-copy. In practice, you'll probably have to do some manual configuration.
In any case: please keep us posted as to your progress.
|
OK , to make things short do you any AS2/EBMS EDI softwares out there for Fedora or CentOS ??
that is easy to install , i have noticed that many ppl use windows for it . and i want to implement Linux in such project 
|
|
|
03-26-2009, 10:10 PM
|
#8
|
Member
Registered: Aug 2008
Location: Yemen
Distribution: Fedora, CentOS, RedHat , OpenFiler, ESXI
Posts: 225
Original Poster
Rep:
|
Quote:
Originally Posted by paulsm4
OK - but please forget most of what I just told you ;-)
What I said is true for a Java-based application, or a Java plugin. But not a JSP/Servlet-based web app.
If you're using Tomcat, you probably need a full-fledged JDK (not just the JRE Java runtime). And you also need to configure your .war files (libraries, web descriptors, etc) correctly. In theory, a .war should be a simple file-copy. In practice, you'll probably have to do some manual configuration.
In any case: please keep us posted as to your progress.
|
OK now , i did the following . installed JDK 6 update 18 .
tomcat5 and ran my server . when i go to the application i installed . this is what i get .
------------------------------------------------------
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet.init() for servlet AdminDispatcher threw exception
org.apache.catalina.authenticator.AuthenticatorBase.invoke(catalina-5.5.23.jar.so)
org.apache.catalina.valves.ErrorReportValve.invoke(catalina-5.5.23.jar.so)
org.apache.catalina.connector.CoyoteAdapter.service(catalina-5.5.23.jar.so)
org.apache.coyote.http11.Http11Processor.process(tomcat-http-5.5.23.jar.so)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(tomcat-http-5.5.23.jar.so)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(tomcat-util-5.5.23.jar.so)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(tomcat-util-5.5.23.jar.so)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(tomcat-util-5.5.23.jar.so)
java.lang.Thread.run(libgcj.so.8rh)
root cause
java.lang.NoClassDefFoundError: hk.hku.cecid.piazza.commons.Sys
java.lang.Class.initializeClass(libgcj.so.8rh)
hk.hku.cecid.piazza.commons.servlet.http.HttpDispatcher.init(HttpDispatcher.java:63)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(catalina-5.5.23.jar.so)
org.apache.catalina.valves.ErrorReportValve.invoke(catalina-5.5.23.jar.so)
org.apache.catalina.connector.CoyoteAdapter.service(catalina-5.5.23.jar.so)
org.apache.coyote.http11.Http11Processor.process(tomcat-http-5.5.23.jar.so)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(tomcat-http-5.5.23.jar.so)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(tomcat-util-5.5.23.jar.so)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(tomcat-util-5.5.23.jar.so)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(tomcat-util-5.5.23.jar.so)
java.lang.Thread.run(libgcj.so.8rh)
--------------------------------------------------
now why dose it fail to compile my files ?
thankx
|
|
|
03-26-2009, 10:23 PM
|
#9
|
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Rep: 
|
Hi -
I'm sorry, but this is a lot bigger and more complicated than I suspected from your initial post.
For whatever it's worth, your first problem is here:
Quote:
java.lang.NoClassDefFoundError: hk.hku.cecid.piazza.commons.Sys
java.lang.Class.initializeClass(libgcj.so.8rh)
hk.hku.cecid.piazza.commons.servlet.http.HttpDispatcher.init(HttpDispatcher.java:63)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(catalina-5.5.23.jar.so)
...
|
You loaded Sun Java (good) ... but Tomcat is picking up GNU Java (completely incompatible) ... and it can't find one (or more!) of H2O's classes (hk.hku.cecid.piazza.commons.Sys).
There appear to be a lot of "moving parts" in this project(Tomcat, Java, PostgreSQL, JAAS authentication, etc etc): it's not necessarily going to be trivial to set up.
I'd strongly suggest working with the company that released this product, CECID:
http://www.cecid.hku.hk/open-source.php
Sorry I can't be of more help .. PSM
Last edited by paulsm4; 03-26-2009 at 10:25 PM.
|
|
|
03-26-2009, 11:06 PM
|
#10
|
Member
Registered: Aug 2008
Location: Yemen
Distribution: Fedora, CentOS, RedHat , OpenFiler, ESXI
Posts: 225
Original Poster
Rep:
|
Quote:
Originally Posted by paulsm4
Hi -
I'm sorry, but this is a lot bigger and more complicated than I suspected from your initial post.
For whatever it's worth, your first problem is here:
You loaded Sun Java (good) ... but Tomcat is picking up GNU Java (completely incompatible) ... and it can't find one (or more!) of H2O's classes (hk.hku.cecid.piazza.commons.Sys).
There appear to be a lot of "moving parts" in this project(Tomcat, Java, PostgreSQL, JAAS authentication, etc etc): it's not necessarily going to be trivial to set up.
I'd strongly suggest working with the company that released this product, CECID:
http://www.cecid.hku.hk/open-source.php
Sorry I can't be of more help .. PSM
|
Well , thanks for trying . i would try to get another program or try it on CentOS ..! .
Thanks Again .
Regards ,
MaaS
|
|
|
03-27-2009, 01:58 AM
|
#11
|
Member
Registered: Aug 2008
Location: Yemen
Distribution: Fedora, CentOS, RedHat , OpenFiler, ESXI
Posts: 225
Original Poster
Rep:
|
Quote:
Originally Posted by paulsm4
Hi -
I'm sorry, but this is a lot bigger and more complicated than I suspected from your initial post.
For whatever it's worth, your first problem is here:
You loaded Sun Java (good) ... but Tomcat is picking up GNU Java (completely incompatible) ... and it can't find one (or more!) of H2O's classes (hk.hku.cecid.piazza.commons.Sys).
There appear to be a lot of "moving parts" in this project(Tomcat, Java, PostgreSQL, JAAS authentication, etc etc): it's not necessarily going to be trivial to set up.
I'd strongly suggest working with the company that released this product, CECID:
http://www.cecid.hku.hk/open-source.php
Sorry I can't be of more help .. PSM
|
WEll , i got it to work . but still i have some errors with the JB mysql connector for my plugins .
i have remove java 1.8 from fedora 8 system . and install JDK and install tomcat5 from binaries not YUM .
so far so good 
|
|
|
All times are GMT -5. The time now is 06:47 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|