Re: Problems with graphics on Tomcat 5.5.9

2005-10-11 Thread Amadeo Alonso

Cabe suponer que has mirado la linea 211 de tu'Graficador2.java'?, ...
parece corresponder a lo primero escrito por ti y, frecuentemente, esto da 
una pista.
Parece involucrar un problema de Acceso de Java -muy pijotero siempre-, ¿es 
todo accesible?.



Graficar = =   java.lang.NoClassDefFoundError:
..
java.security.AccessController.doPrivileged(Native Method)
.
com.Prueba.comandos.Graficador2.crearBarChart3DVertical(Graficador2.java:211).luckamadeo- Original Message -From: Mauricio Fernandez A. [EMAIL PROTECTED]To: Tomcat Users List 
tomcat-user@jakarta.apache.orgSent: Monday, October 10, 2005 3:06 PMSubject: RE: Problems with graphics on Tomcat 5.5.9 You can see that here, after click on Graficar: The web test app can be 
found herehttp://www.actesoft.com:8080/Prueba/jsp/ and the wanted result after click on Graficar is something like this http://www.actesoft.com/ejGrafico/ (static page) Mauricio Fernandez 
-Mensaje original- De: Viorel Dragomir [mailto:[EMAIL PROTECTED] Enviado el: lunes, 10 octubre, 2005 15:53 Para: Tomcat Users List Asunto: Re: Problems with graphics on Tomcat 5.5.9 What 
exception ? [ If it's not confidential. :) ] Viorel Dragomir . .. --- - Original Message - 
From: Mauricio F
ernandez A. To: Tomcat Users List Sent: Monday, October 10, 2005 14:42 Subject: RE: Problems with graphics on Tomcat 5.5.9 Trying again to make the graphics appear in my web app, I did a 
test webapp and I had been trying to start the Tomcat with -Djava.awt.headless=true option as I read in some forums #export CATALINA_OPTS=-Djava.awt.headless=true 
#/usr/java/jakarta-tomcat/bin/startup.sh But they do not appear either The web test app can be found herehttp://www.actesoft.com:8080/Prueba/jsp/ and the wanted result after click on 
Graficar is something like this http://www.actesoft.com/ejGrafico/ (static page) Also I have try to insert in the Graficador.class constructor the next System.set/getProperties 
lines public Graficador(String Path){ super(); this.contexto = Path; this.background = null; //System.setProperty returns the current value before assignment String vrPropiedad = 
System.setProperty(java.awt.headless, true); // Log the befo
re assignment value to a log file to debug logger.debug(BEFORE = java.awt.headless =  + vrPropiedad); //and log the after assignmet value to a log file too 
vrPropiedad = System.getProperty(java.awt.headless); logger.debug(NOW = java.awt.headless =  + vrPropiedad); } And these are the log file lines 
the app write 2005-10-10 11:18:15,996 [-t] INFO [index.jsp] - Loading form 2005-10-10 11:18:15,999 [-t] INFO [index.jsp] - Form OK ! 2005-10-10 11:18:24,710 [-t] DEBUG 
[grafica.jsp] - loading page:grafica.jsp 2005-10-10 11:18:24,716 [-t] DEBUG [grafica.jsp] - Creating object: Graficador 2005-10-10 11:18:24,746 [-t] DEBUG [Graficador] - 
BEFORE =java.awt.headless = true -- It is True! 2005-10-10 11:18:24,746 [-t] DEBUG [Graficador] - NOW = java.awt.headless= true -- It is True! 2005-10-10 
11:18:24,747 [-t] DEBUG [grafica.jsp] - Creating Category 1 ... OK 2005-10-10 11:18:24,747 [-t] DEBUG [grafica.jsp] - Creating Category 2 ... OK 2005-10-10 11:18:24,
748 [-t] DEBUG [grafica.jsp] - Creating Category 3 ... OK 2005-10-10 11:18:24,748 [-t] DEBUG [grafica.jsp] - Giving the control to a 
Graficador Object, it must make the chart 2005-10-10 11:18:24,769 [-t] DEBUG [Graficador] - Starting chart creation ... 2005-10-10 
11:18:24,788 [-t] DEBUG [Graficador] - Data process  OK 2005-10-10 11:18:25,548 [-t] DEBUG [Graficador] - Creating Chart  OK 2005-10-10 
11:18:25,549 [-t] DEBUG [Graficador] - Making a PNG image from Chart And here the app trhows an exception Any idea is always welcome, 
thanks. Mauricio Fernandez - To unsubscribe, e-mail: [EMAIL 
PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To 
unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
karta.apache.org


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



Re: Q: Why Tomcat return me a OLD version of my doc.jar in an Applet ?

2005-10-10 Thread Amadeo Alonso

Thaks, Darek

I didn´t now that cache...
Amadeo.


- Original Message - 
From: Darek Czarkowski [EMAIL PROTECTED]

To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Friday, October 07, 2005 10:21 PM
Subject: Re: Q: Why Tomcat return me a OLD version of my doc.jar in an 
Applet ?




did you clean up your local cache?
the jar file might be a local version of the file. You might not be able
to see the new version until you remove the old one. (usually
~/.java/.deployment/javaws/)

--
Darek Czarkowski

Infinite Source Systems Corp.
Ph: 604 294 6557 (Ext. 113)
Fx: 604 294 6507
www.infinitesource.ca
[EMAIL PROTECTED]



ce.ca
On Sat, 2005-10-08 at 06:05, Amadeo Alonso wrote:

Hi list:

   I apologize me last (first) email to the list with faults on date and 
form

   Thanks to Mark Thomas for your explanations.

The problem I attempt to solve is the next:

When I demand the page 
'http://expresiongrafica.caminos.upm.es/PAU/AppletDoc.html', which has an 
Applet with a tag 'archive=doc.jar', Tomcat (?) v5.5 returns me the OLD 
VERSION of 'doc.jar' (v1) with the old bugs, as I deduct from the 'Java 
Console'.


I have placed two connector tags  in 'server.xml' file to use ports :80 
y :8080 in the same way


but

http://expresiongrafica.caminos.upm.es:8080/PAU/AppletDoc.html   return 
de rigth 'doc.jar' (v2),   OK:


http://expresiongrafica.caminos.upm.es:80/PAU/AppletDoc.html   return 
de old   'doc.jar' (v1),   BAD:


using  localhost/..., localhost:80/... y localhost:8080/...  OK (v2).


How can I destroy the old version? where is it? What is it happening? Is 
maybe a navigators problem?

 (I get  'similar' results with IE and Firefox )


Thanks in advance

Amadeo.
Universidad Politécnica de Madrid.




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






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



Q: Why Tomcat return me a OLD version of my doc.jar in an Applet ?

2005-10-07 Thread Amadeo Alonso
Hi list:

   I apologize me last (first) email to the list with faults on date and form 
   Thanks to Mark Thomas for your explanations.

The problem I attempt to solve is the next:

When I demand the page 
'http://expresiongrafica.caminos.upm.es/PAU/AppletDoc.html', which has an 
Applet with a tag 'archive=doc.jar', Tomcat (?) v5.5 returns me the OLD VERSION 
of 'doc.jar' (v1) with the old bugs, as I deduct from the 'Java Console'.

I have placed two connector tags  in 'server.xml' file to use ports :80 y 
:8080 in the same way

but

http://expresiongrafica.caminos.upm.es:8080/PAU/AppletDoc.html   return de 
rigth 'doc.jar' (v2),   OK:   

http://expresiongrafica.caminos.upm.es:80/PAU/AppletDoc.html   return de 
old   'doc.jar' (v1),   BAD: 

using  localhost/..., localhost:80/... y localhost:8080/...  OK (v2). 


How can I destroy the old version? where is it? What is it happening? Is maybe 
a navigators problem?
 (I get  'similar' results with IE and Firefox )


Thanks in advance

Amadeo.
Universidad Politécnica de Madrid.


Why Tomcat return me a OLD version of my doc.jar ?

2005-10-06 Thread Amadeo Alonso

Hi all,
¿Can anyone explain it , please?

I use Tomcat 5.5 as server pages html with an 'Applet' that uses a 'doc.jar'
I have placed two connector tags  in 'server.xml' file to use ports :80 y 
:8080 in the same way
I Have fixed bugs from mi 'doc.jar' (v1) to a new version with the same name 
'doc.jar' (v2)


and now, (using IExplorer):

OK: 
_http://expresiongrafica.caminos.upm.es:8080/PAU/PAU-Septiembre2005-C2.html

return de rigth 'doc.jar' (v2)

BUT: 
_http://expresiongrafica.caminos.upm.es:80/PAU/PAU-Septiembre2005-C2.html
   o 
_http://expresiongrafica.caminos.upm.es/PAU/PAU-Septiembre2005-C2.html
return me the OLD VERSION of 'doc.jar' (v1) with the old bugs, as I deduct 
from the 'Java Console'


OK also _http://localhost /PAU/AppletDoc.html   (or 127.0.0.1)
 _http://localhost:80/PAU/AppletDoc.html
 _http://localhost:8080/PAU/AppletDoc.html
 _http://localhost:8080/PAU/AppletDoc.html

BUT  _http://138.100.67.143:8080/PAU/AppletDoc.html OK
_http://138.100.67.143 /PAU/AppletDoc.html (o :80) 
BAD, v1


How can I destroy the old version? where is it? What is it happening?

regards
amadeo.



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