Hi all .. compilation with NetBeans ..

2002-11-27 Thread Eriam Schaffter
Hi there ..

I'm trying to compile tomcat with NetBeans and it seems thats the 
transaction api to which refers tomcat is depreciated ..

The error log is below:

catalina/src/share/org/apache/naming/factory/TyrexTransactionFactory.java 
[75:1] cannot resolve symbol
symbol  : class UserTransaction 
location: package transaction
import javax.transaction.UserTransaction;
^
catalina/src/share/org/apache/naming/factory/TyrexTransactionFactory.java 
[126:1] incompatible types
found   : javax.transaction.UserTransaction
required: java.lang.Object
   return getTransactionDomain().getUserTransaction();


I'm had a look at the monted jars I'm using but I didn't found any 
references to javax.transaction, I suppose that this class is a part of 
the java sdk because when I try to mount the jta package I've downloaded 
from java.sun.com I get an error message explaining that the class is 
already present in the ide ..

Any tips welcome .. :)

Eriam


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



Re: Hi all .. compilation with NetBeans ..

2002-11-27 Thread Jeanfrancois Arcand
You have to download the transaction API from java.sun.com:

http://java.sun.com/products/jta/

All these dependecy are described in 
jakarta-tomcat-{version}/BUILDING.txt. I'm currently using Netbean 3.4 
and it works fine if you mount all jars that are under 
${CATALINA_HOME}/common  ${CATALINA_HOME}/server.

Good luck :-)

-- Jeanfrancois



Eriam Schaffter wrote:

Hi there ..

I'm trying to compile tomcat with NetBeans and it seems thats the 
transaction api to which refers tomcat is depreciated ..

The error log is below:

catalina/src/share/org/apache/naming/factory/TyrexTransactionFactory.java 
[75:1] cannot resolve symbol
symbol  : class UserTransaction location: package transaction
import javax.transaction.UserTransaction;
^
catalina/src/share/org/apache/naming/factory/TyrexTransactionFactory.java 
[126:1] incompatible types
found   : javax.transaction.UserTransaction
required: java.lang.Object
   return getTransactionDomain().getUserTransaction();


I'm had a look at the monted jars I'm using but I didn't found any 
references to javax.transaction, I suppose that this class is a part 
of the java sdk because when I try to mount the jta package I've 
downloaded from java.sun.com I get an error message explaining that 
the class is already present in the ide ..

Any tips welcome .. :)

Eriam


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Hi all .. compilation with NetBeans ..

2002-11-27 Thread Eriam Schaffter
Thanks for your answer ..

In fact i've downloaded jta but I cannot set Netbeans to update auto 
completion as NetBeans just tells me that the package has already been 
parsed ..

I'm just a bit confused ..

:)

Eriam

Jeanfrancois Arcand a écrit:

You have to download the transaction API from java.sun.com:

http://java.sun.com/products/jta/

All these dependecy are described in 
jakarta-tomcat-{version}/BUILDING.txt. I'm currently using Netbean 3.4 
and it works fine if you mount all jars that are under 
${CATALINA_HOME}/common  ${CATALINA_HOME}/server.

Good luck :-)

-- Jeanfrancois



Eriam Schaffter wrote:

Hi there ..

I'm trying to compile tomcat with NetBeans and it seems thats the 
transaction api to which refers tomcat is depreciated ..

The error log is below:

catalina/src/share/org/apache/naming/factory/TyrexTransactionFactory.java 
[75:1] cannot resolve symbol
symbol  : class UserTransaction location: package transaction
import javax.transaction.UserTransaction;
^
catalina/src/share/org/apache/naming/factory/TyrexTransactionFactory.java 
[126:1] incompatible types
found   : javax.transaction.UserTransaction
required: java.lang.Object
   return getTransactionDomain().getUserTransaction();


I'm had a look at the monted jars I'm using but I didn't found any 
references to javax.transaction, I suppose that this class is a part 
of the java sdk because when I try to mount the jta package I've 
downloaded from java.sun.com I get an error message explaining that 
the class is already present in the ide ..

Any tips welcome .. :)

Eriam


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]

-
Ce courrier a ete considere comme non infecte par les virus connu de 
notre outil de detection. Soyez cependant prudent avec les pieces 
jointes. Merci.





--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Hi all .. compilation with NetBeans ..

2002-11-27 Thread Eriam Schaffter
Yep ..

Except jta which is just as a couple of class files ...
And when I right click to update the code completion .. I just get an 
error telling that those classes are already in the classes databases 
and that it would not replace them ..

I've reviewed all the jars I've mounted and there's no javax.transaction 
in these ..

Thansk for spending some time on this .. I appreciate :)

Eriam

Jeanfrancois Arcand a écrit:

What do you means?

Have you mounted all jar files?

-- Jeanfrancois

Eriam Schaffter wrote:


Thanks for your answer ..

In fact i've downloaded jta but I cannot set Netbeans to update auto 
completion as NetBeans just tells me that the package has already 
been parsed ..

I'm just a bit confused ..

:)

Eriam

Jeanfrancois Arcand a écrit:

You have to download the transaction API from java.sun.com:

http://java.sun.com/products/jta/

All these dependecy are described in 
jakarta-tomcat-{version}/BUILDING.txt. I'm currently using Netbean 
3.4 and it works fine if you mount all jars that are under 
${CATALINA_HOME}/common  ${CATALINA_HOME}/server.

Good luck :-)

-- Jeanfrancois



Eriam Schaffter wrote:

Hi there ..

I'm trying to compile tomcat with NetBeans and it seems thats the 
transaction api to which refers tomcat is depreciated ..

The error log is below:

catalina/src/share/org/apache/naming/factory/TyrexTransactionFactory.java 
[75:1] cannot resolve symbol
symbol  : class UserTransaction location: package transaction
import javax.transaction.UserTransaction;
^
catalina/src/share/org/apache/naming/factory/TyrexTransactionFactory.java 
[126:1] incompatible types
found   : javax.transaction.UserTransaction
required: java.lang.Object
   return getTransactionDomain().getUserTransaction();


I'm had a look at the monted jars I'm using but I didn't found any 
references to javax.transaction, I suppose that this class is a 
part of the java sdk because when I try to mount the jta package 
I've downloaded from java.sun.com I get an error message explaining 
that the class is already present in the ide ..

Any tips welcome .. :)

Eriam


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]

-
Ce courrier a ete considere comme non infecte par les virus connu de 
notre outil de detection. Soyez cependant prudent avec les pieces 
jointes. Merci.





--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]

-
Ce courrier a ete considere comme non infecte par les virus connu de 
notre outil de detection. Soyez cependant prudent avec les pieces 
jointes. Merci.





--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Hi all .. compilation with NetBeans ..

2002-11-27 Thread Jeanfrancois Arcand
I'm surprised that jta is bundled with Netbeans. I don't have any 
problem on my side :-(  I recommend you send the question to the 
netbeans user list. They might know the answer 

-- Jeanfrancois

Eriam Schaffter wrote:

Yep ..

Except jta which is just as a couple of class files ...
And when I right click to update the code completion .. I just get an 
error telling that those classes are already in the classes databases 
and that it would not replace them ..

I've reviewed all the jars I've mounted and there's no 
javax.transaction in these ..

Thansk for spending some time on this .. I appreciate :)

Eriam

Jeanfrancois Arcand a écrit:

What do you means?

Have you mounted all jar files?

-- Jeanfrancois

Eriam Schaffter wrote:


Thanks for your answer ..

In fact i've downloaded jta but I cannot set Netbeans to update auto 
completion as NetBeans just tells me that the package has already 
been parsed ..

I'm just a bit confused ..

:)

Eriam

Jeanfrancois Arcand a écrit:

You have to download the transaction API from java.sun.com:

http://java.sun.com/products/jta/

All these dependecy are described in 
jakarta-tomcat-{version}/BUILDING.txt. I'm currently using Netbean 
3.4 and it works fine if you mount all jars that are under 
${CATALINA_HOME}/common  ${CATALINA_HOME}/server.

Good luck :-)

-- Jeanfrancois



Eriam Schaffter wrote:

Hi there ..

I'm trying to compile tomcat with NetBeans and it seems thats the 
transaction api to which refers tomcat is depreciated ..

The error log is below:

catalina/src/share/org/apache/naming/factory/TyrexTransactionFactory.java 
[75:1] cannot resolve symbol
symbol  : class UserTransaction location: package transaction
import javax.transaction.UserTransaction;
^
catalina/src/share/org/apache/naming/factory/TyrexTransactionFactory.java 
[126:1] incompatible types
found   : javax.transaction.UserTransaction
required: java.lang.Object
   return 
getTransactionDomain().getUserTransaction();


I'm had a look at the monted jars I'm using but I didn't found any 
references to javax.transaction, I suppose that this class is a 
part of the java sdk because when I try to mount the jta package 
I've downloaded from java.sun.com I get an error message 
explaining that the class is already present in the ide ..

Any tips welcome .. :)

Eriam


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]

-
Ce courrier a ete considere comme non infecte par les virus connu 
de notre outil de detection. Soyez cependant prudent avec les 
pieces jointes. Merci.





--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]

-
Ce courrier a ete considere comme non infecte par les virus connu de 
notre outil de detection. Soyez cependant prudent avec les pieces 
jointes. Merci.





--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]