Error log faced while deploying ADF in Glassfish3 - glassfish-3

An application which developed with EJB, ADFFaces on JDeveloper 11.1.2.4 ide. Could be deployed on server at last, but many error lines out about .xsd files. How can i solve that issue?
brgds
...
File: file:/C:/glassfish3/glassfish/domains/domain1/generated/jsp/RestaurantAuto
mation/RestaurantAutomation_RestAutomationVC_webapp1_war/loader_962515257/oracle
/adfdt/model/dvt/schema/binding/gauge.xsd
[Error]: Line -1, Column -1: Invalid reference: ':ledStyleEnum'
[#|2013-11-08T17:27:25.647+0200|INFO|glassfish3.1.2|javax.enterprise.system.cont
ainer.web.com.sun.enterprise.web|_ThreadID=18;_ThreadName=admin-thread-pool-4848
(3);|WEB0671: Loading application [RestaurantAutomation#RestaurantAutomation_Res
tAutomationVC_webapp1.war] at [RestAutomation]|#]
[#|2013-11-08T17:27:26.068+0200|INFO|glassfish3.1.2|javax.enterprise.system.tool
s.admin.org.glassfish.deployment.admin|_ThreadID=18;_ThreadName=admin-thread-poo
l-4848(3);|RestaurantAutomation was successfully deployed in 75,528 milliseconds
.|#]

Related

How to deploy EJB and War modules at same time in NetBeans 8.2 and GlassFish 4.1.1

I have a problem to deploy EJB and WAR modules at the same time in NetBeans 8.2 on GlassFish 4.1.1. The following message is shown:
[[ Exception Occurred :Error occurred during deployment: Exception while preparing the app : Could not resolve a persistence unit corresponding to the persistence-context-ref-name [ejb.NewMessage/em] in the scope of the module called [TestEJB-ejb]. Please verify your application.. Please see server.log for more details.]]
When I checked server.log file of GlassFish server, I faced with the following erreor message:
[2018-07-28T12:59:45.406+0430] [glassfish 4.1] [SEVERE] [] [javax.enterprise.system.core] [tid: _ThreadID=427 _ThreadName=admin-listener(7)] [timeMillis: 1532766585406] [levelValue: 1000] [[
Exception while preparing the app : Could not resolve a persistence unit corresponding to the persistence-context-ref-name [ejb.NewEntityFacade/em] in the scope of the module called [TestEJB-ejb]. Please verify your application.]]
Is there any solution for that?
Thanks for your help.
If you did not start to create your app or if you did not choose your programming framework, you can switch to Java Spring with less headache!
Read the first paragraph of the following link:
https://en.wikipedia.org/wiki/Spring_Framework

Windows Azure and GitHub: build error on web.config

I've created a new ASP.NET MVC 4 project using the HotTowel SPA template. I haven't changed very much as you can see in my GitHub repository. I've set up Windows Azure to take in the changes and deploy to hourlee.azurewebsites.net, but nothing happened.
When I check my dashboard, it seems something went wrong. Windows Azure is complaining about an error in my Web.Release.config file.
More specifically, this is the error message:
D:\home\site\repository\Hourly\Web.Release.config(1,1): error : Data at the root level is invalid. Line 1, position 1. [D:\home\site\repository\Hourly\Hourly.csproj]
Failed exitCode=1, command="D:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" "D:\home\site\repository\Hourly\Hourly.csproj" /nologo /verbosity:m /t:Build /t:pipelinePreDeployCopyAllFilesToOneFolder /p:_PackageTempDir="C:\DWASFiles\Sites\hourlee\Temp\208c4975-46bc-4f4f-89d8-6ae54a5289d8";AutoParameterizationWebConfigConnectionStrings=false;Configuration=Release /p:SolutionDir="D:\home\site\repository\.\\"
An error has occurred during web site deployment.
It's repeated again (the entire message is longer).
I haven't changed anything in the web.config files and the whole thing builds and runs locally too.
I've noticed that it works when I remove the transform file (web.Debug.config and web.Release.config).

Compiler Error Message: CS0009 - mscorlib.dll

When I try to run my web application, the following error occurs:
Description: An error occurred during the compilation of a resource
required to service this request. Please review the following specific
error details and modify your source code appropriately.
Compiler Error Message: CS0009: Metadata file
'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll' could not
be opened -- 'File is corrupt.'
It seems to me that the .NET framework 4 installation is corrupt, but I am using Windows 8.1, and I'm not sure how to repair this, as it is integrated into the Windows installation.
I manually copied the corrupted file from a different computer with the same Windows installation. It took some permission changing, but I managed to do it.

Getting error while deploying WAR file

I am getting below error while deploying war file .Here JDK version on development machine and deployment machines is same then also i am getting this error.
[05/Jun/2013:11:20:42] failure ( 5712): WebModule[/cover]: WEB2671: Error configuring application listener of class com.bt.cover.ContextListener
java.lang.UnsupportedClassVersionError: com/bt/cover/ContextListener (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1717)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:983)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1431)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1301)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3349)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3743)
at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
Based on this answer: Unsupported major.minor version 49.0, it looks like you may be running on a different JVM from what you used to compile your code. Hope this helps.

Deployment error message in Jeveloper

I am deploying my BPEL project on Web-logic server through my JDeveloper 11g. its working fine. but when I selected my different environment for deployment(new one) then I got the following error.
Error is due to one of my BPEL prcess "TaskProcess1".
but the same setup when I deploy to my own server its deploying and running very fine.
code=500
[04:53:57 PM] Error deploying archive sca_RegistrationUpload_rev24.0.jar to partition "default" on server DAMS_Batch_Server1 [urasvr140.uradevt.gov.sg:8001, Cluster:DAMS_Batch_Cluster]
[04:53:57 PM] HTTP error code returned [500]
[04:53:57 PM] Error message from server:
#;There was an error deploying the composite on DAMS_Batch_Server1: Operation failed - Member(Id=1, Timestamp=2011-06-02 15:25:57.428, Address=172.16.10.45:8088, MachineId=46637, Location=site:uradevt.gov.sg,machine:urasvr140,process:3968, Role=WeblogicServer):Error occurred during deployment of component: TaskProcess1 to service engine: implementation.bpel, for composite: RegistrationUpload: ORABPEL-01005
#;
#;Failed to compile bpel generated classes.
#;failure to compile the generated BPEL classes for BPEL process "TaskProcess1" of composite "default/RegistrationUpload!24.0*soa_f19c6537-e518-4c05-940c-688c1ddb2593"
#;The class path setting is incorrect.
#;Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
#;; . Please see the server diagnostic logs on DAMS_Batch_Server1 for details.
Please let me know if any suggestion you have.
Is there a dependant jar file that you are accessing from your bpel process?
Check the log files on the server for the soa_server. It will give you more information as to why it failed at the server

Resources