Re: Re: Very Long Deployment Time

2001-12-19 Thread Gustavo Comba



Hello,

 Thanks for your answer. I've 
tryed almost everything! I've added more RAM to my AppServer, now I'm deploying 
directly from the console, using 

java.exe -jar admin.jar ormi://ias/ admin 
x -deploy -file C:\jdev\InfinitumDoor\AppIntranet\IntranetApplication.ear 
-deploymentName IntranetApplication

 butit's taking very long 
time.

 What I don't know is how to use 
"jikes". I've alwas used the standardJava distribution from Sun. Any 
clue?

 Thanks in advance,

  
 Gustavo Comba

  - Original Message - 
  From: 
  Rice, Ted 
  
  To: Orion-Interest 
  Sent: Monday, December 17, 2001 11:50 
  PM
  Subject: RE: Very Long Deployment 
  Time
  
  try using jikes for your compiler inside
  of orion. we experience similar delays in
  deployment and using jikes cut deployment
  time to about 10% of the original time.
  
  ./ted 
  
-Original Message-From: Gustavo Comba 
[mailto:[EMAIL PROTECTED]]Sent: Monday, December 17, 2001 
8:34 AMTo: Orion-InterestSubject: Very Long Deployment 
Time
Hello,

 I'm deployinga little 
project with a Client Application Module and a EJB Module with several EJB 
(about 30 Entity and 5 Session Beans). I'm using JDeveloper 9i Release 
Cantidate to develop/deploy my project.

 My project compiles very 
fast, but when I do the deployment, it take a very long time (about 10 
minutes). I'm debugging now, and I'm deploying continously, and it's very 
anoying!

 There is something I can do 
to accelerate the deployment proccess? Can I copy the .ear file directly 
into the "applications" directory and start the server again? Help me 
please!

 Thanks in 
advance,

  
 Gustavo 
Comba


Servlet JDBC character conversion problem

2001-10-15 Thread Gustavo Comba



Hi, I'm having a strange problem. I'm developing a J2EE Web 
Application, with Entity Beans, Servlets, JSPs and so on. I've started 
to get character conversion problems, and I've isolated the piece of code 
giving me problems. The code is: 
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); 
Connection con = DriverManager.getConnection 
("jdbc:oracle:thin:@oraclehost:1521:orcl", "user", "password"); 
dumpTable(con, out); String updateStatement = "UPDATE IDIOMAS SET IDIOMA 
= ? WHERE IDIDIOMA = ? "; PreparedStatement prepStmt = 
con.prepareStatement (updateStatement); prepStmt.setString(1, m_Idioma); 
prepStmt.setLong(2, m_Id); prepStmt.executeUpdate(); 
prepStmt.close(); con.close(); Where "m_Idioma", which is a 
standard java.lang.String, which eventually is "Español", and m_Id is a long 
with the primary key of the record I want to update. If I paste this 
code into a JSP, then I get the desired result, BUT, if I paste and run the 
code from a Servlet (exactly the same code), then my "Español" becomes 
"Espaýol"... I've tried almost everything, I've runned the Servlet on the 
J2EE server and locally whit the debugger, and the same result. My 
DataBase server is a Oracle 8.1.7 Database, and I'm using Oracle 9i 
Application Server OC4J(the Orion AS). The problem is the same 
with "á", "é", "í" and so on. I'll apreciate any kind of help you can 
give me. Thanks in advance, and please forgive my English. 
Gustavo Comba