Help in executing jsp files using weblogic server 6.0.
I have an operating system Windows2000, i have downloaded 30 day trial version of weblogic server 6.0.
I have a file called hello.jsp.
Where do i have to save hello.jsp file in weblogic server 6.0.
How do i execute hello.jsp through browser using weblogic server6.0.
As there is no properties file in weblogic server6.0.
TO run it i started default server and when i started default console it got opened in the browser as http://127.0.0.1:7001/console/index.jsp
Where do i have to save it and how do i open it in the browser.
Any help will be greatly appreciated.
Thanks,
I started the Start default Server and opened the http://localhost:7001/ in the bowser and by default
this loaded the index.html file
and when i tried to change index.html to hello.jsp i got the same error message as before
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
"mils" <[email protected]> wrote:
>
>There are quite a few reasons it couldn't be working, and things you can try...
>
>Ensure there are no errors on startup of the server in the console, especially that there is not an error about another web listener running on the same port.
>
>Try just http://localhost:7001 by default this should load the index.html file that comes with the WebLogic installation.
>
>If you are running on a corporate LAN, your browser settings may not be set correctly to find "localhost", ensure that your browser is not using a proxy server for local addresses, or put localhost:7001 in the list of exceptions for which the browser should not look at the proxy server.
>
>Hope this helps!
>
>"Red" <[email protected]> wrote:
>>
>>I created hello.jsp file under E:\weblogic\wlserver6.0\config\mydomain\applications\DefaultWebApp_myserver\hello.jsp
>>and i started the Start Default Server and when i try to open
>>http://localhost:7001/hello.jsp in the browser
>>getting an error message as
>>
>>Error 404--Not Found
>>From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
>>10.4.5 404 Not Found
>>The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
>>
>>If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
>>
>>Any help?
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>"Mils" <[email protected]> wrote:
>>>
>>>In WebLogic 6.0, to run simple JSP pages with the default installation, the JSP files should be put in....
>>>
>>>C:\bea\wlserver6.0\config\DefaultWebApp_myserver
>>>
>>>...assuming you installation was on the C: drive.
>>>
>>>To access a file bar.jsp in this directory, go to http://localhost:7001/bar.jsp
>>>
>>>"Red" <[email protected]> wrote:
>>>>
>>>>I have an operating system Windows2000, i have downloaded 30 day trial version of weblogic server 6.0.
>>>>I have a file called hello.jsp.
>>>>Where do i have to save hello.jsp file in weblogic server 6.0.
>>>>How do i execute hello.jsp through browser using weblogic server6.0.
>>>>As there is no properties file in weblogic server6.0.
>>>>
>>>>TO run it i started default server and when i started default console it got opened in the browser as http://127.0.0.1:7001/console/index.jsp
>>>>
>>>>Where do i have to save it and how do i open it in the browser.
>>>>
>>>>Any help will be greatly appreciated.
>>>>Thanks,
>>>>
>>>>
>>>>
>>>>
>>>
>>
>
Similar Messages
-
How to load Java properties file dynamically using weblogic server
Hi,
We are using Java properties file in Java code. Properties in java properties file are frequently modified. If I keep these properties file in project classpath or as part of war, I will have to redeploy application after each change.
We are using Weblogic Server.
Can you please suggest me how can this properties file be loaded at weblogic server startup. Then in that case, how to refer property file in Java code?
What is the best practice for this?
Thanks,
ParshantAnother alternative is, keep the property file in any pre-defined location. Write a class which reads the properties from the file and returns the one which is requested by caller and deploy this class. Whenever you have to change the properties just update the property file on server and next call to fetch the property should return the updated one.
Downside of this approach is file I/O everytime. To overcome that you can actually "cache" the properties in a hashmap. Basically when any property if requested, first check the hashmap, if not found then only read from property file and also update in hash map. Next time same property will be returned from hash map itself. The hash map will be cleared at every server restart since its in the memory. You will also need to build a method to clear the hashmap when you update the values in the property file on server.
This solution would be suitable for small size files and when network overhead of calling a DB needs to be avoided. -
hi there,
I have a problem when a I execute JSP files. This is the message that I encounter everytime I executing JSP files:
" Java System Application Server Execution Note: make sure that the j2ee module or application has been deployed before using execution."
It seems that Application Server can not be started and I don't khow what I must do.
Best Regards.
Zolfagharhi friend
u just restart the application or deploy again on server.
i hope u won't get any error.
[email protected] -
Using weblogic.Server to create domains
Not sure this is the right group for this question....
I am reading some weblogic docs on creating a domain using weblogic.Server (http://e-docs.bea.com/wls/docs81/admin_ref/cli_tasks.html#1331827).
For the most part it has worked as expected and I find it preferable to using
the domain cfg wizard. However, is there a way to use a template jar like you
can with the config wizard, for instance any of the jars in the
$WL_HOME/common/templates/domains/Hello Jay, thanx for ur help... this time i didnt get the args missing error but i have this one about "can't overwrite"
mauro@MacBookPro:HelloWorldEAR $ java -classpath /Users/mauro/beaWS102/wlserver_10.0/server/lib/weblogic.jar weblogic.BuildXMLGen /Users/mauro/Documents/WLprojects/HelloWorldEAR
Can't overwrite cause
mauro@MacBookPro:HelloWorldEAR $ cd ..
mauro@MacBookPro:WLprojects cursor$ sudo java -classpath /Users/mauro/beaWS102/wlserver_10.0/server/lib/weblogic.jar weblogic.BuildXMLGen /Users/mauro/Documents/WLprojects/HelloWorldEAR
Can't overwrite cause
mauro@MacBookPro:WLprojects cursor$ cd HelloWorldEAR/
mauro@MacBookPro:HelloWorldEAR $ ls
APP-INF META-INF appUtils bin helloWorldEJB helloWorldWebApp src
macbook-de-cursor:HelloWorldEAR cursor$ cd ..
mauro@MacBookPro:WLprojects $ sudo java -classpath /Users/mauro/beaWS102/wlserver_10.0/server/lib/weblogic.jar weblogic.BuildXMLGen -file build.xml /Users/mauro/Documents/WLprojects/HelloWorldEAR
Can't overwrite cause
Do u know something about this message?? I really need to set up this thig to be able to start my own project :P Thanx in advance
Best regards,
Mauro
==========================================================
Solution
Ok, i make it work!! I have in my develop structure a helloWorldWebContent/META-INF/ and here i had a web.xml and a weblogic.xml
The weblogic.xml file cause problems... i deleted and it works
I was following this tutorial
http://download.oracle.com/docs/cd/E13222_01/wls/docs100/programming/splitcreate.html#wp1098227
and i create all those files...
Dude, u have a great blog! Now it is in my bookmarks
Edited by: mgaldames on 17-may-2010 7:20
Edited by: mgaldames on 17-may-2010 7:21 -
Missing license file for: WebLogic Server 6.0
Hi,
You solved your problem, but I still have the same problem when I was using Weblogic
server 6.1 and I try to connect to Oracle 8.17 on my Win2k.
the license.bea file IS in c:\bea, and c:\bea IS included in classpath. the license
for jDriver/Oracle is 5-28.
I do not know why?
James
"kc" <[email protected]> wrote:
>
Hi Jignesh Patel,
I should include the license file in classpath. Thanks you for your help.
"Jignesh Patel" <[email protected]> wrote:
First , check your classpath & your license file must be in your classpath.
Can
you post exact error message ?
Thanks
Jignesh Patel -
Deploying a single jsp file in weblogic 9.2
Hi All,
I have installed weblogic server 9.2 on production environment . I have deployed a web application in exploded way, where i will be updated the JSP files frequently.
Whenever a JSP file is updated , the changed are not taking place.
Please suggest me , after changing a jsp file do i need to update the deployemnt or there is any to deploy a single JSP file using wenlogic.deployer utility.
Please suggest where to find documents for the same.
Please guide me on this issue.
Regards,
KrikarHi Kirkar,
As you have mentioned that your WLS92 Server is running on Production mode. In production mode we dont change our JSPs frequently. The JSPs are Automatically updated within 1-Second in Development environment (PRODUCTION_MODE=false if this is mentioned in your serverSatrtScript).
In Production Environment if you want that your JSPs whould be updated then Please specify the *<page-check-seconds> Tag in "weblogic.xml" file*.
NOTE: The value <page-check-seconds>1</page-check-seconds> means check the pages every second. This is the default value in a development environment.
For more informations...Please refer to http://download.oracle.com/docs/cd/E11035_01/wls100/webapp/weblogic_xml.html#wp1038491
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Is Wonderful...Proofs are here) -
Load balancing of DB RAC using weblogic server
Hi All,
I want to test the load balancing of Data base RAC for my application. I got the box which is installed RAC in it with two nodes. I configured the multidatasource which points to individual data sources to each node.
Is this configuration is correct or not? to test the load balancing of the Database. I come to know that there is something called SCAN from oracle 11g but it is not supported 100% by web-logic server(we are using weblogic server 9.2MP3).
How many requests I made all the requests are going to the Node1 only not even one is gone to the node2. Any specific reason.
Thanks,
Venkat.Another alternative is, keep the property file in any pre-defined location. Write a class which reads the properties from the file and returns the one which is requested by caller and deploy this class. Whenever you have to change the properties just update the property file on server and next call to fetch the property should return the updated one.
Downside of this approach is file I/O everytime. To overcome that you can actually "cache" the properties in a hashmap. Basically when any property if requested, first check the hashmap, if not found then only read from property file and also update in hash map. Next time same property will be returned from hash map itself. The hash map will be cleared at every server restart since its in the memory. You will also need to build a method to clear the hashmap when you update the values in the property file on server.
This solution would be suitable for small size files and when network overhead of calling a DB needs to be avoided. -
Reg: How to Run a Script File in WebLogic Server 10.3.3
Hi WebLogic Experts,
In our project we are using WebLogic Serve 10.3.3. I need to run one script file. could you please suggest me where should i need to place that script file in WebLogic Server 10.3.3 and How to run & stop that Script file.?
please experts i waiting for your's reply..
Thanks & Regards,
Induja..1. You can put a command line into startWebLogic.sh to start your script file.
2. In your proyect you can create a java class to run the script file.
3. You can create a java class to run the script file an setup it like a startup class into weblogic server.
4. You can create a java class to run the script file an setup it like a job scheduler into weblogic server.
In what time you need run this script file? -
Location for dll files in weblogic server 6.1 sp2
"where to keep *.dll files in weblogic server 6.1 sp2". Application is deployed on weblogic server 6.1 sp2. Application is being integrated with webmethod to publish data. For that we need to put awssl40jn.dll in weblogic server. Could not able to locate where to put this dll file.
You can have the dll's anywhere. You just need to mention the location
in java.library.path.
For example if you have your Dll's in C:\bea\lib
You need to mention the following in your command line args:
java -Djava.library.path=C:\bea\lib ****Other Command Line Args****
weblogic.Server
Hope this helps.
-Kiran
"Dave Martin" <[email protected]> wrote in message news:<[email protected]>...
I don't see a DLL like yours in a fresh install of WLS 6.1 SP2
This is the complete list of DLLs I find in my fresh install of WLS 6.1 SP2 (starting
from the BEA home) on Windows:
/jdk131/bin/dt_shmem.dll
/jdk131/bin/dt_socket.dll
/jdk131/bin/jdwp.dll
/jdk131/jre/bin/ActPanel.dll
/jdk131/jre/bin/agent.dll
/jdk131/jre/bin/awt.dll
/jdk131/jre/bin/classic/jvm.dll
/jdk131/jre/bin/cmm.dll
/jdk131/jre/bin/dcpr.dll
/jdk131/jre/bin/dt_socket.dll
/jdk131/jre/bin/fontmanager.dll
/jdk131/jre/bin/hotspot/jvm.dll
/jdk131/jre/bin/hpi.dll
/jdk131/jre/bin/hprof.dll
/jdk131/jre/bin/ioser12.dll
/jdk131/jre/bin/java.dll
/jdk131/jre/bin/jawt.dll
/jdk131/jre/bin/jcov.dll
/jdk131/jre/bin/JdbcOdbc.dll
/jdk131/jre/bin/jdwp.dll
/jdk131/jre/bin/jpeg.dll
/jdk131/jre/bin/jpins32.dll
/jdk131/jre/bin/jpishare.dll
/jdk131/jre/bin/jsound.dll
/jdk131/jre/bin/msvcrt.dll
/jdk131/jre/bin/net.dll
/jdk131/jre/bin/NPJava11.dll
/jdk131/jre/bin/NPJava12.dll
/jdk131/jre/bin/NPJava131.dll
/jdk131/jre/bin/NPJava32.dll
/jdk131/jre/bin/NPOJI600.dll
/jdk131/jre/bin/packager.dll
/jdk131/jre/bin/server/jvm.dll
/jdk131/jre/bin/server/jvm_g.dll
/jdk131/jre/bin/verify.dll
/jdk131/jre/bin/zip.dll
/wlserver6.1/bin/fastfile.dll
/wlserver6.1/bin/iisforward.dll
/wlserver6.1/bin/iisproxy.dll
/wlserver6.1/bin/jsafe.dll
/wlserver6.1/bin/md5.dll
/wlserver6.1/bin/md5_g.dll
/wlserver6.1/bin/nodemanager.dll
/wlserver6.1/bin/oci816_7/weblogicoci37.dll
/wlserver6.1/bin/oci816_7/weblogicoxa37.dll
/wlserver6.1/bin/oci816_8/weblogicoci37.dll
/wlserver6.1/bin/oci816_8/weblogicoxa37.dll
/wlserver6.1/bin/oci817_8/weblogicoci37.dll
/wlserver6.1/bin/oci817_8/weblogicoxa37.dll
/wlserver6.1/bin/oci901_8/weblogicoci37.dll
/wlserver6.1/bin/oci901_8/weblogicoxa37.dll
/wlserver6.1/bin/proxy30.dll
/wlserver6.1/bin/proxy35.dll
/wlserver6.1/bin/proxy36.dll
/wlserver6.1/bin/stackdump.dll
/wlserver6.1/bin/stackdump_g.dll
/wlserver6.1/bin/terminalio.dll
/wlserver6.1/bin/wlenv.dll
/wlserver6.1/bin/wlntio.dll
/wlserver6.1/bin/wlntio_g.dll
/wlserver6.1/bin/wlntrealm.dll
/wlserver6.1/bin/wlntrealm_ms.dll
/wlserver6.1/uninstaller/resource/iawin32.dll
/wlserver6.1/uninstaller_servicepack/resource/iawin32.dll
manoj <[email protected]> wrote:
"where to keep *.dll files in weblogic server 6.1 sp2". Application is
deployed on weblogic server 6.1 sp2. Application is being integrated
with webmethod to publish data. For that we need to put awssl40jn.dll
in weblogic server. Could not able to locate where to put this dll file. -
Using WebLogic Server with Oracle9i RAC
A new white paper has been posted to dev2dev -
"Using WebLogic Server with Oracle9i RAC" at
http://dev2dev.bea.com/products/wlserver81/whitepapers/wls_bea_hp.jsp
Abstract:
"This paper presents best practices when using WebLogic Server with Oracle Real Application Clusters. It includes an analysis of
various use-case and failure scenarios and proposes possible recovery solutions. This paper also includes an evaluation of
Transparent Application Failover, a product from Oracle that is functionally similar to WebLogic Server MultiPools.""satyam" <[email protected]> writes:
Can I use WebLogic Application Server 6.0, the mid level server (not the express
or the enterprise version)
with VisiBroker 4.x ?If you have ejb support - then yes - although you may want to wait for
a future 6.0 rolling patch to get updated IDL generation.
andy -
Weblogic 8.1 and Eclipse using Weblogic Server Tools
I am working on a project that has been developed with Weblogic 8.1 without integration into an IDE (Eclipse, etc.) We are trying to convert the source tree to a form usable within Eclipse using Weblogic Server Tools. We want to make deployment on developer workstations quicker and easier and provide for server side debugging. There is not much documentation on how to do this that I have been able to find. I have just finished reading the details of the split directory strucuture in the Weblogic documentation and understand that Server Tools uses the split directory concept. My question is basically how we create the project in Eclipse (with Server Tools plug-ins) initially. Is anyone out there still using Weblogic 8.1 and Eclipse 3.3 (Europa) using Weblogic Server Tools that can help?
There isn't much in a way of documentation that's explicit to WebLogic Server Tools, but a lot of Workshop 10.2 documentation applies. Basically, you will want to create Dynamic Web Projects to house your code. On the first page of Dynamic Web Project wizard, you will get a chance to define and target a server (WLS 8.1 in your case). That will configure your project classpath for WLS 8.1 and get everything else squared away.
Note that there is only very basic support for 8.1. In particular, the split-directory concept is not supported, but deployment is taken care of for you behind the scenes, so the details shouldn't matter that much. -
See Java System properties using WebLogic Server console
hi
If I deploy "systempropertiesweb.war" [1] on WebLogic Server I can see all or individual Java System properties,
e.g. http://localhost:7101/systempropertiesweb/systemproperties?property=java.version results in "java.version = 1.6.0_24"
Is it possible to see the same Java System properties using WebLogic Server Administration Console? If so, how?
( via http://localhost:7101/console )
- [1] at SystemPropertiesApp/SystemPropertiesWeb/deploy/systempropertiesweb.war
in http://www.consideringred.com/files/oracle/2013/SystemPropertiesApp-v0.01.zip
many thanks
Jan VerveckenThanks for your reply Timo.
Timo Hahn wrote:
I don't think that there is an option to see this in the admin console. ...Thanks for the confirmation.
... There my be a mbean but I did not find it.Well, if I start JConsole (e.g. at C:\oracle\jdevstudio111240-mw\jdk160_24\bin\jconsole.exe ) and connect to e.g. Local Process "weblogic.Server", on the MBeans tab I can navigate to java.lang:type=Runtime which has an SystemProperties attribute.
But, I don't know how to get to this same MBean using the WebLogic Server Administration Console (if possible).
regards
Jan Vervecken -
How to execute .sql file using ODI
Hi All,
I need to execute .sql file using ODI.
I tried @{path}{file} command in ODI procedure selecting oracle technology.but it is failing.
Do any one have any other idea to execute .sql file.
Thanks in advanceOhk...I think you can try creating batch file(.bat) if its Windows & call that from ODIOSCommand.
The bat file should contain scripts which call .sql file using sqlplus & there you can use @{path}{file} format.
See if this helps.
Regards,
Santy -
Reg : Executing .exe file from application server
Dear Experts,
i have a requirement to execute an .exe file from application server,i tried with method CL_GUI_FRONTEND_SERVICES=>EXECUTE but it executes .exe file from presentation server only.can
anyone kindly clarify to execute .exe file from application server?
Thanks in advance,
SujayHi,
Did you search before posting?
Re: Execute a .exe file present in the Application Server
Vikranth -
I need How to retrive data from sap r/3 using weblogic server
Hi every body .
I need how to retrieve r/3 data using BAPI methods
and using weblogic server
very criticalHai.
check the links.
http://www.bea.com/content/news_events/white_papers/BEA_WLP_SAP_Portlets_81.pdf
http://www.info-sun.com/docs/wp_sapinter.pdf
regards.
sowjanya.b
Maybe you are looking for
-
Using TM with Drobo on Airport Extr - what format? HFS+ or Mac OS Extended?
I have a Drobo that I used to connect directly to my iMac, which was in HFS+ format. I've recently purchased an Airport Extreme, to which I want to attach my Drobo so it can be used as a shared USB drive for all my other Macs. When I redirect Time Ma
-
The record is not added into the table.
Hi, I am new to Hibernate. I have contact.hbm.xml <?xml version="1.0"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <hibernate-mapping> <class name="Con
-
HT204266 I cant get past the security questionsand I dont in order to change my questions
I cant get past the security questions and I dont know the ole answers in order to change my questions
-
Botton video on menu gets pixelated and pulses when burt DVD is played back
Created a menu with buttons that contain video from the same asset it plays. They were HD mpegs that were converted to SD for the project. When viewed in simulator, everything looks fabulous. However, when I burn the disc and play it back on a laptop
-
Inserting rows although the raise_application_error is raised
Hi, I have created two triggers on a table (one before insert and the other after insert). The after trigger calls a procedure... The before insert trigger is as follows: create or replace trg_ before insert on xf or each row begin select a_date from