Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Switch log file

jairamMar 7 2013 — edited Mar 8 2013
Hi Everyone,

We are using the 9i database and during the import, we have temporarily added 2 new log groups (Each 2 gb in size) to improve the import performance. After the completion of the import we have a plan to drop those newly added log groups. In order to do that we have issue the command "Alter system switch logfile".,
but it is running more than 8 hrs., We have increased the Log_archive_max_processes value also but still it is running.,

Could anyone please suggest about how to improve the speed of switch log file operation?

BANNER
----------------------------------------------------------------
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
PL/SQL Release 9.2.0.8.0 - Production
CORE 9.2.0.8.0 Production
TNS for HPUX: Version 9.2.0.8.0 - Production
NLSRTL Version 9.2.0.8.0 - Production


Regards,
Jai
This post has been answered by unknown-7404 on Mar 8 2013
Jump to Answer

Comments

843841
http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html

1: web-inf needs to capitalized as WEB-INF

2: The compiled class file for MyServlet should be under WEB-INF/classes/servlets

3: The web.xml reference to the MyServlet class file should be:

<servlet-class>servlets.MyServlet</servlet-class>
843841
yes I have the web-inf capitalized. But I believe that in the
web.xml we can use the slash syntax
<servlet-class>servlets/MyServlet</servlet-class> 
I have use it in the past with success.
Nevertheless thank you for your answer but you haven't replied to the basic one?
It is allowed to place web-inf inside another folder right?such as folder web?
843841
Well did you read the tomcat documentation on web application directory structure in the link?
843841
Yes I've read it and all I am saying is that in previous applications I used the slash syntax and I think it worked.But that is not my problem here.All I am asking is why when I removed the web folder and the root folder below webapps was WEB-INF then the application worked.What was I doing wrong(if it was just the slashes it would not work in any case).
843841
http://www.roguewave.com/support/docs/leif/leif/html/servletug/7-7.html#771

http://www.coreservlets.com/Apache-Tomcat-Tutorial/

http://www.onjava.com/pub/a/onjava/2001/03/15/tomcat.html

http://www.tek271.com/articles/deploying_servlets_on_tomcat.html

http://www.onjava.com/pub/a/onjava/2001/04/19/tomcat.html?page=4

Every example listed uses a period delimited class name. Not one mentions being able to use a slash deliminted class name.
843841
Ok I do not disagree but my initial question was if it is ok to use a folder where WEB-INF is stored.Because in my example when I enclosed folder WEB-INF in folder web I had the forementioned problem when I removed folder web and the folder WEB-INF was in the root of the folder webapps of Tomcat things were ok.And so I am asking why this was happening??Forget about the slalshes I accept that slashes is the correct way for web.xml.
843841
The WEB-INF folder has to directly under the web application root directory. Any other WEB-INF folders will be ignored.
843841
Ok thank you very much for your help.
1 - 8
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 5 2013
Added on Mar 7 2013
16 comments
389 views