weblogic

Changes made in js file or views file or css file doesn't gets reflected for the user

拜拜、爱过 提交于 2019-12-13 07:59:49
问题 I have developed a single page web application with multiple views on it. For rendering these views ng-if has been used. Each view has a separate controller. Many click functionality has been handled using Jquery. For backend, java has been used. The whole application has been developed in spring MVC and deployed on WebLogic . The problem is whenever I make any changes to the views or the js file it won't get reflected after deploying the new WAR file without clearing cache and doing a hard

Accesing spring boot's application.properties on weblogic 10.3.6

帅比萌擦擦* 提交于 2019-12-13 07:38:27
问题 I am trying to acces a value defined in application.properties in a following way: @Value("${server.url}") private String serverUrl; It works on embedded tomcat, but when I upload it to Weblogic I get the following error: Error creating bean with name 'authorizationServiceImpl': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'server.url' in value "${server.url}"; nested exception is java.lang

weblogic jdbc Datasource error BEA-001131 Closed Connection

♀尐吖头ヾ 提交于 2019-12-13 07:28:51
问题 I have Installed weblogic 10.3.5 with jrocket 1.6.0_33. Oracle Fusion Middleware 11.1.1 on Windows Environment. On database side I have Oracle database 11gR2 RAC environment with Two instance on Linux Environment. I have created GRIDLINK DataSource with XA DRIVERS. NAME: test JNDI: jdbc/testDS NOTE: I have used SCAN IP for this DataSource configuration. FAN ENABLED checked. ONS HOST : scan-ip:6200 Not using "ONS Wallet". DataSource was created successfully. Testing is done. Now when I start

Class not found Exception from Weblogic 9.2

南楼画角 提交于 2019-12-13 07:14:56
问题 In my JSF project workspace, I have a Java project A and a Weblogic EJB project B that uses the Java project. On generating the EAR I can see that the jar for Project A and B are there in the EAR as well as that of other projects in the workspace. However, on trying to access class from A in B i am getting a class not found exception. The Ejb Project B has the managedbean/dao/ejb/delegate and at this point the EJB is not getting called at all. The managedbean is instantiated and from another

Retrieve current server's provider URL at runtime on weblogic (non-deprecated way)

丶灬走出姿态 提交于 2019-12-13 07:11:34
问题 I have an Singleton Service deployed to a Weblogic cluster, i'd like to know the provider url (listen address and port) of the server on which the singleton service is deployed from the singleton itself (server side, not logs). I found this (old) article from Oracle, and wrote this method to construct the provider url. private static String getCurrentServerUrl() throws NamingException { weblogic.management.MBeanHome home = (weblogic.management.MBeanHome) new Environment().getInitialContext()

Implement compression while sending hashMap over the network on Weblogic 11g server

百般思念 提交于 2019-12-13 07:05:14
问题 I have a hashMap that needs to travel from server to client over network. Now when the size increases beyond some limit provided at socket buffer the following exception is thrown. Caused by: weblogic.socket.MaxMessageSizeExceededException: Incoming message of size: '3002880' bytes exceeds the configured maximum of: '3000000' bytes for protocol: 't3' While googling it out I found that the socket size should be increased but that is not required as this is not such a good solution. Then I am

How to set the classpath of properties file in Weblogic Admin Console?

一曲冷凌霜 提交于 2019-12-13 06:59:04
问题 I am using Apache Tomcat Server. While the application is loading it reads from a properties file and the file will be usuall placed in the lib folder of Tomcat server. Since I am using Windows 7 and I need to test the application on Weblogic Server 10.3.5 While running the application it cannot deploy the application to the server because the server cannot find the properties file. I tried giving the path of the properties file in Servers > AdminServer > Server Start > Class Path and tried

Could not save Weblogic JTA settings via admin console

别说谁变了你拦得住时间么 提交于 2019-12-13 06:14:27
问题 I'm trying ti increase JTA transaction timeout via admin console, but getting next error: Why does it happen? Any ideas? Also, if you know how could I change timeout without using admin console, please suggest. EDIT 1: Tried to use WLST, result is exactly the same EDIT 2: Tried to recreate new admin, result is exactly the same 回答1: It almost sounds like a weblogic bug. Posting as an answer because I bet it will work: Bring down your domain Go to your domain_home/config folder and edit the

JPA entity manager not correctly injected - Weblogic

╄→尐↘猪︶ㄣ 提交于 2019-12-13 05:47:39
问题 I have an EAR app (to deploy on Weblogic 12c), that has a "persist" componenent. The "persist" component uses JPA (implementation: EclipseLink) to persist the objects. The bean that uses the entityManager is declared as @Stateless and the entity manager is injected though the @PersistenceContext annotation. The problem is, i have an NullPointerException each time i try to access the entityManager (meaning, he has not been correctly injected). @Stateless @TransactionManagement

No saved view state could be found for the view identifier

萝らか妹 提交于 2019-12-13 05:39:09
问题 When I was running my JSF application on Jetty server it was running fine. But as I moved this to Weblogic server, it started giving me this error. javax.faces.application.ViewExpiredException: /wsListing.xhtmlNo saved view state could be found for the view identifier: /wsListing.xhtml at org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:132) at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:170) at org.apache.myfaces.lifecycle