Jdevloper11g+weblogic integrated server -Hibernate jars not loading
I'm trying to call Session bean from manged bean.Session bean internall calls Hibernate DAO.
I did project setup and everything looks OK.But keep getting Hibernate calsses not found error when i try to run jsp page.
Please advise me..how to load hibernate jars into integrated weblogic.
My environment
Jdev11g
Oracle10g
Ejb3
Hibernate3
JSF
Thanks
Kalee
When you define the library settings for Hibernate, don't use "Include Jar" but create a new library, eg Project scope, and check the Default Deployment check box.
--olaf
Similar Messages
-
Jar not loaded Error when deploying weblogic.jar in tomcat
Hi experts,
This time i have one more problem,
i have deployed my application in tomcat such that when tomcat starts my java program also gets started, for my java program i had to use a weblogic library which is in "web-inf / lib / weblogic.jar" . but when i start tomcat i get error like
INFO: validateJarFile (C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\MyApp\WEB-INF\lib\weblogic.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Dec 4, 2006 8:27:18 PM org.apache.catalina.core.StandardPipeline registerValve
INFO: Can't register valve org.apache.catalina.core.StandardContextValve@1362012
org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@1bc82e7 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@1bc82e7
for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category))
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
what could be the problem in loading weblogic.jar
my platform configuations are
TOMCAT 5.5
OS - windows 2000have u done the servlet naminga and mapping in the web.xml file??
Kumar Allamraju <[email protected]> wrote:
><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
><html>
>Have you registered the servlet in web.xml?
><p>--
><br>Kumar
><p>Deepak Balakrishna wrote:
><blockquote TYPE=CITE>Hi.
><p>I am having trouble deploying a servlet to WLS 6.1
><p>a) The name of the servlet is HaServlet and it's duly noted in web.xml
><br>b) I created a directory
><br>config/examples/applications/cluster-servlet/WEB-INF
><br>c) Added web.xml under WEB-INF/. web.xml was created using the weblogic
><br>DDInit CLI
><br>d) Added the servlet classfile (HaServlet.class) under
><br>WEB-INF/classes/samples/cluster/servlet/.
><br>e) Tried to access it by http://host:port/cluster-servlet/HaServlet
><p>I get
><br>Error 404--Not Found
><p>What am I missing? I also tried restarting the app server to no avail.
><p>Thx,
><br>- deepak</blockquote>
></html>
>
-
Sql developer 1.5.4 can't connect to SQL Server: "SSPI library not loaded"
Hi,
as Dana N. pointed out in her thread (Re: How do I make a connection to SQL Server Express using SQL Developer 1.5.3? I get the same error:
error: Status: Failure test failed I/O error: SSO failed: Native SSPI library not loaded. Check the java.library.path system property
But ... I'm on sql developer 1.5.4.59.40 and tried with both the jtds from the download via "Help -> Check for updates" and the jtds-1.2.2-dist.zip from sourceforge. Both times I configured the 3rd-party-driver in "Tools -> Preferences -> Database -> Third Party JDBC Drivers" as described in http://www.oracle.com/technology/oramag/oracle/08-may/o38sql.html.
The error above remains.
Can someone please give a hint on "java.library.path system property"?
Where can you find it?
Regards,
Frank.Hi Frank
This message means that the driver code is unable to locate a DLL to load up and use. Looking at the message I suspect that the DLL in question <jtds-dist>\SSO\ntlmauth.dll .
There are a couple of ways of making the Java VM locate the DLL, assuming you are using windows then the easiest would be to add the directory <jtds-dist>\SSO to you path environment (replacing <jtds-dist> with the actual path to your JTDS distribution).
Regards
Rob Cooper -
Forgot weblogic admin server password and not able to run to reset it.
Hi Folks,
I forgot my Weblogic 11g server admin account details and now I'm unable to reset the password as well. I tried following the steps mentioned in ORACLE-BASE - Reset the AdminServer Password in WebLogic 11g and 12c but I couldn't execute the below mentioned java command as the required class file is not identifible. could you please assist.
java weblogic.security.utils.AdminAccount newAdmin newPassword .
Thanks
Vachow@Hi,
To reset the password,please do the following:
1.- Make sure Weblogic Server instance is stopped.
2.- Make a backup of the LDAP folder of the admin server as well as managed servers (you may rename those folders).
3. Set your environment variables by running setDomainEnv.sh (UNIX) or setDomainEnv.cmd (Windows). For UNIX only environments do as follows:
. ./setDomainEnv.sh (Notice the space between the dots)
4. cd to security directory in your instance.
(eg: $WL_HOME/user_projects/domains/base_domain/security)
5. Run:
java weblogic.security.utils.AdminAccount admin_user admin_pass .
Remember to change “admin_user” and “admin_pass” to your need.
Also, don’t forget the period “.” at the end of the above command, it is required.
6. After running the command, the file “DefaultAuthenticatorInit.ldift” will get updated.
7. Delete the following file from “ldap” folder:
cd WL_HOME/user_projects/domains/base_domain/servers/AdminServer/data/ldap
rm DefaultAuthenticatormyrealmInit.initialized
8. Go to folder DOMAIN_HOME/servers/AdminServer/security
9. Edit the boot.properties file and change the password to the value already used on step 5. Do this for all the servers in the domain.
10. Start Weblogic Server (Weblogic Server will encrypt the password for you). -
Hello, Hi all of you.
I am new developer in Weblogic Integration, have a issue plz tell me.
I am trying to add a new process but that process is not adding in my project its showing that "Unable to render the process. Correct problems in source." its come btwn then start node nd ending node. when i just see that java file in a design view.
Edited by amit.15.gupta at 04/01/2008 5:22 AMPlease ask this question in the SOA Suite forum which is the right forum for all integration technologies:
http://forums.oracle.com/forums/category.jspa?categoryID=194 -
I have had firefox since this computer was new and never had an issue. when I was prompted to update to 8.0 I thought nothing of it... but since it updated I get the error screen with: '''The proxy server is refusing connections'''
Firefox is configured to use a proxy server that is refusing connections.
Check the proxy settings to make sure that they are correct.
Contact your network administrator to make sure the proxy server is
working.Check the connection settings.
*Tools > Options > Advanced : Network : Connection > Settings
*https://support.mozilla.com/kb/Options+window+-+Advanced+panel
If you do not need to use a proxy to connect to internet then select "No Proxy" if the default "Use the system proxy settings" setting doesn't work.
See "Firefox connection settings":
*https://support.mozilla.com/kb/Firefox+cannot+load+websites+but+other+programs+can -
Weblogic 10.3 _wl_cls_gen.jar not honoring resource paths
I have simple application that utilizes ADF, and also utilizes a web service end point. I am successfully able to deploy and run within JDeveloper 11g's built in server. The issue I have is when deploying to a stand alone Weblogic 10.3 server. I have my resources packaged into a war and the folder structures are correct. The issue in particular has to do with the system looking for my wsdl.
I get the following error while trying to run the system:
java.io.FileNotFoundException: zip:C:/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/ewpsApplication/9gfvtn/war/WEB-INF/lib/_wl_cls_gen.jar!/com/docucorp/webservices/ewps/service/DocumentService.wsdl
I understand that it is stating that it can't find this resource, the problem is that the resource is package in the following directory:
/com/docucorp/webservices/ewps/service/_2005_12_01/DocumentService.wsdl
It is like the system is ignoring the _2005_12_01 directory when looking for the resource. Can anyone help me out. By the way, I'm a novice at both Jdeveloper and WebLogic.I too have the same problem with the wlcls_gen.jar
Any ideas about how to make things like resources available from here? This all works fine if I manually go in and extract this jar back into the WEB-INF/classes directory.
Can I turn off this wlcls_gen.jar from being created? -
Weblogic Admin console applet does not load
I have installed Weblogic 6.1 SP3 with JDK 1.4.2_03. The admin console applet was
working initially but when I installed oracle 8.1, the applet failed to load.
A cross sign appears instead of navigation applet tree in the console application.
I have set the classpath and java_home variables correctly. I tried to point java_home
to jdk1.3.1 (java version shipped with Weblogic 6.1) and also changed entire classpath
to point to jdk1.3.1 but no effect. The same configuration works on another machine
where oracle is not installed.
Please help...
Thanks in advance
MaheshIf you have any pride you will get off Tripod as quickly as possible. It forces popups and other unwanted advertising on visitors. Any time I see that a site is on Tripod or About, I just ignore it and click the next choice.
BTW if you stay on Tripod, you should consider changing the 'e' in your user name to an 'o'. -
My server was running fine with the following services enabled: Mail, Calender, Contacts, DNS, Websites, Open Directory, Messages, SUS.
I believe a power cut shut down the machine (mac mini server) over the weekend, and it didn't boot back up.
When I started the machine, it logged in fine and the desktop environment was fine.
When I started the server app, it booted up, but warned me that some services were unavailable. I noted that only 3 services appeared to be ON (DNS, Webites, and Calender (I think)). When I tried to turn the other services ON I got an error, but cant remember what it was (I know this doesnt help). The error was the same for all of the services I tried.
When I went onto the services that were already ON, I got the same error, and they turned OFF.
So I deleted the server.app, trashed it, and reinstalled from the app store (after a shut down and reboot)
When I start the server.app now, it prompts me to 'Set up your Server' as you would expect.
I can continue past this
Agreed to this, obviously.
I am then prompted to put my admin U/N and P/W in
I put my usual details in here (they were already inputted anyway)
It goes through the usual configuring of services
and finally completes:
When I press Finish, nothing happens, other than the 'Go Back' button becoming available.
Going back does nothing. The only wasy to get rid of this box, is to go to the toolbar and quit there.
So, my server was working fine - and now I cant get access to it.
It appears that some of the services are running (well, websites are), as these can be seen from other machines (and not cached).
As for backups - I'm not running TM so cant roll back, but have files if the last resort is to format.......but I dont want to go down that route - obviously.
Any ideas on how to get past this - and even why it happened?Thanks for the suggestion keg55.
As I couldnt open the server app, I wouldn't have been able to turn the services off easily (I take it it can be done via command line).
I resorted to a nice clean install, and selective restoration of my backup, so a nice clean image to begin again with. Thanks for the advice though. -
I have downloaded the latest driver from Intel, Ver. 9.1.1.1016 for the Intel 82801BB/GR (ICH7 Family LPC Interface Controller 27B8 and Server 2008 Standard will not recognize the controller or hardware (Code 0028) I have checked on every possible thread discussing this event and no one has seemed to resolve this issue. The Mainboard being used is a Asus P564WS WS Professional LGA775
NOTE: All of the latest MS Server updates are downloaed and installed.Hi,
It seems there is no Windows sever 2008 compatible driver for Asus p5w64 motherboard.
For your information, you can check if hardware is compatible with Windows Server from the following website:
Windows Server catalog
http://www.windowsservercatalog.com/default.aspx
Thanks.
This posting is provided "AS IS" with no warranties, and confers no rights. -
Unable to access URL for a webservice in weblogic integration server
Hi
I have an application in which i deployed a webservice , however when i am trying to access it , it throws the exception weblogic.webservice.tools.wsdlp.WSDLParseException . "failed to retrieve WSDL from URL"Hi
The error you typed is not enough. Can you please give us more information about error in log. (wls and application log) -
Application does not load correctly when deploying to standalone server
All,
I have created simple application implementing fusion theme. Applicaiton works fine when I run on integrated server but when deployed on standalone server it does not load any images or the theme itself. afrloop keep incrementing in status bar and ends up with java script error while later.
I deployed another test application on standalone server and that works fine i.e. theme gets loaded correctly. Also, how should I include images on the page? I have a images folder in web content folder but they dont get loaded.
Any help will be appreciated.
Thanks,
DipalLabVIEW now uses the Microsoft installer. It's possible that you need to upgrade the version that's on the Win2K box. I think the latest service packs from Microsoft include it.
-
Integration Server not found while creating Business system
Hi all,
I m facing following problems in XI.
While creating Business system, "integration server" name is not displayed in the drop down box. and
I m getting the error "Unable to read software component versions from System Landscape Directory "XXXXXX:50000"" while importing software components in Repository from SLD.
thanks and regards
vijayHi Vijay
Please check if you have assigned the correct Integration server to the business system in SLD.
and for the the software component error check if the user has required access (roles assigned) for importing the software component.
Thanks
-Mitesh -
Adding secondary ADFS server to farm fails with Could Not Load Assembly error
Hi all,
I have two servers running Server 2012 R2.
There are two AD sites, in site 1, I have the primary ADFS server running on a member server. In site 2 I have a secondary ADFS server running on the only DC in the site. There will be WAP servers publishing these servers in either site.
I successfully set up the first ADFS server in site 1, and this is working ok. However, when I set up the server in site 2 I get the following error during the prerequisite checker:
Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. Access is denied.
Unable to retrieve configuration from the primary server. Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. Access is denied.
I ran this as my domain admin account and also as domain\administrator which is seldom used.
When I run the resulting PowerShell script, I get errors relating to the GSMA, so not sure if that is where my issue lies. Here is the script:
# Windows PowerShell script for AD FS Deployment
Import-Module ADFS
# Get the credential used for performaing installation/configuration of ADFS
$installationCredential = Get-Credential -Message "Enter the credential for the account used to perform the configuration."
Add-AdfsFarmNode `
-CertificateThumbprint:"Thumbprint Here" `
-Credential:$installationCredential `
-GroupServiceAccountIdentifier:"DOMAIN\STSSvc`$" `
-PrimaryComputerName:"machine.domain.net"
I tried using the FQDN of the ADFS server as well as the common name of sts.domain.net, neither worked.
Any suggestions?
Andrew HodgsonHi,
Thanks for your post.
According to the error message, it is more about permission issue.
Please refer to this artile about how to resolve the error "Could not load file or assembly or one of its dependencies. Access is denied"
http://blogs.msdn.com/b/sayanghosh/archive/2007/04/21/solution-to-could-not-load-file-or-assembly-or-one-of-its-dependencies-access-is-denied.aspx
Regards.
Vivian Wang -
Cloned OMS - WebLogic Admin Server not available....
Greetings,
We are working our way through an active active R4 OMS setup, and we just successfully cloned oms1 to oms2 via cloud control, and executed the post install steps. We now need to access each of the OMSs WebLogic Admin Server Console to confirm LDAP settings, and the oms2 WebLogic Admin Server Console is unavailable. The oms2 clone has the same WebLogic Admin Server details as oms1 (see below).
Is that by design, i.e. only one WebLogic Admin Server Console with two load balanced OMSs?
Which files do we need to edit on oms2 to get oms2's WebLogic Admin Server on-line?
oms1:
/u01/app/oracle/product/middleware_r4/oms/bin/emctl status oms -details
WLS Domain Information
Domain Name : GCDomain
Admin Server Host : oms1.mastec.com
Admin Server HTTPS Port: 7102
Admin Server is RUNNING
oms2:
WLS Domain Information
Domain Name : GCDomain
Admin Server Host : oms1.mastec.com
Admin Server HTTPS Port: 7102
Thank you,The WLS admin server only exists on the first OMS host. Usually an SLB is used for load balancing.
For information on HA (High Availability) solutions, see:
http://docs.oracle.com/cd/E24628_01/install.121/e24089/ha_intro.htm#EMADV9611
Regards,
- Loc
Maybe you are looking for
-
Lately I've been having trouble installing a few applications. Some don't do anything when I trying opening them and other just say "There is no default application selected to open the document". I tried setting this- /Applications/Utilities/Install
-
We are at a loss when it is asking for a password, we have tired a number of them would it behoove us to reset?
-
About 3 weeks ago, I got pushed into a pool, fully clothed, with my iPod touch in my back pocket. Miraculously, I was able to salvage it (or so I thought) by putting it for a couple of days in a dessicator jar and then recharging it. It seemed all
-
Why is hot spare in use while disk state is Okay
In my Solaris 10 RAID-5 volume, metastat shows the hot spare in use, but all the disks' state is Okay. Why is this? I do suspect the first disk was bad at one time, and may have been pulled out and re-inserted in without issuing any solaris commands.
-
Which R packages are required for Predictive Analysis?
Hi, I have installed SAP Predictive Analysis and have installed R - 3.0.0. When I try to use the predict functionality in PA, i keep receiving error messages (such as the one attached). Is it because I havent installed all of the right packages in R?