RE: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-07 Thread Nick Faiz
Shakti,

I suggest you visit http://support.bea.com
http://support.bea.com/  and do a search, use google.com, or buy the BEA
WebLogic Server Bible. Perhaps javaranch.com could be helpful here. 

You have all the information you need to get it working, at the
moment, with the links I sent you. This isn't really a Struts orientated
topic so I won't reply to anymore of these posts.


Best of luck,

Nick

 

-Original Message-
From: Shakti [mailto:[EMAIL PROTECTED] 
Sent: Saturday, 6 December 2003 3:51 AM
To: Nick Faiz; Struts Users Mailing List
Subject: Re: Is it required to restart weblogic everytime after compiling ??
? Need help Desperately .. :-(

 

Hi Nick,

Sorry buddy i was busy with other stuff so cudn't reply to ur
mails ... boss i am still facing the same problem .. i checked the logs even
its showing that my new application is being activated .. but stil i can't
see the changes getting reflected .. ?? but once i retstart i can see the
changes .. :-(

My Questions are :

1 ) Is there any sort of cache that Weblogic maintains .. .. becuz of which
new changed are not reflected .. 

2) if u can just mail me ur startweblogic.cmd file .. 

 

thanks buddy ..
Shakti

 

- Original Message - 

From: Nick Faiz mailto:[EMAIL PROTECTED]  

To: 'Shakti' mailto:[EMAIL PROTECTED]  ; Struts Users Mailing
List mailto:[EMAIL PROTECTED]  ; [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  

Sent: Wednesday, December 03, 2003 1:12 PM

Subject: RE: Is it required to restart weblogic everytime after compiling ??
? Need help Desperately .. :-(

 

Shakti,

Ok. Find, in attachment, a log of my starting WebLogic 7.2 up with a
cepts.war file present within my applications directory. A servlet called
ProjectStartUp runs and queries a database, following the directions of my
web.xml:

servlet

servlet-nameprojectStartUp/servlet-name

 
servlet-classau.com.ce.cepts.project.ProjectStartUp/servlet-class

load-on-startup3/load-on-startup

/servlet

Glance at the log, look for bold, and see the statement:

au.com.ce.cepts.project.ProjectStartUp:57: done...: 9 

Then, I go to my source, find the log statement at line 57 of the
ProjectStartUp servlet and change it from:

logger.debug(done...:  + ProjectFacade.getCache().size() +  \n\n\n\n);



to:

logger.debug(it's possible Shakti: :  + ProjectFacade.getCache().size() +
 \n);

Then I recompile and drop my new cepts.war into the applications
directory. WebLogic, which is checking the app. dir each 3 seconds for a new
deployment, notices this and takes the new binary and redeploys it instead
of the old:

03/12/2003 18:35:456 DEBUG ExecuteThread: '11' for queue: 'default'
au.com.ce.cepts.project.P

rojectStartUp:57: it's possible Shakti: : 9



3/12/2003 18:35:37 Info Deployer 149033 activated application
_appsdir_cepts_war on devServ

er

3/12/2003 18:35:37 Info Deployer 149074 Successfully completed
deployment task: Activate ap

plication _appsdir_cepts_war on devServer

3/12/2003 18:35:38 Notice Application Poller 149404 Activate
application _appsdir_cepts_war

 on devServer - Completed

The above can is because I set the server in dev. mode.

What problems are you having? Are you not seeing a new activation
take place when you drop the new .war in?

Nick

P.S. Ignore the error relating to the Action servlet. It doesn't like being
included in a war, under my test configuration, and I've not had time to
work out why yet. shakti_log.doc 

 

-Original Message-
From: Shakti [mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Wednesday, 3 December 2003 4:39 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Is it required to restart weblogic everytime after compiling ??
? Need help Desperately .. :-(

Hey Nick,

I read thru all the docs and all the links that u gave me .

i cudn't find anything more that changing the boolean param , while i start

the weblogic i am getting

-Dweblogic.ProductionModeEnabled=false it means it is in development mode

. wht are the other changes that i will have to make so that my java file

changes are reflelected in the application after recompiling , without

restarting the weblogic server .

waiting for ur reply boss ...

Thanks in advance .

shakti

- Original Message -

From: Nick Faiz [EMAIL PROTECTED]

To: 'Struts Users Mailing List' [EMAIL PROTECTED]

Sent: Wednesday, December 03, 2003 4:02 AM

Subject: RE: Is it required to restart weblogic everytime after compiling ??

? Need help Desperately .. :-(

 

 Sure, but that isn't the same as redeploying a war or ear without

 restarting.



 Nick



 -Original Message-

 From: Kalra, Ashwani [mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]

 Sent: Tuesday, 2 December 2003 6:14 PM

 To: Struts Users Mailing List

 Subject: RE: Is it required to restart weblogic everytime after compiling

Re: [OT] RE: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-06 Thread Shakti
Hey there are some class files which are in the classpath weblogic.jar is
this the cause of the problem ??
is there a solution for this .. i mean if i can move them to my lib or some
other dir is this going to cause any problems ??

- Original Message -
From: Vic Cekvenich [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, December 06, 2003 1:04 AM
Subject: Re: [OT] RE: Is it required to restart weblogic everytime after
compiling ?? ? Need help Desperately .. :-(




 Wendy Smoak wrote:
 and restarting this weblogic again and again
 each time i debug .. :-( ...
 stil waiting for a solution ...
 
 
  Trim your posts!  Not only was it off topic, it was 400 lines long.  How
  about doing your development work on Tomcat, then deploying to Weblogic?
  This has the added advantage of forcing you to write code that'll run on
  any container.
 
 + 1.

 Or Resin, the both have a plug in to run w/ Eclipse so you set in even.
 In general, propriatory code is inferior.

 .V



 -
 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]



Re: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-05 Thread Shakti
RE: Is it required to restart weblogic everytime after compiling ?? ? Need help 
Desperately .. :-(Hi Nick,
Sorry buddy i was busy with other stuff so cudn't reply to ur mails ... 
boss i am still facing the same problem .. i checked the logs even its showing that my 
new application is being activated .. but stil i can't see the changes getting 
reflected .. ?? but once i retstart i can see the changes .. :-(
My Questions are :
1 ) Is there any sort of cache that Weblogic maintains .. .. becuz of which new 
changed are not reflected .. 
2) if u can just mail me ur startweblogic.cmd file ... 

thanks buddy ..
Shakti

  - Original Message - 
  From: Nick Faiz 
  To: 'Shakti' ; Struts Users Mailing List ; [EMAIL PROTECTED] 
  Sent: Wednesday, December 03, 2003 1:12 PM
  Subject: RE: Is it required to restart weblogic everytime after compiling ?? ? Need 
help Desperately .. :-(


  Shakti,

  Ok. Find, in attachment, a log of my starting WebLogic 7.2 up with a 
cepts.war file present within my applications directory. A servlet called 
ProjectStartUp runs and queries a database, following the directions of my web.xml:

  servlet

  servlet-nameprojectStartUp/servlet-name

  servlet-classau.com.ce.cepts.project.ProjectStartUp/servlet-class

  load-on-startup3/load-on-startup

  /servlet

  Glance at the log, look for bold, and see the statement:

  au.com.ce.cepts.project.ProjectStartUp:57: done...: 9 

  Then, I go to my source, find the log statement at line 57 of the 
ProjectStartUp servlet and change it from:

  logger.debug(done...:  + ProjectFacade.getCache().size() +  \n\n\n\n);

  

  to:

  logger.debug(it's possible Shakti: :  + ProjectFacade.getCache().size() +  \n);

  Then I recompile and drop my new cepts.war into the applications directory. 
WebLogic, which is checking the app. dir each 3 seconds for a new deployment, notices 
this and takes the new binary and redeploys it instead of the old:

  03/12/2003 18:35:456 DEBUG ExecuteThread: '11' for queue: 'default' 
au.com.ce.cepts.project.P

  rojectStartUp:57: it's possible Shakti: : 9

  

  3/12/2003 18:35:37 Info Deployer 149033 activated application 
_appsdir_cepts_war on devServ

  er

  3/12/2003 18:35:37 Info Deployer 149074 Successfully completed deployment 
task: Activate ap

  plication _appsdir_cepts_war on devServer

  3/12/2003 18:35:38 Notice Application Poller 149404 Activate application 
_appsdir_cepts_war

   on devServer - Completed

  The above can is because I set the server in dev. mode.

  What problems are you having? Are you not seeing a new activation take place 
when you drop the new .war in?

  Nick

  P.S. Ignore the error relating to the Action servlet. It doesn't like being included 
in a .war, under my test configuration, and I've not had time to work out why yet. 
shakti_log.doc 




  -Original Message-
  From: Shakti [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, 3 December 2003 4:39 PM
  To: Struts Users Mailing List; [EMAIL PROTECTED]
  Subject: Re: Is it required to restart weblogic everytime after compiling ?? ? Need 
help Desperately .. :-(

  Hey Nick,

  I read thru all the docs and all the links that u gave me ..

  i cudn't find anything more that changing the boolean param , while i start

  the weblogic i am getting

  -Dweblogic.ProductionModeEnabled=false it means it is in development mode

  . wht are the other changes that i will have to make so that my java file

  changes are reflelected in the application after recompiling , without

  restarting the weblogic server .

  waiting for ur reply boss ...

  Thanks in advance ..

  shakti

  - Original Message -

  From: Nick Faiz [EMAIL PROTECTED]

  To: 'Struts Users Mailing List' [EMAIL PROTECTED]

  Sent: Wednesday, December 03, 2003 4:02 AM

  Subject: RE: Is it required to restart weblogic everytime after compiling ??

  ? Need help Desperately .. :-(



   Sure, but that isn't the same as redeploying a war or ear without

   restarting.

  

   Nick

  

   -Original Message-

   From: Kalra, Ashwani [mailto:[EMAIL PROTECTED]

   Sent: Tuesday, 2 December 2003 6:14 PM

   To: Struts Users Mailing List

   Subject: RE: Is it required to restart weblogic everytime after compiling

  ??

   ? Need help Desperately .. :-(

  

   IMO Reloading is not possible for the classes in server classpath. eg

  beans

   and other utility classes used by servlets or ejbs.

  

  

  

  

   -Original Message-

   From: Nick Faiz [mailto:[EMAIL PROTECTED]

   Sent: Tuesday, December 02, 2003 12:31 PM

   To: 'Struts Users Mailing List'

   Subject: RE: Is it required to restart weblogic everytime after

   compiling ?? ? Need help Desperately .. :-(

   

   

   Check this out:

   http://e-docs.bea.com/wls/docs70/programming/deploying.html#1125125

   

   Also see,

   http

RE: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-05 Thread Dalmia, Swati
check in weblogic.cmd file if the weblogic is set in production environment ?
I am using weblogic 8.1 and I never restart my server after compiling a single class 
file or jsp change
if changes in struts config file or web.xml then u might need to bounce your server


-Original Message-
From: Shakti [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 9:51 AM
To: Nick Faiz; Struts Users Mailing List
Subject: Re: Is it required to restart weblogic everytime after
compiling ?? ? Need help Desperately .. :-(


RE: Is it required to restart weblogic everytime after compiling ?? ? Need help 
Desperately .. :-(Hi Nick,
Sorry buddy i was busy with other stuff so cudn't reply to ur mails ... 
boss i am still facing the same problem .. i checked the logs even its showing that my 
new application is being activated .. but stil i can't see the changes getting 
reflected .. ?? but once i retstart i can see the changes .. :-(
My Questions are :
1 ) Is there any sort of cache that Weblogic maintains .. .. becuz of which new 
changed are not reflected .. 
2) if u can just mail me ur startweblogic.cmd file ... 

thanks buddy ..
Shakti

  - Original Message - 
  From: Nick Faiz 
  To: 'Shakti' ; Struts Users Mailing List ; [EMAIL PROTECTED] 
  Sent: Wednesday, December 03, 2003 1:12 PM
  Subject: RE: Is it required to restart weblogic everytime after compiling ?? ? Need 
help Desperately .. :-(


  Shakti,

  Ok. Find, in attachment, a log of my starting WebLogic 7.2 up with a 
cepts.war file present within my applications directory. A servlet called 
ProjectStartUp runs and queries a database, following the directions of my web.xml:

  servlet

  servlet-nameprojectStartUp/servlet-name

  servlet-classau.com.ce.cepts.project.ProjectStartUp/servlet-class

  load-on-startup3/load-on-startup

  /servlet

  Glance at the log, look for bold, and see the statement:

  au.com.ce.cepts.project.ProjectStartUp:57: done...: 9 

  Then, I go to my source, find the log statement at line 57 of the 
ProjectStartUp servlet and change it from:

  logger.debug(done...:  + ProjectFacade.getCache().size() +  \n\n\n\n);

  

  to:

  logger.debug(it's possible Shakti: :  + ProjectFacade.getCache().size() +  \n);

  Then I recompile and drop my new cepts.war into the applications directory. 
WebLogic, which is checking the app. dir each 3 seconds for a new deployment, notices 
this and takes the new binary and redeploys it instead of the old:

  03/12/2003 18:35:456 DEBUG ExecuteThread: '11' for queue: 'default' 
au.com.ce.cepts.project.P

  rojectStartUp:57: it's possible Shakti: : 9

  

  3/12/2003 18:35:37 Info Deployer 149033 activated application 
_appsdir_cepts_war on devServ

  er

  3/12/2003 18:35:37 Info Deployer 149074 Successfully completed deployment 
task: Activate ap

  plication _appsdir_cepts_war on devServer

  3/12/2003 18:35:38 Notice Application Poller 149404 Activate application 
_appsdir_cepts_war

   on devServer - Completed

  The above can is because I set the server in dev. mode.

  What problems are you having? Are you not seeing a new activation take place 
when you drop the new .war in?

  Nick

  P.S. Ignore the error relating to the Action servlet. It doesn't like being included 
in a .war, under my test configuration, and I've not had time to work out why yet. 
shakti_log.doc 




  -Original Message-
  From: Shakti [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, 3 December 2003 4:39 PM
  To: Struts Users Mailing List; [EMAIL PROTECTED]
  Subject: Re: Is it required to restart weblogic everytime after compiling ?? ? Need 
help Desperately .. :-(

  Hey Nick,

  I read thru all the docs and all the links that u gave me ..

  i cudn't find anything more that changing the boolean param , while i start

  the weblogic i am getting

  -Dweblogic.ProductionModeEnabled=false it means it is in development mode

  . wht are the other changes that i will have to make so that my java file

  changes are reflelected in the application after recompiling , without

  restarting the weblogic server .

  waiting for ur reply boss ...

  Thanks in advance ..

  shakti

  - Original Message -

  From: Nick Faiz [EMAIL PROTECTED]

  To: 'Struts Users Mailing List' [EMAIL PROTECTED]

  Sent: Wednesday, December 03, 2003 4:02 AM

  Subject: RE: Is it required to restart weblogic everytime after compiling ??

  ? Need help Desperately .. :-(



   Sure, but that isn't the same as redeploying a war or ear without

   restarting.

  

   Nick

  

   -Original Message-

   From: Kalra, Ashwani [mailto:[EMAIL PROTECTED]

   Sent: Tuesday, 2 December 2003 6:14 PM

   To: Struts Users Mailing List

   Subject: RE: Is it required to restart weblogic everytime after compiling

  ??

   ? Need help Desperately .. :-(

  

   IMO Reloading is not possible

RE: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-05 Thread Shakti Simanta
Hi Swati,
 I have already checked it .. yaar . its in development mode .. can 
anyone help me out of this damn trouble .. i am getting pissed up working .. 
day and night .. and restarting this weblogic again and again each time i 
debug .. :-( ...
stil waiting for a solution ...
chao ..
Shakti...


From: Dalmia, Swati [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: Is it required to restart weblogic everytime after compiling 
?? ? Need help Desperately .. :-(
Date: Fri, 5 Dec 2003 10:14:18 -0700

check in weblogic.cmd file if the weblogic is set in production environment 
?
I am using weblogic 8.1 and I never restart my server after compiling a 
single class file or jsp change
if changes in struts config file or web.xml then u might need to bounce 
your server

-Original Message-
From: Shakti [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 9:51 AM
To: Nick Faiz; Struts Users Mailing List
Subject: Re: Is it required to restart weblogic everytime after
compiling ?? ? Need help Desperately .. :-(
RE: Is it required to restart weblogic everytime after compiling ?? ? Need 
help Desperately .. :-(Hi Nick,
Sorry buddy i was busy with other stuff so cudn't reply to ur 
mails ... boss i am still facing the same problem .. i checked the logs 
even its showing that my new application is being activated .. but stil i 
can't see the changes getting reflected .. ?? but once i retstart i can see 
the changes .. :-(
My Questions are :
1 ) Is there any sort of cache that Weblogic maintains .. .. becuz of which 
new changed are not reflected ..
2) if u can just mail me ur startweblogic.cmd file ...

thanks buddy ..
Shakti
  - Original Message -
  From: Nick Faiz
  To: 'Shakti' ; Struts Users Mailing List ; [EMAIL PROTECTED]
  Sent: Wednesday, December 03, 2003 1:12 PM
  Subject: RE: Is it required to restart weblogic everytime after 
compiling ?? ? Need help Desperately .. :-(

  Shakti,

  Ok. Find, in attachment, a log of my starting WebLogic 7.2 up 
with a cepts.war file present within my applications directory. A servlet 
called ProjectStartUp runs and queries a database, following the directions 
of my web.xml:

  servlet

  servlet-nameprojectStartUp/servlet-name

  
servlet-classau.com.ce.cepts.project.ProjectStartUp/servlet-class

  load-on-startup3/load-on-startup

  /servlet

  Glance at the log, look for bold, and see the statement:

  au.com.ce.cepts.project.ProjectStartUp:57: done...: 9

  Then, I go to my source, find the log statement at line 57 of 
the ProjectStartUp servlet and change it from:

  logger.debug(done...:  + ProjectFacade.getCache().size() +  
\n\n\n\n);



  to:

  logger.debug(it's possible Shakti: :  + 
ProjectFacade.getCache().size() +  \n);

  Then I recompile and drop my new cepts.war into the applications 
directory. WebLogic, which is checking the app. dir each 3 seconds for a 
new deployment, notices this and takes the new binary and redeploys it 
instead of the old:

  03/12/2003 18:35:456 DEBUG ExecuteThread: '11' for queue: 
'default' au.com.ce.cepts.project.P

  rojectStartUp:57: it's possible Shakti: : 9

  

  3/12/2003 18:35:37 Info Deployer 149033 activated application 
_appsdir_cepts_war on devServ

  er

  3/12/2003 18:35:37 Info Deployer 149074 Successfully completed 
deployment task: Activate ap

  plication _appsdir_cepts_war on devServer

  3/12/2003 18:35:38 Notice Application Poller 149404 Activate 
application _appsdir_cepts_war

   on devServer - Completed

  The above can is because I set the server in dev. mode.

  What problems are you having? Are you not seeing a new 
activation take place when you drop the new .war in?

  Nick

  P.S. Ignore the error relating to the Action servlet. It doesn't like 
being included in a .war, under my test configuration, and I've not had 
time to work out why yet. shakti_log.doc



  -Original Message-
  From: Shakti [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, 3 December 2003 4:39 PM
  To: Struts Users Mailing List; [EMAIL PROTECTED]
  Subject: Re: Is it required to restart weblogic everytime after 
compiling ?? ? Need help Desperately .. :-(

  Hey Nick,

  I read thru all the docs and all the links that u gave 
me ..

  i cudn't find anything more that changing the boolean param , while i 
start

  the weblogic i am getting

  -Dweblogic.ProductionModeEnabled=false it means it is in development 
mode

  . wht are the other changes that i will have to make so that my java 
file

  changes are reflelected in the application after recompiling , without

  restarting the weblogic server .

  waiting for ur reply boss ...

  Thanks in advance ..

  shakti

  - Original Message -

  From: Nick Faiz [EMAIL PROTECTED]

  To: 'Struts Users Mailing List' [EMAIL PROTECTED

[OT] RE: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-05 Thread Wendy Smoak
 and restarting this weblogic again and again 
 each time i debug .. :-( ...
 stil waiting for a solution ...

Trim your posts!  Not only was it off topic, it was 400 lines long.  How
about doing your development work on Tomcat, then deploying to Weblogic?
This has the added advantage of forcing you to write code that'll run on
any container.

-- 
Wendy Smoak


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



RE: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-05 Thread Richard Yee
Shakti,
Have you consulted BEA support with this problem? It
seems to me that they or their website should provide
a direct response to your question.

Regards,

Richard

--- Shakti Simanta [EMAIL PROTECTED] wrote:
 
 Hi Swati,
   I have already checked it .. yaar . its in
 development mode .. can 
 anyone help me out of this damn trouble .. i am
 getting pissed up working .. 
 day and night .. and restarting this weblogic again
 and again each time i 
 debug .. :-( ...
 stil waiting for a solution ...
 chao ..
 Shakti...
 
 
 From: Dalmia, Swati [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List
 [EMAIL PROTECTED]
 To: Struts Users Mailing List
 [EMAIL PROTECTED]
 Subject: RE: Is it required to restart weblogic
 everytime after compiling 
 ?? ? Need help Desperately .. :-(
 Date: Fri, 5 Dec 2003 10:14:18 -0700
 
 check in weblogic.cmd file if the weblogic is set
 in production environment 
 ?
 I am using weblogic 8.1 and I never restart my
 server after compiling a 
 single class file or jsp change
 if changes in struts config file or web.xml then u
 might need to bounce 
 your server
 
 
 -Original Message-
 From: Shakti [mailto:[EMAIL PROTECTED]
 Sent: Friday, December 05, 2003 9:51 AM
 To: Nick Faiz; Struts Users Mailing List
 Subject: Re: Is it required to restart weblogic
 everytime after
 compiling ?? ? Need help Desperately .. :-(
 
 
 RE: Is it required to restart weblogic everytime
 after compiling ?? ? Need 
 help Desperately .. :-(Hi Nick,
  Sorry buddy i was busy with other
 stuff so cudn't reply to ur 
 mails ... boss i am still facing the same problem
 .. i checked the logs 
 even its showing that my new application is being
 activated .. but stil i 
 can't see the changes getting reflected .. ?? but
 once i retstart i can see 
 the changes .. :-(
 My Questions are :
 1 ) Is there any sort of cache that Weblogic
 maintains .. .. becuz of which 
 new changed are not reflected ..
 2) if u can just mail me ur startweblogic.cmd file
 ...
 
 thanks buddy ..
 Shakti
 
- Original Message -
From: Nick Faiz
To: 'Shakti' ; Struts Users Mailing List ;
 [EMAIL PROTECTED]
Sent: Wednesday, December 03, 2003 1:12 PM
Subject: RE: Is it required to restart weblogic
 everytime after 
 compiling ?? ? Need help Desperately .. :-(
 
 
Shakti,
 
Ok. Find, in attachment, a log of my
 starting WebLogic 7.2 up 
 with a cepts.war file present within my
 applications directory. A servlet 
 called ProjectStartUp runs and queries a database,
 following the directions 
 of my web.xml:
 
servlet
 
   
 servlet-nameprojectStartUp/servlet-name
 


servlet-classau.com.ce.cepts.project.ProjectStartUp/servlet-class
 
load-on-startup3/load-on-startup
 
/servlet
 
Glance at the log, look for bold, and see the
 statement:
 
au.com.ce.cepts.project.ProjectStartUp:57:
 done...: 9
 
Then, I go to my source, find the log
 statement at line 57 of 
 the ProjectStartUp servlet and change it from:
 
logger.debug(done...:  +
 ProjectFacade.getCache().size() +  
 \n\n\n\n);
 
 
 
to:
 
logger.debug(it's possible Shakti: :  + 
 ProjectFacade.getCache().size() +  \n);
 
Then I recompile and drop my new
 cepts.war into the applications 
 directory. WebLogic, which is checking the app. dir
 each 3 seconds for a 
 new deployment, notices this and takes the new
 binary and redeploys it 
 instead of the old:
 
03/12/2003 18:35:456 DEBUG ExecuteThread:
 '11' for queue: 
 'default' au.com.ce.cepts.project.P
 
rojectStartUp:57: it's possible Shakti: : 9
 

 
3/12/2003 18:35:37 Info Deployer 149033
 activated application 
 _appsdir_cepts_war on devServ
 
er
 
3/12/2003 18:35:37 Info Deployer 149074
 Successfully completed 
 deployment task: Activate ap
 
plication _appsdir_cepts_war on devServer
 
3/12/2003 18:35:38 Notice Application
 Poller 149404 Activate 
 application _appsdir_cepts_war
 
 on devServer - Completed
 
The above can is because I set the
 server in dev. mode.
 
What problems are you having? Are you
 not seeing a new 
 activation take place when you drop the new .war
 in?
 
Nick
 
P.S. Ignore the error relating to the Action
 servlet. It doesn't like 
 being included in a .war, under my test
 configuration, and I've not had 
 time to work out why yet. shakti_log.doc
 
 
 
 
-Original Message-
From: Shakti [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 3 December 2003 4:39 PM
To: Struts Users Mailing List;
 [EMAIL PROTECTED]
Subject: Re: Is it required to restart weblogic
 everytime after 
 compiling ?? ? Need help Desperately .. :-(
 
Hey Nick,
 
I read thru all the docs and all
 the links that u gave 
 me ..
 
i cudn't find anything more that changing the
 boolean param , while i 
 start
 
the weblogic i am getting

Re: [OT] RE: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-05 Thread Vic Cekvenich


Wendy Smoak wrote:
and restarting this weblogic again and again 
each time i debug .. :-( ...
stil waiting for a solution ...


Trim your posts!  Not only was it off topic, it was 400 lines long.  How
about doing your development work on Tomcat, then deploying to Weblogic?
This has the added advantage of forcing you to write code that'll run on
any container.
+ 1.

Or Resin, the both have a plug in to run w/ Eclipse so you set in even.
In general, propriatory code is inferior.
.V



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


Re: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-03 Thread Shakti
RE: Is it required to restart weblogic everytime after compiling ?? ? Need help 
Desperately .. :-(Nick i checked well my process is somewht differnt from yours..
1) I am not copying a new WAR file .. instead i am just recompiling my java files and 
the the app dir ( which i think is one and the same thing . )
2 ) but in the web.xml I have load-on-startup2/load-on-startup it is 2 intead of 
three i dont' know wht it means is it something related to this 

waiting for ur reply ..
Shakti

  - Original Message - 
  From: Nick Faiz 
  To: 'Shakti' ; Struts Users Mailing List ; [EMAIL PROTECTED] 
  Sent: Wednesday, December 03, 2003 1:12 PM
  Subject: RE: Is it required to restart weblogic everytime after compiling ?? ? Need 
help Desperately .. :-(


  Shakti,

  Ok. Find, in attachment, a log of my starting WebLogic 7.2 up with a 
cepts.war file present within my applications directory. A servlet called 
ProjectStartUp runs and queries a database, following the directions of my web.xml:

  servlet

  servlet-nameprojectStartUp/servlet-name

  servlet-classau.com.ce.cepts.project.ProjectStartUp/servlet-class

  load-on-startup3/load-on-startup

  /servlet

  Glance at the log, look for bold, and see the statement:

  au.com.ce.cepts.project.ProjectStartUp:57: done...: 9 

  Then, I go to my source, find the log statement at line 57 of the 
ProjectStartUp servlet and change it from:

  logger.debug(done...:  + ProjectFacade.getCache().size() +  \n\n\n\n);

  

  to:

  logger.debug(it's possible Shakti: :  + ProjectFacade.getCache().size() +  \n);

  Then I recompile and drop my new cepts.war into the applications directory. 
WebLogic, which is checking the app. dir each 3 seconds for a new deployment, notices 
this and takes the new binary and redeploys it instead of the old:

  03/12/2003 18:35:456 DEBUG ExecuteThread: '11' for queue: 'default' 
au.com.ce.cepts.project.P

  rojectStartUp:57: it's possible Shakti: : 9

  

  3/12/2003 18:35:37 Info Deployer 149033 activated application 
_appsdir_cepts_war on devServ

  er

  3/12/2003 18:35:37 Info Deployer 149074 Successfully completed deployment 
task: Activate ap

  plication _appsdir_cepts_war on devServer

  3/12/2003 18:35:38 Notice Application Poller 149404 Activate application 
_appsdir_cepts_war

   on devServer - Completed

  The above can is because I set the server in dev. mode.

  What problems are you having? Are you not seeing a new activation take place 
when you drop the new .war in?

  Nick

  P.S. Ignore the error relating to the Action servlet. It doesn't like being included 
in a .war, under my test configuration, and I've not had time to work out why yet. 
shakti_log.doc 




  -Original Message-
  From: Shakti [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, 3 December 2003 4:39 PM
  To: Struts Users Mailing List; [EMAIL PROTECTED]
  Subject: Re: Is it required to restart weblogic everytime after compiling ?? ? Need 
help Desperately .. :-(

  Hey Nick,

  I read thru all the docs and all the links that u gave me ..

  i cudn't find anything more that changing the boolean param , while i start

  the weblogic i am getting

  -Dweblogic.ProductionModeEnabled=false it means it is in development mode

  . wht are the other changes that i will have to make so that my java file

  changes are reflelected in the application after recompiling , without

  restarting the weblogic server .

  waiting for ur reply boss ...

  Thanks in advance ..

  shakti

  - Original Message -

  From: Nick Faiz [EMAIL PROTECTED]

  To: 'Struts Users Mailing List' [EMAIL PROTECTED]

  Sent: Wednesday, December 03, 2003 4:02 AM

  Subject: RE: Is it required to restart weblogic everytime after compiling ??

  ? Need help Desperately .. :-(



   Sure, but that isn't the same as redeploying a war or ear without

   restarting.

  

   Nick

  

   -Original Message-

   From: Kalra, Ashwani [mailto:[EMAIL PROTECTED]

   Sent: Tuesday, 2 December 2003 6:14 PM

   To: Struts Users Mailing List

   Subject: RE: Is it required to restart weblogic everytime after compiling

  ??

   ? Need help Desperately .. :-(

  

   IMO Reloading is not possible for the classes in server classpath. eg

  beans

   and other utility classes used by servlets or ejbs.

  

  

  

  

   -Original Message-

   From: Nick Faiz [mailto:[EMAIL PROTECTED]

   Sent: Tuesday, December 02, 2003 12:31 PM

   To: 'Struts Users Mailing List'

   Subject: RE: Is it required to restart weblogic everytime after

   compiling ?? ? Need help Desperately .. :-(

   

   

   Check this out:

   http://e-docs.bea.com/wls/docs70/programming/deploying.html#1125125

   

   Also see,

   http://e-docs.bea.com/wls/docs70/faq/deploy.html#740987

   

   Hunt down the mode var. in your startWebLogic.cmd script that specifies

RE: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-02 Thread Nick Faiz
Check this out:
http://e-docs.bea.com/wls/docs70/programming/deploying.html#1125125

Also see,
http://e-docs.bea.com/wls/docs70/faq/deploy.html#740987

Hunt down the mode var. in your startWebLogic.cmd script that specifies
production mode and set it to false.

Regards,
Nick Faiz
B2B e-Commerce Developer
Corporate Express Australia Ltd.

Phone: +61-2-9335-0495, Fax: 9335-0753, Email: [EMAIL PROTECTED]


-Original Message-
From: Shakti [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 2 December 2003 4:00 PM
To: Struts Users Mailing List
Subject: Is it required to restart weblogic everytime after compiling ???
Need help Desperately .. :-(


Hi,
 I am using Struts  weblogic , My Question is each time i do some
changes in my .java files the changes dont' get reflected immediately. Each
time after compiling i have to restart weblogic :-( .. which is taking a
hell lot of my time .. Can anyone suggest some weblogic setting thru which i
dont' have to restart the sever again  again to reflect my changes made on
an already deployed application on weblogic .

Thanks  Regards,
Shakti.
P.S : I am getting frustrated while debugging my code after each and every
minute change i have to restart it which is taking most of my development
time :-(
I am using weblogic 72

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



RE: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-02 Thread Kalra, Ashwani
IMO Reloading is not possible for the classes in server classpath. eg beans
and other utility classes used by servlets or ejbs.




-Original Message-
From: Nick Faiz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 12:31 PM
To: 'Struts Users Mailing List'
Subject: RE: Is it required to restart weblogic everytime after
compiling ?? ? Need help Desperately .. :-(


Check this out:
http://e-docs.bea.com/wls/docs70/programming/deploying.html#1125125

Also see,
http://e-docs.bea.com/wls/docs70/faq/deploy.html#740987

Hunt down the mode var. in your startWebLogic.cmd script that specifies
production mode and set it to false.

Regards,
Nick Faiz
B2B e-Commerce Developer
Corporate Express Australia Ltd.

Phone: +61-2-9335-0495, Fax: 9335-0753, Email: [EMAIL PROTECTED]


-Original Message-
From: Shakti [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 2 December 2003 4:00 PM
To: Struts Users Mailing List
Subject: Is it required to restart weblogic everytime after 
compiling ???
Need help Desperately .. :-(


Hi,
 I am using Struts  weblogic , My Question is each time i do some
changes in my .java files the changes dont' get reflected 
immediately. Each
time after compiling i have to restart weblogic :-( .. which 
is taking a
hell lot of my time .. Can anyone suggest some weblogic 
setting thru which i
dont' have to restart the sever again  again to reflect my 
changes made on
an already deployed application on weblogic .

Thanks  Regards,
Shakti.
P.S : I am getting frustrated while debugging my code after 
each and every
minute change i have to restart it which is taking most of my 
development
time :-(
I am using weblogic 72

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



This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst  Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.

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



Re: Is it required to restart weblogic everytime after compiling ??? Need help Desperately .. :-(

2003-12-02 Thread Shakti
Hi,
   i changed it to false but still :-( in order for my changes t get
reflected in the application i have to restart weblogic :-( .. Any other
solution for this FRUSTRATING PROBLEM :-(
desperately waiting for a reply ...
Thanks  Regards,
Shakti

- Original Message -
From: Nick Faiz [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 12:31 PM
Subject: RE: Is it required to restart weblogic everytime after compiling
??? Need help Desperately .. :-(


 Check this out:
 http://e-docs.bea.com/wls/docs70/programming/deploying.html#1125125

 Also see,
 http://e-docs.bea.com/wls/docs70/faq/deploy.html#740987

 Hunt down the mode var. in your startWebLogic.cmd script that specifies
 production mode and set it to false.

 Regards,
 Nick Faiz
 B2B e-Commerce Developer
 Corporate Express Australia Ltd.

 Phone: +61-2-9335-0495, Fax: 9335-0753, Email: [EMAIL PROTECTED]


 -Original Message-
 From: Shakti [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, 2 December 2003 4:00 PM
 To: Struts Users Mailing List
 Subject: Is it required to restart weblogic everytime after compiling ???
 Need help Desperately .. :-(


 Hi,
  I am using Struts  weblogic , My Question is each time i do some
 changes in my .java files the changes dont' get reflected immediately.
Each
 time after compiling i have to restart weblogic :-( .. which is taking a
 hell lot of my time .. Can anyone suggest some weblogic setting thru which
i
 dont' have to restart the sever again  again to reflect my changes made
on
 an already deployed application on weblogic .

 Thanks  Regards,
 Shakti.
 P.S : I am getting frustrated while debugging my code after each and every
 minute change i have to restart it which is taking most of my development
 time :-(
 I am using weblogic 72

 -
 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]



RE: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-02 Thread Nick Faiz
Sure, but that isn't the same as redeploying a war or ear without
restarting.

Nick

-Original Message-
From: Kalra, Ashwani [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 2 December 2003 6:14 PM
To: Struts Users Mailing List
Subject: RE: Is it required to restart weblogic everytime after compiling ??
? Need help Desperately .. :-(

IMO Reloading is not possible for the classes in server classpath. eg beans
and other utility classes used by servlets or ejbs.




-Original Message-
From: Nick Faiz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 12:31 PM
To: 'Struts Users Mailing List'
Subject: RE: Is it required to restart weblogic everytime after
compiling ?? ? Need help Desperately .. :-(


Check this out:
http://e-docs.bea.com/wls/docs70/programming/deploying.html#1125125

Also see,
http://e-docs.bea.com/wls/docs70/faq/deploy.html#740987

Hunt down the mode var. in your startWebLogic.cmd script that specifies
production mode and set it to false.

Regards,
Nick Faiz
B2B e-Commerce Developer
Corporate Express Australia Ltd.

Phone: +61-2-9335-0495, Fax: 9335-0753, Email: [EMAIL PROTECTED]


-Original Message-
From: Shakti [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 2 December 2003 4:00 PM
To: Struts Users Mailing List
Subject: Is it required to restart weblogic everytime after 
compiling ???
Need help Desperately .. :-(


Hi,
 I am using Struts  weblogic , My Question is each time i do some
changes in my .java files the changes dont' get reflected 
immediately. Each
time after compiling i have to restart weblogic :-( .. which 
is taking a
hell lot of my time .. Can anyone suggest some weblogic 
setting thru which i
dont' have to restart the sever again  again to reflect my 
changes made on
an already deployed application on weblogic .

Thanks  Regards,
Shakti.
P.S : I am getting frustrated while debugging my code after 
each and every
minute change i have to restart it which is taking most of my 
development
time :-(
I am using weblogic 72

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



This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst  Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.

-
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]



Re: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-02 Thread Shakti
Hey Nick,
I read thru all the docs and all the links that u gave me ..
i cudn't find anything more that changing the boolean param , while i start
the weblogic i am getting
-Dweblogic.ProductionModeEnabled=false it means it is in development mode
. wht are the other changes that i will have to make so that my java file
changes are reflelected in the application after recompiling , without
restarting the weblogic server .
waiting for ur reply boss ...
Thanks in advance ..
shakti

- Original Message -
From: Nick Faiz [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, December 03, 2003 4:02 AM
Subject: RE: Is it required to restart weblogic everytime after compiling ??
? Need help Desperately .. :-(


 Sure, but that isn't the same as redeploying a war or ear without
 restarting.

 Nick

 -Original Message-
 From: Kalra, Ashwani [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, 2 December 2003 6:14 PM
 To: Struts Users Mailing List
 Subject: RE: Is it required to restart weblogic everytime after compiling
??
 ? Need help Desperately .. :-(

 IMO Reloading is not possible for the classes in server classpath. eg
beans
 and other utility classes used by servlets or ejbs.




 -Original Message-
 From: Nick Faiz [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, December 02, 2003 12:31 PM
 To: 'Struts Users Mailing List'
 Subject: RE: Is it required to restart weblogic everytime after
 compiling ?? ? Need help Desperately .. :-(
 
 
 Check this out:
 http://e-docs.bea.com/wls/docs70/programming/deploying.html#1125125
 
 Also see,
 http://e-docs.bea.com/wls/docs70/faq/deploy.html#740987
 
 Hunt down the mode var. in your startWebLogic.cmd script that specifies
 production mode and set it to false.
 
 Regards,
 Nick Faiz
 B2B e-Commerce Developer
 Corporate Express Australia Ltd.
 
 Phone: +61-2-9335-0495, Fax: 9335-0753, Email: [EMAIL PROTECTED]
 
 
 -Original Message-
 From: Shakti [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, 2 December 2003 4:00 PM
 To: Struts Users Mailing List
 Subject: Is it required to restart weblogic everytime after
 compiling ???
 Need help Desperately .. :-(
 
 
 Hi,
  I am using Struts  weblogic , My Question is each time i do some
 changes in my .java files the changes dont' get reflected
 immediately. Each
 time after compiling i have to restart weblogic :-( .. which
 is taking a
 hell lot of my time .. Can anyone suggest some weblogic
 setting thru which i
 dont' have to restart the sever again  again to reflect my
 changes made on
 an already deployed application on weblogic .
 
 Thanks  Regards,
 Shakti.
 P.S : I am getting frustrated while debugging my code after
 each and every
 minute change i have to restart it which is taking most of my
 development
 time :-(
 I am using weblogic 72
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

 
 This message contains information that may be privileged or confidential
and
 is the property of the Cap Gemini Ernst  Young Group. It is intended only
 for the person to whom it is addressed. If you are not the intended
 recipient, you are not authorised to read, print, retain, copy,
disseminate,
 distribute, or use this message or any part thereof. If you receive this
 message in error, please notify the sender immediately and delete all
copies
 of this message.

 -
 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]



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



RE: Is it required to restart weblogic everytime after compiling ??? Need help Desperately .. :-(

2003-12-01 Thread Kalra, Ashwani
Hi,
Pls read this thread
http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=articlegroup=weblogic.develo
per.interest.jspitem=11050utag=

IMO not possible. However I have heard that there are IDE tools which do the
equivalent for you. 

/Ashwani



-Original Message-
From: Shakti [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 10:30 AM
To: Struts Users Mailing List
Subject: Is it required to restart weblogic everytime after compiling
??? Need help Desperately .. :-(



Hi,
 I am using Struts  weblogic , My Question is each time i 
do some changes in my .java files the changes dont' get 
reflected immediately. Each time after compiling i have to 
restart weblogic :-( .. which is taking a hell lot of my time 
.. Can anyone suggest some weblogic setting thru which i dont' 
have to restart the sever again  again to reflect my changes 
made on an already deployed application on weblogic .

Thanks  Regards,
Shakti.
P.S : I am getting frustrated while debugging my code after 
each and every minute change i have to restart it which is 
taking most of my development time :-(
I am using weblogic 72



This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst  Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.

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