- This topic has 5 replies, 2 voices, and was last updated 18 years, 1 month ago by Riyad Kalla.
-
AuthorPosts
-
cbryantMemberI can deploy a web app and start the WebLogic 7 app server. If I open a web browser (either from within Eclipse or externally) and try to access the web app home page, I get:
Error — 403 Forbidden
The server understood the request, but is refusing to fulfill it. etc.
Everything works OK, if I start WebLogic using the WebLogic script externally. I can view the web page in a browser.
Is this some kind of security problem? I specified the weblogic.policy file in the server config info.
It would be nice to be able to do everything from within Eclipse.
Riyad KallaMemberIt’s hard to say, there must be some configuration settings different between the two ways you are starting the app server. If you check your external startup script, is it referencing another security policy file or something like that?
cbryantMemberThe index.html file was missing from the deployment. Must have been some kind of problem when the app was deployed.
I can run the app, now. However, I am having a problem, when I try to set breakpoints. I get an error message about missing line number attributes. The add line number attributes to .class files setting has been checked all along in the compiler settings. So, I don’t know why I am getting this error message. I tried upgrading the compiler version from 1.3 to 1.4, but that didn’t help. I am getting the same error message with another plugin.
Riyad KallaMemberTry and shut down your app server, remove your deployment, then Project > Clean your project. THen recreate the deployment and try and debug again. You need to be running both WL and Eclipse with JDK 1.4 atleast.
cbryantMemberI added ‘debug=”true”‘ to the javac Ant task. I can set breakpoints, and step through using the debugger, now. The compiler setting checkboxes are for building using the Eclipse compiler. I was building the project using Ant.
Thanks for all your help.
Riyad KallaMemberAhh, yep that will do it. Thanks for following up.
-
AuthorPosts