Liferay Service not getting deployed to Axis - liferay

I am creating a liferay service, I generated a lot of classes. When i try to build-service using Liferay ServiceBUilder, it shows in console that My service is build succesfully
[Console output redirected to file:/home/rajeshp/Desktop/LiferayDeveloperStudio/workspace/.metadata/.plugins/com.liferay.ide.eclipse.sdk/sdk.log]
Buildfile: /home/rajeshp/Desktop/LiferayDeveloperStudio/workspace/trunk/portlets/rosetta-services-portlet/build.xml
build-service:
[copy] Copying 1 file to /home/rajeshp/Desktop/LiferayDeveloperStudio/workspace/trunk/portlets/rosetta-services-portlet/docroot/WEB-INF/classes
[echo] Loading jar:file:/home/rajeshp/Desktop/LiferayDeveloperStudio/liferay-portal-6.0-ee-sp2/tomcat-6.0.32/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
[echo] 16:27:07,649 INFO [EasyConf:122] Refreshed the configuration of all components
[echo] 16:27:08,250 INFO [ConfigurationLoader:56] Properties for jar:file:/home/rajeshp/Desktop/LiferayDeveloperStudio/liferay-portal-6.0-ee-sp2/tomcat-6.0.32/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal loaded from [jar:file:/home/rajeshp/Desktop/LiferayDeveloperStudio/liferay-portal-6.0-ee-sp2/tomcat-6.0.32/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/com/liferay/portal/tools/dependencies/portal-tools.properties, jar:file:/home/rajeshp/Desktop/LiferayDeveloperStudio/liferay-portal-6.0-ee-sp2/tomcat-6.0.32/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties]
[echo] Loading jar:file:/home/rajeshp/Desktop/LiferayDeveloperStudio/liferay-portal-6.0-ee-sp2/tomcat-6.0.32/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
[echo] Loading jar:file:/home/rajeshp/Desktop/LiferayDeveloperStudio/liferay-portal-6.0-ee-sp2/tomcat-6.0.32/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/com/liferay/portal/tools/dependencies/portal-tools.properties
[echo] 16:27:11,976 INFO [PortalImpl:295] Global lib directory /home/rajeshp/Desktop/LiferayDeveloperStudio/liferay-portal-6.0-ee-sp2/tomcat-6.0.32/lib/ext/
[echo] 16:27:11,978 INFO [PortalImpl:315] Portal lib directory /home/rajeshp/Desktop/LiferayDeveloperStudio/liferay-portal-6.0-ee-sp2/tomcat-6.0.32/webapps/ROOT/WEB-INF/lib/
[echo] Building ECData
[echo] Building WebArticleHelper
[delete] Deleting: /home/rajeshp/Desktop/LiferayDeveloperStudio/workspace/trunk/portlets/rosetta-services-portlet/ServiceBuilder.temp
[mkdir] Created dir: /home/rajeshp/Desktop/LiferayDeveloperStudio/workspace/trunk/portlets/rosetta-services-portlet/docroot/WEB-INF/service-classes
compile-java:
[javac] Compiling 18 source files to /home/rajeshp/Desktop/LiferayDeveloperStudio/workspace/trunk/portlets/rosetta-services-portlet/docroot/WEB-INF/service-classes
[zip] Building zip: /home/rajeshp/Desktop/LiferayDeveloperStudio/workspace/trunk/portlets/rosetta-services-portlet/docroot/WEB-INF/lib/rosetta-services-portlet-service.jar
[delete] Deleting directory /home/rajeshp/Desktop/LiferayDeveloperStudio/workspace/trunk/portlets/rosetta-services-portlet/docroot/WEB-INF/service-classes
BUILD SUCCESSFUL
Total time: 16 seconds
But I cant see the service deployed in Liferay Developer studio
Also, when i open http://localhost:8080/tunnel-web/axis
I cant find my service there,
the services-portlet is not giving any error while compiling, deploying, building-services, to add to more frustration, the same services-portlet and services are getting deployed in my collegeue's machine.
Can anybody figure out what the problem is? Thanks a lot in advance.

Once you run build-services you need to run build-wsdd ant task (or click "build wsdd" in the service.xml editor in the IDE). Also to try to test this you have to right-click the portlet project that is shown in the servers view and select "test web services". Or if you want to see the url directly you should use:
http://localhost:8080/rosetta-services-portlet/tunnel-web/axis

I think the link is : http://localhost:8080/rosetta-services-portlet/axis
........

Related

Why unused namespace defined in xaml file breaks generation of protobuf files?

i have simple WPF project to demonstrate my issue
this is my build log
Rebuild started...
1>------ Rebuild All started: Project: WpfApp, Configuration: Debug Any CPU ------
Restored d:\projects\GrpcError\WpfApp\WpfApp.csproj (in 6 ms).
1>d:\projects\GrpcError\WpfApp\MainWindow.xaml.cs(2,14,2,20): error CS0234: The type or namespace name 'Protos' does not exist in the namespace 'WpfApp' (are you missing an assembly reference?)
1>Done building project "WpfApp_khdt0wpw_wpftmp.csproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
funny part is that visual studio (2022) correctly navigates to generated file (d:\projects\GrpcError\WpfApp\obj\Debug\net6.0-windows\Protos\Login.cs) with namespace WpfApp.Protos.Core defined ...
i managed to track this error to MainWindow.xaml file -
compilation will be successfull if i remove this line: xmlns:local="clr-namespace:WpfApp"
any idea why is this happening?

Some Hybris first time use after installlation issues

[2015-10-13:2043]
Here is a screen shot of the installed extensions...
=========
I think there is a problem with the initialisation script..
=========
I have now installed hybris5.6.0.2:
I have now been able to run the Hybris Administration Console
[localhost:9001]
I have logged in.
I have ran the Initialisation, because being a first time installation, except of taking about an hour to complete, it took about 1 minute 30 sec to complete. I suspect something is wrong.
It has been about six months since I worked with hybris, and I have forgotten the URLs for the hMC, and for the MCC... for the MCC, is it:
http://localhost:9001/mcc??
for the hMC is it:
http://localhost:9001/hMC??
Any suggestions?
You are missing the hmc/mmc extensions in your $HYBRIS_HOME/config/localextensions.xml
You need to have them declared as
<extension name='mcc' />
<extension name="hmc" />
The urls for accessing them are
http://localhost:9001/hmc/hybris
(or use: http://localhost:9001/hmc/hybris?wid=MC0x0, the parameters ensure that the hmc window gets opened in your current tab and not in a separate window)
http://localhost:9001/mmc
In order to get it to work you will have to:
first have to add those extensions (see above)
ant clean all (from within $HYBRIS_HOME/bin/platform, don't forget to also set the ant environment via ". ./setantenv.sh" or "setantenv.bat")
ant initialize
Then you should be able to access the hmc and mmc.
However, you don't seem to have a lot of extensions at all installed.
Not sure what you are trying to do..
If you plan to setup a new "application" by developing your own extensions, e.g. based on the accelerator (or other examples) you should take a look at how to generate those via ext-gen.
(see e.g. https://wiki.hybris.com/display/accdoc/Customizing+the+Accelerator+with+extgen+and+modulegen)
Good luck :)
By default under Hybris 5.6 the generated localextensions.xml is now totally empty (it used to be not) :
<path dir="${HYBRIS_BIN_DIR}" />
<extension name="yempty" />
When you run 'ant all' you can actually see what extensions are loaded :
[echo] core 5.6.0.1 [p*cib]
[echo] testweb 5.6.0.1 [p*w]
[echo] scripting 5.6.0.1 [p*ci]
[echo] paymentstandard 5.6.0.1 [p*ci]
[echo] mediaweb 5.6.0.1 [p*cw]
[echo] maintenanceweb 5.6.0.1 [p*w]
[echo] deliveryzone 5.6.0.1 [p*ci]
[echo] commons 5.6.0.1 [p*ci]
[echo] processing->(scripting,commons) 5.6.0.1 [p*ci]
[echo] impex->processing 5.6.0.1 [p*ci]
[echo] validation->impex 5.6.0.1 [p*ci]
[echo] catalog->(validation,commons) 5.6.0.1 [p*cib]
[echo] europe1->(impex,catalog) 5.6.0.1 [p*ci]
[echo] platformservices->(paymentstandard,impex,deliveryzone,europe1,processing) 5.6.0.1 [p*cb]
[echo] workflow->(catalog,platformservices,processing,commons) 5.6.0.1 [p*ci]
[echo] hac->(impex,catalog,processing,platformservices) 5.6.0.1 [p*w]
[echo] comments->(workflow,impex,catalog,processing) 5.6.0.1 [p*ci]
[echo] advancedsavedquery->(impex,catalog,processing) 5.6.0.1 [p*ci]
[echo] yempty 5.6.0.1 [cibw] path:/Users/*****/Workspace/hybris/hybris/bin/ext-template/yempty
Now the question is what do you want ? Do you want to run a B2C site ? If yes the best way is to run 'ant modulegen' and then add your own extensions, or if you simply want out of the box default sites, add those lines under your localextensions.xml file :
<extension name='apparelstore' />
<extension name='electronicsstore' />
<extension name='yacceleratorcore' />
<extension name='yacceleratorinitialdata' />
<extension name='yacceleratorfacades' />
<extension name='yacceleratorcockpits' />
<extension name='yacceleratorstorefront' />
By doing this you will have out of the box store fronts and HMC / Cockpits.
Post the hybris 5.5.1 version, there have been significant changes in the platform. The recipe concept has been introduced for the installation of extensions. This recipe is nothing but a .gradle file which contains information about the extensions to be written in the localextensions.xml and the property files (local.properties and custom.properties) to be modified. This is probably introduced with the intention of the "Separation of Concerns" ideology of hybris. Please find below the link which contains the information about recipes
https://wiki.hybris.com/display/release5/Sample+Scenarios+Installation

Liferay Web-Service: method in *LocalServiceImpl not getting build in *LocalServiceUtil

Methods I am defining in *LocalServiceImpl is not getting defined by service builder in *LocalServiceUtil.
Have gone through this question,but didn't work for me
Liferay: Any method written in *LocalServiceImpl not found in *LocalServiceUtil
service log:
build-service:
[echo] Loading jar:file:/home/rayon/shi/liferay%20bundle%2020th%20may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
[echo] 8 Jun, 2015 8:18:28 AM com.liferay.portal.kernel.log.Jdk14LogImpl info
[echo] INFO: Global shared lib directory /home/rayon/shi/liferay bundle/liferay-plugins-sdk-6.1.1/lib/
[echo] 8 Jun, 2015 8:18:28 AM com.liferay.portal.kernel.log.Jdk14LogImpl info
[echo] INFO: Global lib directory /home/rayon/shi/liferay bundle 20th may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/lib/ext/
[echo] 8 Jun, 2015 8:18:28 AM com.liferay.portal.kernel.log.Jdk14LogImpl info
[echo] INFO: Portal lib directory /home/rayon/shi/liferay bundle 20th may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/ROOT/WEB-INF/lib/
[echo] 8 Jun, 2015 8:18:28 AM com.liferay.portal.kernel.log.Jdk14LogImpl info
[echo] Loading jar:file:/home/rayon/shi/liferay%20bundle%2020th%20may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
[echo] Loading jar:file:/home/rayon/shi/liferay%20bundle%2020th%20may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/com/liferay/portal/tools/dependencies/portal-tools.properties
[echo] INFO: Properties for portal loaded from [file:/home/rayon/shi/liferay%20bundle%2020th%20may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/ROOT/WEB-INF/classes/portal-ext.properties, jar:file:/home/rayon/shi/liferay%20bundle%2020th%20may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/com/liferay/portal/tools/dependencies/portal-tools.properties, jar:file:/home/rayon/shi/liferay%20bundle%2020th%20may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties]
[echo] Loading file:/home/rayon/shi/liferay%20bundle%2020th%20may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/ROOT/WEB-INF/classes/portal-ext.properties
[echo] Building SampleWS3
[echo] Writing /home/rayon/shi/liferay bundle/liferay-plugins-sdk-6.1.1/portlets/SampleWs3-portlet/docroot/WEB-INF/service/com/test3/model/SampleWS3Wrapper.java
[mkdir] Created dir: /home/rayon/shi/liferay bundle/liferay-plugins-sdk-6.1.1/portlets/SampleWs3-portlet/docroot/WEB-INF/service-classes
compile-java:
[copy] Copied 6 empty directories to 6 empty directories under /home/rayon/shi/liferay bundle/liferay-plugins-sdk-6.1.1/portlets/SampleWs3-portlet/docroot/WEB-INF/service-classes
[javac] Compiling 18 source files to /home/rayon/shi/liferay bundle/liferay-plugins-sdk-6.1.1/portlets/SampleWs3-portlet/docroot/WEB-INF/service-classes
[zip] Building zip: /home/rayon/shi/liferay bundle/liferay-plugins-sdk-6.1.1/portlets/SampleWs3-portlet/docroot/WEB-INF/lib/SampleWs3-portlet-service.jar
[delete] Deleting directory /home/rayon/shi/liferay bundle/liferay-plugins-sdk-6.1.1/portlets/SampleWs3-portlet/docroot/WEB-INF/service-classes
BUILD SUCCESSFUL
stack-trace on deployment:
10:38:15,134 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner] [AutoDeployDir:177] Processing SampleWs3-portlet-6.1.1.1.war
10:38:15,135 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner] [PortletAutoDeployListener:77] Copying portlets for /home/rayon/shi/liferay bundle 20th may/liferay-portal-6.1.1-ce- ga2/deploy/SampleWs3-portlet-6.1.1.1.war
10:38:15,135 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:763] Deploying SampleWs3-portlet-6.1.1.1.war
10:38:15,173 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:859] Updating SampleWs3 from version 6.1.1.1 to version 6.1.1.1
Expanding: /home/rayon/shi/liferay bundle 20th may/liferay-portal-6.1.1-ce-ga2/deploy/SampleWs3-portlet-6.1.1.1.war into /home/rayon/shi/liferay bundle 20th may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/temp/20150608103815174
Copying 1 file to /home/rayon/shi/liferay bundle 20th may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/temp/20150608103815174/WEB-INF
Copying 1 file to /home/rayon/shi/liferay bundle 20th may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/temp/20150608103815174/WEB-INF/classes
Copying 1 file to /home/rayon/shi/liferay bundle 20th may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/temp/20150608103815174/WEB-INF/classes
Copying 1 file to /home/rayon/shi/liferay bundle 20th may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/temp/20150608103815174/WEB-INF/jsp
10:38:15,308 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:2083] Modifying Servlet 2.5 /home/rayon/shi/liferay bundle 20th may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/temp/20150608103815174/WEB-INF/web.xml
Copying 102 files to /home/rayon/shi/liferay bundle 20th may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/SampleWs3-portlet
Copying 1 file to /home/rayon/shi/liferay bundle 20th may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/SampleWs3-portlet
Deleting directory /home/rayon/shi/liferay bundle 20th may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/temp/20150608103815174
10:38:15,355 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner] [PortletAutoDeployListener:87] Portlets for /home/rayon/shi/liferay bundle 20th may/liferay-portal-6.1.1-ce-ga2/deploy/SampleWs3-portlet-6.1.1.1.war copied successfully. Deployment will start in a few seconds.
8 Jun, 2015 10:38:20 AM org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context [/SampleWs3-portlet]
10:38:20,787 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]][PluginPackageUtil:1033] Reading plugin package for SampleWs3-portlet
8 Jun, 2015 10:38:20 AM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
8 Jun, 2015 10:38:21 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/rayon/shi/liferay bundle 20th may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/SampleWs3-portlet
10:38:21,573 INFO [pool-2-thread-22][HotDeployImpl:178] Deploying SampleWs3-portlet from queue
10:38:21,574 INFO [pool-2-thread-22][PluginPackageUtil:1033] Reading plugin package for SampleWs3-portlet
Loading file:/home/rayon/shi/liferay%20bundle%2020th%20may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/temp/35-SampleWs3-portlet/WEB-INF/classes/portlet.properties
Loading file:/home/rayon/shi/liferay%20bundle%2020th%20may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/temp/35-SampleWs3-portlet/WEB-INF/classes/service.properties
10:38:21,710 INFO [pool-2-thread-22][ServiceComponentLocalServiceImpl:280] Upgrading Sample database to build number 62
Loading file:/home/rayon/shi/liferay%20bundle%2020th%20may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/temp/35-SampleWs3-portlet/WEB-INF/classes/portlet.properties
8 Jun, 2015 10:38:21 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Loading file:/home/rayon/shi/liferay%20bundle%2020th%20may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/temp/35-SampleWs3-portlet/WEB-INF/classes/service.properties
Loading file:/home/rayon/shi/liferay%20bundle%2020th%20may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/temp/35-SampleWs3-portlet/WEB-INF/classes/service.properties
Loading file:/home/rayon/shi/liferay%20bundle%2020th%20may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/temp/35-SampleWs3-portlet/WEB-INF/classes/portlet.properties
First of all: Check the sourcecode for your *LocalServiceUtil and make sure it really doesn't have the method's implementation. If the method is there, you'll have to look elsewhere. Here's where:
When you deploy a portlet, you can get the API on multiple ways: Someone might have deployed the plugin containing the services on tomcat's global class path. If you don't update that one, you probably won't see your updates.
Also, someone might have copied an older version of your plugin into their own plugin as well - naturally not seeing any updates unless they update their dependency. Check for changed names of the jar file as well. Also check for the classes: Some people like to add the compiled java classes to their source directories, ending up with two different implementations of the same code.

blackberry sample application executes in simulator but when I try to load in playbook device there is no response or no error

blackberry sample application executes in simulator but when I try to load in device there is no response or no error. I am using a playbook. Also I tried various options in which one of it says to use Desktop manager, I see a different behavior in it too, until I connect playbook to my PC, applications menu is shown in the left of desktop manager, but as soon as the playbook is connected the applications icon disappear. Then I tried to copy paste the .alx / .cod file to downloads folder of playbook, I removed the connection from PC and searched using file manager in device the copied files are not shown, but they are seen when it is connected using device manager. Kindly help me in executing the app within playbook. I am newbie to develop bb application. My target is to develop phone gap app. My playbook OS is 2.0, I am using BBEclipse plugin, webworks too.
Another update regarding phonegap application, I followed the steps from wiki phonegap documentation and finally when I tried to package the application (After getting all keys, registering to server etc). This is the error response seen. Kindly help to fix this.
C:\Documents and Settings\SMI 123 U\My Documents\Research In Motion\BlackBerry W
ebWorks SDK for TabletOS 2.2.0.5\bbwp>bbwp "C:\Documents and Settings\SMI 123 U\
Desktop\sample\sample.zip" -o "C:\Documents and Settings\SMI 123 U\Desktop"
[INFO] Parsing command line options
[INFO] Parsing bbwp.properties
[INFO] Validating WebWorks archive
[INFO] Parsing config.xml
[INFO] Populating application source
[INFO] Compiling WebWorks application
[INFO] Packaging the bar file
javax.imageio.IIOException: Can't read input file!
at javax.imageio.ImageIO.read(Unknown Source)
at net.rim.tumbler.airpackager.AirPackager.createSplashscreen(AirPackage
r.java:726)
at net.rim.tumbler.airpackager.AirPackager.run(AirPackager.java:191)
at net.rim.tumbler.WidgetPackager.go(WidgetPackager.java:152)
at net.rim.tumbler.WidgetPackager.main(WidgetPackager.java:77)
[ERROR] Air Packager exception occurred
I tried using another command also
C:\Documents and Settings\SMI 123 U\My Documents\Research In Motion\BlackBerry W
ebWorks SDK for TabletOS 2.2.0.5\bbwp>bbwp "C:\Documents and Settings\SMI 123 U\
Desktop\sample\sample.zip" -g 12345678 -buildId 1 -o "C:\Documents and Settings\
SMI 123 U\Desktop"
[INFO] Parsing command line options
[INFO] Parsing bbwp.properties
[INFO] Validating WebWorks archive
[INFO] Parsing config.xml
[INFO] Populating application source
[INFO] Compiling WebWorks application
[INFO] Packaging the bar file
javax.imageio.IIOException: Can't read input file!
at javax.imageio.ImageIO.read(Unknown Source)
at net.rim.tumbler.airpackager.AirPackager.createSplashscreen(AirPackage
r.java:726)
at net.rim.tumbler.airpackager.AirPackager.run(AirPackager.java:191)
at net.rim.tumbler.WidgetPackager.go(WidgetPackager.java:152)
at net.rim.tumbler.WidgetPackager.main(WidgetPackager.java:77)
[ERROR] Air Packager exception occurred
Thanks
The developer support forum thread "New Webworks SDK Error While Packaging Application" has an answer for you.

Error while starting the Glassfish server + BIRT dependencies

I'm trying to deploy a Java web application on a GlassFish server (v 3.1.2) using Eclipse Indigo 3.7.1 but I'm always having this Exception:
cannot Deploy MetricsReportingProject
Deployment Error for module: MetricsReportingProject: Error occurred during deployment:
Exception while loading the app :
java.lang.IllegalStateException: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException:
java.lang.RuntimeException:
com.sun.faces.config.ConfigurationException:
java.util.concurrent.ExecutionException:
com.sun.faces.config.ConfigurationException:
Unable to parse document 'bundle://136.0:1/com/sun/faces/jsf-ri-runtime.xml':
DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory.. Please see server.log for more details.
Here are my project's dependencies:
Hibernate 3.4.0 dependencies
BIRT DE and BIRT Viewer 3.7.1
JSF 2.0
PrimeFaces 3.2
The project was working when I'had created it but the problem appears after making some modifications and restarting the server many times.
Can anyone help me to solve this problem.
I hand the same problem.
Glassfish provides a
- xercesImpl-2.9.1.jar
- xml-apis-1.3.04.jar
But in the Birt Lib, they have xercesImpl-2.9.0.jar
I just deleted xercesImpl-2.9.0.jar from Birt Lib and redeployed. It worked fine.

Resources