{"id":5518,"date":"2014-03-30T23:34:34","date_gmt":"2014-03-30T23:34:34","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-weblogic12c-collection-of-common-programming-errors\/"},"modified":"2014-03-30T23:34:34","modified_gmt":"2014-03-30T23:34:34","slug":"problem-about-weblogic12c-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-weblogic12c-collection-of-common-programming-errors\/","title":{"rendered":"problem about weblogic12c-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/dedf3f3a5bc00f6a778ee5955e9c0b76?s=32&amp;d=identicon&amp;r=PG&amp;f=1\" \/><br \/>\nMohammad Izady<br \/>\njava oracle11g netbeans-7 weblogic12c<br \/>\nI successfully installed Weblogic server on my machine and then registered same in netbeans Now when i started the server from netbeans , i get a list of verbose statements and then error statements.I need to know how to resolve this problem.Thank you.. . JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=256m . WLS Start Mode=Development . CLASSPATH=C:\\Oracle\\MIDDLE~1\\patch_wls1211\\profiles\\default\\sys_manifest_classpath\\weblogic_patch.jar;C:<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/17551b2a537720b66ae0020b2995d441?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nArjan Tijms<br \/>\neclipse maven deployment weblogic12c hotswap<br \/>\nI have a basic question about running a Java EE application on Weblogic using maven in eclipse.I use OEPE (Oracle Enterprise pack for Eclipse) which comes with some plugins such as m2e and wtp. As far as I know this plugins read the pom file and based on them build the jar, war and ear files. What I do right now is like this: I check the build automatically option and let these plugins create my EAR file, then right click on the instance of weblogic server in Eclipse and add it to server using a<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/46a5655ef2676ae28b6379cfa992a042?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nremo<br \/>\nhazelcast weblogic12c<br \/>\nI am getting the following exception when trying to deploy the :mancenter-3.1.3.war in to my Weblogic 12.The fullstacktrace is :org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#8216;managementCenterContext&#8217; defined in ServletContext resource [\/WEB-INF\/applicationContext.xml]: Cannot resolve reference to bean &#8216;centralManager&#8217; while setting bean property &#8216;centralManager&#8217;; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating b<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/079a5a3beea62859069412b27f0c4935?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nEva Troels<br \/>\njpa dependency-injection eclipselink entitymanager weblogic12c<br \/>\nI have an application which uses JPA. I have successfully deployed this application on WebLogic 12c. I startup my server, deploy my application and off we go.In my various @Stateless EJBs I have @PersistenceContext(unitName = &#8220;MyJpa&#8221;) and expect the container to inject the EntityManager. In my persistence.xml i configure my provider:org.eclipse.persistence.jpa.PersistenceProvider myDsThis works fine in the scenario described above.If I restart my (managed) server everything is still fine.But if<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/3985e56c22b313b919bbec6ad3fa28c1?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAles J.<br \/>\noracle weblogic weblogic-10.x weblogic11g weblogic12c<br \/>\nI am trying to deploy my .ear file to a weblogic server and I am getting an issue with deploying the files&#8230;Here is the stack trace and errors &#8211; I am deploying using the admin consoleMessage icon &#8211; Error Unable to access the selected application. Message icon &#8211; Error Exception in AppMerge flows&#8217; progression Message icon &#8211; Error Exception in AppMerge flows&#8217; progressionMessage icon &#8211; Error [J2EE:160161]Error while parsing the Application descriptors for jwds0002.ear: weblogic.descriptor.Descripto<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/4d7837142f435d6e502293da81e5952a?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nNabeel Bukhari<br \/>\neclipselink jpql weblogic12c<br \/>\nI am using EclipseLink 2.3.x with WebLogic 12c. This is the JQL:Select o from PR_GL_CA_ACCOUNT owhich generated following error stack:&lt;[ACTIVE] ExecuteThread: &#8216;0&#8217; for queue: &#8216;weblogic.kernel.Default (self-tuning)&#8217;&gt; &lt;&gt; &lt;2e88ae6781d171fa:-a29df4f:13f38b20f5a:-8000-0000000000000002&gt; &lt;1371045798327&gt; &lt;2013-06-12 19:03:18.311&#8211;UnitOfWork(271275142)&#8211;Exception [EclipseLink-4002] (Eclipse Persistence Services &#8211; 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DatabaseExcepti<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6209d8c3b7b83592b881fdbdddb0a7ca?s=128&amp;d=identicon&amp;r=PG\" \/><br \/>\nViccari<br \/>\njava mysql weblogic weblogic12c<br \/>\nSo I have a MySQL database, and I have a datasource on a local instance of WebLogic which is connected to that database. I am trying to write some client code which will simply connect and query. I am having issues with obtaining a connection from the datasource. Here&#8217;s my code thus far. I am running WebLogic 12c.import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.HashMap; import java.util.Ha<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/535f2fd3132ede6dc8e2588ce0681708?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\npartlov<br \/>\nmybatis weblogic12c<br \/>\nWe are running distributed application in weblogic 12. our application is using mybaits-3.0.4, we have configured XADatasource with JNDI name com.test.datasource.jdbc.XADataSource.We wanted to use above Datasoure in mybatis application code which is getting called from sessionBean which is configured with Non-XA datasoure.We are getting Error: Cannot set auto-commit mode when using distributed transactions.Below are the configuration in mybaits configuration file.&lt;environments default=&#8221;prod&#8221;&amp;<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mohammad Izady java oracle11g netbeans-7 weblogic12c I successfully installed Weblogic server on my machine and then registered same in netbeans Now when i started the server from netbeans , i get a list of verbose statements and then error statements.I need to know how to resolve this problem.Thank you.. . JAVA Memory arguments: -Xms256m -Xmx512m [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5518","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5518"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5518\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}