NPE Starting v8.1 Server using WebLogic Server Tools 1.0.0
After installing/configuring Eclipse JEE Europa and BEA WLS 1.0.0, I receive an NPE when attempting to start a v8.1 Server. The log message is listed below. Any ideas?
- Ron
!ENTRY org.eclipse.core.jobs
!MESSAGE An internal error occurred during: "Starting server - BEA WebLogic Server v8.1".
!STACK 0
java.lang.NullPointerException
at org.eclipse.jst.server.generic.core.internal.GenericServerBehaviour.setupLaunch(GenericServerBehaviour.java:408)
at org.eclipse.jst.server.generic.core.internal.ExternalServerBehaviour.setupLaunch(ExternalServerBehaviour.java:66)
at com.bea.workshop.wls.legacy.Weblogic81ServerBehaviour.setupLaunch(Weblogic81ServerBehaviour.java:183)
at org.eclipse.jst.server.generic.core.internal.ExternalLaunchConfigurationDelegate.launch(ExternalLaunchConfigurationDelegate.java:97)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:766)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:608)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:601)
at org.eclipse.wst.server.core.internal.Server.start(Server.java:1265)
at org.eclipse.wst.server.core.internal.Server.synchronousStart(Server.java:1662)
at org.eclipse.wst.server.core.internal.StartServerJob.run(StartServerJob.java:34)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Ron,
I am sorry to hear that you are experiencing problems with WLS Tools. We
will investigate the issue you've reported as soon as possible. To make
the investigation move along more smoothly, can I ask you to open a bug
report in our public bug tracking system?
http://bugzilla.bea.com
Please include the stack trace from your message, which operating system
you are running on and which service pack of WLS 8.1 you are using.
Thanks,
- Konstantin
Similar Messages
-
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 -
Failed to start Admin Server for Weblogic Server Domain
I Created a domain named mydomain in weblogic server 10.3 in server 2003.But when i start Admin Server for Weblogic Server Domain from startmenu, it failed.
I examined the log under domains\mydomain\servers\AdminServer\logs\AdminServer.log and got the following information:
java.lang.NoClassDefFoundError:weblogic/ldap/EmbeddedLDAPChange
at weblogic.ldap.EntryChangeListenerImpl.receiveEntryChanges(EntryChangeListenerImpl.java:28)
Caused by :java.lang.ClassNotFoundException: weblogic.ldap.EmbeddedLDAPChange
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
Caused by :java.util.zip.ZipException: error reading zip file
at java.util.zip.ZipFile.read(Native Method)
at java.util.zip.ZipFile.access$1200(ZipFile.java:29)
weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: weblogic.security.spi.ProviderInitializationException: A failure occurred attemping to load LDIF for provider RoleMapper from file ...\domains\mydomain\security\XACMLRoleMapperInit.ldift.
at ...(CommonSecurityServiceManagerDelegateImpl.java:465)
Caused by: com.bea.common.engine.ServiceInitializationException: weblogic.security.spi.ProviderInitializationException: A failure occurred attemping to load LDIF for provider RoleMapper from file ...\domains\mydomain\security\XACMLRoleMapperInit.ldift.
at .. (ServiceEngineImpl.java:365)
Caused by: com.bea.common.engine.ServiceInitializationException: weblogic.security.spi.ProviderInitializationException: A failure occurred attemping to load LDIF for provider RoleMapper from file ...\domains\mydomain\security\XACMLRoleMapperInit.ldift.
at .. (BootStrapServiceImpl.java:910)
Caused by: <openjpa-1.1.1-SNAPSHOT-r422266:891341 nofatal user error>kodo.jdo.UserException: This operation cannot be perfomed while a Transaction is active.
at org.apache.openjpa.kernel.BrokerImpl.close(BrokerImpl.java:4087)
####<Critical><WebLogicServer><SOA><Adminserver><main><<WLS Kernel>><><><1282012271468><BEA-000362><Server failed. Reason:
There are 1 nested errors:
weblogic.security.service.SecurityServiceRuntimeException: [Security:090399] Security Services Unavailable
at weblogic.security.service.CommonSecurityserviceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:916)
I ignored some detailed error message.The runtime environment is server 2003 Enterprise Edition sp2.
Thx in advance for any reply.Hello Djam,
Please review the following:
The FMW WebLogic Server (WLS) installation has been configured to use a non-default Java temporary files directory,
i.e. the following has been set in the WebLogic startup or setDomainEnv.sh script:
EXTRA_JAVA_PROPERTIES="-Djava.io.tmpdir=/appl/oracle/temp_java_files ${EXTRA_JAVA_PROPERTIES}"
Reference: How to Change the WebLogic Server Location for Temporary Files (Doc ID 1336002.1)
When the Middleware home was restored the directory specified by java.io.tmpdir parameter was missing,
Therefore an IOException occurred when opening the wallet and WLS was unable to initialize the OPSS successfully.
To resolve the issue re-create the directory specified by the java.io.tmp dir parameter, and make sure the owner and group access are the same as for the FMW installation.
Unable Start AdminServer: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException (Doc ID 1923395.1)
Bogdan -
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 -
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 -
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. -
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. -
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. -
How can I mapping directory by using Weblogic Server?
Hi,
We used to use iPlant as the web server. How can mapping directory using Weblogic
server?
$PATH=$wl_home/config/epdm/applications/DefaultWebApp/WEB-INF/classes
such as to map the following:
From To
/rok/servlet $PATH/servlet-dev/WEB-INF/classes
/rok/imagest $PATH/servlet-dev/images
/rok/html $PATH/servlet-dev/htm
/servlet $PATH/servlet-dev/servlet
Thanks!
HanqingUse JMX. See http://dima.dhs.org.
Peace,
Cameron Purdy
Tangosol, Inc.
Clustering Weblogic? You're either using Coherence, or you should be!
Download a Tangosol Coherence eval today at http://www.tangosol.com/
"Nicole" <[email protected]> wrote in message
news:3c4d6daa$[email protected]..
>
Hi all,
in my EJBs I want to know, on which server instance I´m running. I needthis for
logging info. How can I get the servers name?
When I load the JNDI tree and select java:comp, an error occurs and a lotof information
is printed. One is weblogic.Server and that is what I´m searching for.
I use WLS 6.1 SP1
Any ideas? Thanks,
Nicole -
PI 7.11: Cannot connect to server using message server:...
Hello Guys,
we make the Application Management for a Customer PI System.
Scenario:
- the SAP Gui Connection to the ABAP Stack is routed via SAPRouter and Works fine.
SAP Gui -> our SAP Router -> VPN Box from Customer -> Firewall Customer -> ABAP Stack PI System
- WebAccess its working fine, the Customer use Webdispatcher on every PI Server...
Browser -> VPN Box from Customer -> Firewall Customer -> Java Stack (Port: 5xx00 btw. 81xx (Webdispatcher))
Problem:
Our Problem ist, we can not proceed the Integration Builder or the ESB, the Java Web Start works fine and open the Logon Screen Correctly -> but i fill the Logon Screen with my User name and Password and press Logon come the follwing Error:
"Cannot connect to server using message server: ms://<hostname>.<domain>:8134/P4"
In the Details from the Error Message:
"<hostname>.<domain>:53404 Reason: com.sap.engine.services.rmi_p4.P4IOException:
Cannot open connection to host: <IP-Adress of Central Instance> and Port: 53404"
The Customer says, the Firewall is open with the IP Adresses and P4 Port but i dont think so...
Can everybody help me, or have tips for me! I have checked a lot of OSS Messages (PI High Availabilty etc... its all correct on the System)
Sorry for my bad English
Best Regards,
MarkusHi Markus,
did you check if the browser is using a proxy? (In this case your scenario unfortunately won't work).
P4-port should generally be routed via a proxy (described in the help.sap.com), but within the PI-Tools(JNLP) the proxy-usage is not implemented. There is even a SAP-note that describes how to check the JavaWebStart-Proxyconfiguration, but this won't help either.
If there is a proxy defined in the browser everything is working fine till you pass the logon-screen but even with the correct "javaws"-settings you won't be able to go on.
(This problem is pretty bad if you do have developers and the SAP-servers seperated because of security issues. I'm hoping that this malfunction will be solved with upcoming patches.)
Solution: Establish a connection without any proxy in between.
E.g.: a terminal server in the same network
It would be helpful to find more people with the same problem to force a fix from SAP for that.
If anyone else is having problems with this, please add a comment to this thread.
Best regards
Christian -
Hi SAP Guru's
When PISUPER or any any of the enduser is trying to login in the Integration Builder , they are getting error
Cannot connect to server using message server: ms://xiidhasoft:50004/P4
I have tryed to search in SDN and got below solution but no success
1. Exchange Profile of PI - http://host:port/exchangeProfile
2. Check with the rmi port number.
3. if rmi port number is empty or any number is present ( check with Tr code: SMICM - services - check for p4 port number - it will be ex: 5<nr>04)
4. fill the rmi port number as present in the P4.
OR
implement note 864268
I have Netweaver PI 7.1 .
Please suggest some alternative solution.
Thanks & Regards
Vinay PatelYou may check your local PC Java Network Setting.
Troubleshooting:
Probably Javau2122 WebStart does not detect the correct Proxy Settings. In this case please proceed as follows:
To change the Proxy Settings for Javau2122 Web Start:
1. Click Start --> Run and enter javaws. Press button OK.
2. Control Panel -> Programs ->Java -> Network Settings...
3. Select Direct Connection to switch off the proxy settings and press button OK.
If this still does not work, select Use proxy server to set manually the HTTP Proxy and Port.
Contact your network administrator for the correct settings. -
IFS Server and Weblogic Server compatibility.
We are planning to host IFS Server on one Machine and Weblogic Server on another machine. Can we access IFS Server from Weblogic Server, which resides in another machine?
Presently we have installed Oracle IFS along with apache and we are comfortable running our programs developed using the IFS Java API, JSP and Java Beans.
Please let us know whether it is possible for the same, where Oracle IFS is installed in another machine and Weblogic is installed in another machine.
Best Regards
Sujeem HariesIt's not advisable, the general advice is to try to keep the SharePoint servers as clean as possible for both stability and security.
Having said that it is possible to install the Office suite on a SharPoint server and there are no massive gotchas i'm aware of. It is also worth noting that MS do not support automated (unattended) use of office applications.
http://support.microsoft.com/kb/257757/en-gb -
What is diff between oracle application server and weblogic server?
what is the exact difference between oracle application server and weblogic application server?
The difference between Oracle Application Server AND WebLogic Server has been discussed in a lot of forums dated 2008 and earlier comparing OAS10g with WebLogic10.0/WebLogic9.2
But, now since Oracle has taken over WebLogic, this is not really important.
Now, OAS has no further releases post 10g. WebLogic Server will be the Oracle's strategic application server going forward.
So, if your query is for choosing one of them for a new environment, you are better of with WebLogic Server 10.3.6 OR WebLogic Server 12g
As we will not have further releases of OAS and also OAS10g will be end of life soon, we recommend Oracle WebLogic Server.
If you still want to know the differences, here is one such old oracle documentation link that talks about it
http://docs.oracle.com/cd/B10467_16/migrate.904/b10425/asmwl02.htm
Arun -
Differences between Weblogic Server and Weblogic Server Suite?
Hi
What is the differences between Weblogic Server and Weblogic Server Suite, beside licens costs?
Regards
/MartinWebLogic server standard edition, you get the WebLogic with no clustering.
Clustering is available in the WebLogic Enterprise Edition.
The WebLogic Suite also gives you Coherence and JRockit real-time
A desciption of the various products can be found here: http://www.oracle.com/us/products/middleware/application-server/index.html
Maybe you are looking for
-
Help please. Using Captivate 4 to capture an internal system. Using training mode. Whilst capturing the text entries are clicking ok but on Preview the text entry box isn't there. Checked settings and it works in all other applications I capture bu
-
I received the error (in iCal on my iMac): "The server responded with an error". The error message is very large, and if there is a way to acknowledge and close it I can't find it. Because this error message is open, I can't do anything in iCal. Any
-
I recently got a replacement iphone and backed up all my contacts on icloud to the phone. I had over 200 contacts saved. This morning I had all of my contacts, now they are gone. My phone was in my locker the entire day, I did not touch any settings.
-
Unable to attach documents in Edit mode of Reply to a Discussion
Hi SCN, I am unable to attach documents in Edit mode of Reply to a Discussion (No Choose file button). Is it a bug or a specific case due to some circumstances? Referring to thread How to maintain total asset price where I was trying to replace an a
-
J_security_check in form-based authentication - not checking for blank passwords
I am using the LDAP Security Realm to authenticate against an iPlanet Directory Server. All works as expected when a user-id and password are entered for form-based authentication. However, when a userid is entered but no password, j_security_check l