Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
weblogic.ejbc

weblogic.ejbc

2003-11-19       - By Vinod G

 Back
Reply:     1     2     3     4     5  

1. SET JAVA_HOME
2. Verify JAVA_HOME/lib has tools.jar inside it.
3. The instead of using java in the ant.bat use JAVA_HOME/bin/java

Rgds
Vinod




Ritesh_Srivastava <Ritesh_Srivastava@(protected)>
Sent by: "A mailing list for Java(tm) 2 Platform, Enterprise Edition"
<J2EE-INTEREST@(protected)>
11/19/03 05:52 PM
Please respond to "A mailing list for Java(tm) 2 Platform, Enterprise
Edition"


       To:     J2EE-INTEREST@(protected)
       cc:
       Subject:        Re: weblogic.ejbc



Yes. tools.ajr is present in the classpath. The error persists
-- --Original Message-- --
From: sven van't veer [mailto:sven@(protected)]
Sent: Wednesday, November 19, 2003 6:54 PM
To: J2EE-INTEREST@(protected)
Subject: Re: weblogic.ejbc


do you have the tools.jar on the classpath for ant ??
-- --Original Message-- --
From: Ritesh_Srivastava  [mailto:Ritesh_Srivastava@(protected)]
Sent: Wednesday, November 19, 2003 9:03 AM
To: J2EE-INTEREST@(protected)
Subject: weblogic.ejbc


Hi,
   While doing weblogic.ejbc on Weblogic8.1 server, I am getting error as
    [java] Compiler class: 'com.sun.tools.javac.Main', not found
    [java] java.lang.ClassNotFoundException Source code of java.lang.ClassNotFoundException: com.sun.tools.javac.Main.

   Build file location which is giving the error is:
 <java classname="weblogic.ejbc" fork="yes" >
  <arg value="-J-mx128m"/>
  <arg value="${jar}/${jar.name.SEC}${jar.naked.suffix}"/>
  <arg value="${jar}/${jar.name.SEC}${jar.ejb.suffix}.jar"/>
  <classpath>
   <pathelement path="${classpath.jar}"/>
   <pathelement path="${classpath.weblogic}"/>
   <pathelement location="${jar}/${jar.name.EAMClient}.jar"/>
  </classpath>
 </java>
The same command works fine when I use Weblogic6.1.
 Any clues?

Regards
Ritesh

**************************************************************************


This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
or distribution or forwarding of any or all of the contents in this
message is STRICTLY PROHIBITED. If you are not the intended recipient,
please contact the sender by email and delete all copies; your cooperation
in this regard is appreciated.

**************************************************************************
===========================================================================
To unsubscribe, send email to listserv@(protected) and include in the
body of the message "signoff J2EE-INTEREST". For general help, send email
to listserv@(protected) and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to listserv@(protected) and include in the
body of the message "signoff J2EE-INTEREST". For general help, send email
to listserv@(protected) and include in the body of the message "help".





<br><font size=2 face="sans-serif">1. SET JAVA_HOME</font>
<br><font size=2 face="sans-serif">2. Verify JAVA_HOME/lib has tools.jar inside
it.</font>
<br><font size=2 face="sans-serif">3. The instead of using java in the ant.bat
use JAVA_HOME/bin/java</font>
<br>
<br><font size=2 face="sans-serif">Rgds</font>
<br><font size=2 face="sans-serif">Vinod</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Ritesh_Srivastava &lt;Ritesh_Srivastava
@(protected)&gt;</b></font>
<br><font size=1 face="sans-serif">Sent by: &quot;A mailing list for Java(tm) 2
Platform, Enterprise Edition&quot; &lt;J2EE-INTEREST@(protected)&gt;</font>
<p><font size=1 face="sans-serif">11/19/03 05:52 PM</font>
<br><font size=1 face="sans-serif">Please respond to &quot;A mailing list for
Java(tm) 2 Platform, Enterprise Edition&quot;</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; &nbsp
; &nbsp; &nbsp;J2EE-INTEREST@(protected)</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp
; &nbsp; &nbsp;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp;
&nbsp; &nbsp; &nbsp;Re: weblogic.ejbc</font></table>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">Yes. tools.ajr is present in the classpath.
The error persists</font>
<br><font size=2 face="sans-serif">-- --Original Message-- --</font>
<br><font size=2 face="sans-serif"><b>From:</b> sven van't veer [mailto:sven
@(protected)]</font>
<br><font size=2 face="sans-serif"><b>Sent:</b> Wednesday, November 19, 2003 6
:54 PM</font>
<br><font size=2 face="sans-serif"><b>To:</b> J2EE-INTEREST@(protected)</font>
<br><font size=2 face="sans-serif"><b>Subject:</b> Re: weblogic.ejbc</font>
<br>
<br>
<br><font size=2 face="sans-serif">do you have the tools.jar on the classpath
for ant ??</font>
<br><font size=2 face="sans-serif">-- --Original Message-- --</font>
<br><font size=2 face="sans-serif"><b>From:</b> Ritesh_Srivastava &nbsp;[mailto
:Ritesh_Srivastava@(protected)]</font>
<br><font size=2 face="sans-serif"><b>Sent:</b> Wednesday, November 19, 2003 9
:03 AM</font>
<br><font size=2 face="sans-serif"><b>To:</b> J2EE-INTEREST@(protected)</font>
<br><font size=2 face="sans-serif"><b>Subject:</b> weblogic.ejbc</font>
<br>
<br>
<br><font size=2 face="sans-serif">Hi,</font>
<br><font size=2 face="sans-serif">&nbsp;&nbsp;&nbsp; While doing weblogic.ejbc
on Weblogic8.1 server, I am getting error as</font>
<br><font size=2 face="sans-serif">&nbsp;&nbsp;&nbsp;&nbsp; [java] Compiler
class: 'com.sun.tools.javac.Main', not found</font>
<br><font size=2 face="sans-serif">&nbsp;&nbsp;&nbsp;&nbsp; [java] java.lang
.ClassNotFoundException: com.sun.tools.javac.Main.</font>
<br><font size=3 face="sans-serif">&nbsp;</font>
<br><font size=2 face="sans-serif">&nbsp;&nbsp;&nbsp; Build file location which
is giving the error is:</font>
<br><font size=2 face="sans-serif">&nbsp;&nbsp;&lt;java classname=&quot
;weblogic.ejbc&quot; fork=&quot;yes&quot; &gt;</font>
<br><font size=2 face="sans-serif">&nbsp;&nbsp;&nbsp;&lt;arg value=&quot;-J
-mx128m&quot;/&gt;</font>
<br><font size=2 face="sans-serif">&nbsp;&nbsp;&nbsp;&lt;arg value=&quot;${jar}
/${jar.name.SEC}${jar.naked.suffix}&quot;/&gt;</font>
<br><font size=2 face="sans-serif">&nbsp;&nbsp;&nbsp;&lt;arg value=&quot;${jar}
/${jar.name.SEC}${jar.ejb.suffix}.jar&quot;/&gt;</font>
<br><font size=2 face="sans-serif">&nbsp;&nbsp;&nbsp;&lt;classpath&gt;</font>
<br><font size=2 face="sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;&lt;pathelement path
=&quot;${classpath.jar}&quot;/&gt;</font>
<br><font size=2 face="sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;&lt;pathelement path
=&quot;${classpath.weblogic}&quot;/&gt;</font>
<br><font size=2 face="sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;&lt;pathelement
location=&quot;${jar}/${jar.name.EAMClient}.jar&quot;/&gt;</font>
<br><font size=2 face="sans-serif">&nbsp;&nbsp;&nbsp;&lt;/classpath&gt;</font>
<br><font size=2 face="sans-serif">&nbsp;&nbsp;&lt;/java&gt;</font>
<br><font size=2 face="sans-serif">&nbsp;The same command works fine when I use
Weblogic6.1.</font>
<br><font size=2 face="sans-serif">&nbsp; Any clues?</font>
<br><font size=3 face="sans-serif">&nbsp;</font>
<br><font size=2 face="sans-serif">Regards</font>
<br><font size=2 face="sans-serif">Ritesh</font>
<br>
<br><font size=2 face="sans-serif">********************************************
****************************** </font>
<br>
<br><font size=2 face="sans-serif">This email (including any attachments) is
intended for the sole use of the intended recipient/s and may contain material
that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by
others or copying or distribution or forwarding of any or all of the contents
in this message is STRICTLY PROHIBITED. If you are not the intended recipient,
please contact the sender by email and delete all copies; your cooperation in
this regard is appreciated.</font>
<br>
<br><font size=2 face="sans-serif">********************************************
******************************</font>
<br><font size=3 face="sans-serif">============================================
=============================== To unsubscribe, send email to listserv@(protected)
.com and include in the body of the message &quot;signoff J2EE-INTEREST&quot;.
For general help, send email to listserv@(protected) and include in the body
of the message &quot;help&quot;. </font>
<br>
<br><font size=3 face="sans-serif">============================================
=============================== To unsubscribe, send email to listserv@(protected)
.com and include in the body of the message &quot;signoff J2EE-INTEREST&quot;.
For general help, send email to listserv@(protected) and include in the body
of the message &quot;help&quot;. </font>
<br>
<br>
<br>
<br>