I have a weblogic 10.3.6 installed in windows server 2008 R2 64-bit with Java 7 update 111. With in weblogic server I have 4 manged server running many java applications.
System Matrics For Weblogic 10.3.6 Server Windows 7
I have new client web-services application need to be deployed in one of the 4 manged server and this application require TLS1.2 as requested by third party services provider application. For that purpose, I am setting the following property in client application code like
System.setProperty('jdk.tls.client.protocols', 'TLSv1.2');
Question:
Will the statement
System.setProperty('jdk.tls.client.protocols', 'TLSv1.2');
change the protocol for only manged server where the application is deployed ? Or it will be for all application servers available within weblogic ?If this command change the protocol for all manged servers, then this is a problem since other applications may get affected. What is the solution in this case and what is the right action to be taken to enable the required SSL protocol for that specific application without affecting other running applications ?
SalmanSalman79522 gold badges1717 silver badges4848 bronze badges
1 Answer
- It should affect all managed servers on that box (probably after the nodes are restarted)
- TLS is compatible with SSL - just not with insecure handshake protocols (which you should have stopped doing years ago) For more information, see: Modifiying Weblogic Server to use TLS
Community♦
Trent BartlemTrent Bartlem1,79111 gold badge77 silver badges1919 bronze badges
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Not the answer you're looking for? Browse other questions tagged javasslweblogictls1.2 or ask your own question.
I am using eclipse with weblogic server. In order to add the project to the weblogic server, it needs to support Java Persistance 2.0, however when trying to install it, I keep getting this message
Error Enabling Java Persistence 2.0 in Weblogic Server installation
I tried to follow the Oracle documents to solve this but they make no sense since I'm pretty novice with Weblogic.
Please help! I understand the second part of the manual but I have no idea how to configure this Top Link stuff. Any help is greatly appreciated. Thank you!
hthomoshthomos10222 gold badges44 silver badges1414 bronze badges
3 Answers
I have enabled JPA 2.0 on a Unix-based system using a variation on the 'Installing Manually' steps in the Oracle doc you referenced. The key is to add the two JPA jars at the beginning of the classpath. In my case, we wanted JPA 2.0 support for a single managed server in the domain, so I added the following hack at the beginning of the setDomainEnv.sh script:
Adjust the
TEST_Server1
name (or just remove the if) and path
references to align with your environment.David HuntDavid Hunt
Probably, the WebLogic Server Monitor was locking the weblogic.jar, so you couldn't upgrade the server.
I had the same issue and solved it by switching to a new workspace. There, I could add the server again and upgrade it, without being disturbed by the WebLogic Server Monitor.
Hans BeemsterboerHans Beemsterboer
I ended up using the 'Smart Update' utility that was located in: start->program files->Oracle WebLogic->Smart Update (Windows server, obviously)
The hardest part was locating the Oracle patch number for JPA 2 for my version of WebLogic (10.3.6).
For those of you in the same boat this is the info for the patch for version 10.3.6:
All Rights Reserved.The graphical images and content enclosed with this document are viewable for private use only. MEDIEVAL II: TOTAL WAR HEAVEN Copyright © 2006-2019 HeavenGames LLC. Empire total war polish. All otherrights - including, but not limited to, distribution, duplication, and publish by any means - are retainedby HeavenGames LLC. Federal law provides criminal and civil penalties for those found to be in violation.In addition, please read our and.MEDIEVAL II: TOTAL WAR © 2006 Creative Assembly.
Smart Update patch 7BWI for WebLogic Server 10.3.6
This patch contains Smart Update patch 7BWI for WebLogic Server 10.3.6.0 Business in a box full crack free download for windows 10.
Enable JPA2.0 support on Weblogic server.
- copy content of this zip file with the exception of README file to your SmartUpdate cache directory (MW_HOME/utils/bsu/cache_dir by default)
- apply patch using Smart Update utility
I am not sure how to attach files to this post or I would just include the patch. Message me if you want me to email a copy to you.
DrewDrew
Not the answer you're looking for? Browse other questions tagged javaeclipseoraclepersistenceweblogic or ask your own question.
I have WebLogic 11G (10.3.6) on Linux Server and SQL Server 2012 on Windows 2012. I would like to create the connection pool to SQL Server from WebLogic using Windows Active Directory Kerberos authentication.
I am looking for steps to accomplish the above. I found information in bits and pieces but looking for clear steps. Any help is greatly appreciated.
vmraovmrao
1 Answer
I have access to WebLogic 10.3.3. So all version numbers are according to that. But the principals are the same.
- Login through the console
- Lock and Edit. If this isn't a production mode server, you won't need to do this.
- Go to Services > JDBC > Data Sources and click 'New'.
- Give it a name and JNDI name. I probably don't need to mention that the JNDI name is the important one. Also, choose the 'Database Type' as 'MS SQL Server'.
- Next you'll have to choose the driver. I didn't observe anything about distribute transactions in your question. Thus, I'm assuming you won't need an 'XA' driver.
- Again, I didn't see anything about Global Transactions in your quesiotn. So in the next step, disable it.
- Next is the information about your Database; its name, Host's IP, and Port. If you have a named instance, add the name after the IP like this: instance_name. Since you want to use Kerberos, don't enter the Username and Password.
- In the next step, you need to tell your datasource to use kerberos. Add ';AuthenticationMethod=kerberos' to end of the URL field. Connection properties are separated with a ';'. For example, jdbc:sqlserver://192.168.10.56:17888;AuthenticationMethod=kerberos
- Next, specify which Servers in your Domain will have access to this DataSource. Basically, specifying the DataSource's target servers.
Side notes and other important settings: Where to place cc in a memo.
- When you specify the 'AuthenticationMethod' connection property with the value of 'kerberos', any username or password will be ignored.
- Your database server must be administered by the same Domain Controller that administers the Weblogic server.
- Under $WL_HOME/server/lib find krb5.conf (Kerberos configuration file containing values for the Kerberos realm and the KDC name for that realm) and open it in a text editor. Specify the system properties java.security.krb5.realm and java.security.krb5.kdc. In Windows Active Directory, the Kerberos realm name is the Windows domain name and the KDC name is the Windows domain controller name.
- The application and driver code bases must be granted security permissions in the security policy file of the Java 2 Platform. Something like this:grant codeBase 'file:/WL_HOME/server/lib/-' { permission javax.security.auth.AuthPermission 'createLoginContext.DDTEK-JDBC'; permission javax.security.auth.AuthPermission 'doAs' permission javax.security.auth.kerberos.ServicePermission 'krbtgt/your_realm@your_realm', 'initiate'; permission javax.security.auth.kerberos.ServicePermission 'MSSQLSvc/db_hostname:SQLServer_port@your_realm', 'initiate'; };
where:
- WL_HOME is the directory in which you installed WebLogic Server.
- your_realm is the Kerberos realm (or Windows Domain) to which the database host machine belongs.
- db_hostname is the host name of the machine running the database.
- SQLServer_port is the TCP/IP port on which the Microsoft SQL Server instance is listening.
I must say though I don't think you searched hard enough. Because almost everything I wrote here came from the online documentation:
Amir KeibiAmir Keibi
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.