glassfish-3

org.apache.xerces.impl.dv.DVFactoryException: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory [duplicate]

白昼怎懂夜的黑 提交于 2019-12-13 02:36:16
问题 This question already has answers here : Xerces error: org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl (2 answers) Closed 2 years ago . I'm creating a JSF application in NetBeans7.1 using GlassFish3.1.1, when I make changes to a managed bean or any other .java file and try to redeploy the web app to GlassFish using NetBeans I get the exception posted below. I have tried clearing the NetBeans cache and have also tried downloading various versions of NetBeans and GlassFish and have gotten the

Tess4j in glassfish ERROR:java.lang.NoSuchFieldError: RESOURCE_PREFIX

萝らか妹 提交于 2019-12-13 00:34:30
问题 I'm using Tess4j 2.0.0 in oracle-glassfish3.1.1, Exception is: java.lang.NoSuchFieldError: RESOURCE_PREFIX at net.sourceforge.tess4j.util.LoadLibs.(LoadLibs.java:60) at net.sourceforge.tess4j.TessAPI.(TessAPI.java:40) at net.sourceforge.tess4j.Tesseract.init(Tesseract.java:360) at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:273) at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:256) at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:237) at net.sourceforge.tess4j

Cache Isolation Level Warning on Parent Entity

时光毁灭记忆、已成空白 提交于 2019-12-13 00:16:44
问题 After adding a second persistence unit and changing my application's data sources to XADataSource (MySQL), I'm now getting a confusing warning in the glassfish log about isolation levels on my parent entity: WARN o.e.p.s.f.j.ejb_or_metadata : Parent Entity BaseEntity has an isolation level of: PROTECTED which is more protective then the subclass Contact with isolation: null so the subclass has been set to the isolation level PROTECTED. After some research, I think that this isolation level

Class not found: Deploying on Glassfish

三世轮回 提交于 2019-12-12 23:03:41
问题 Below is the error message: SEVERE: Class [ org/apache/lucene/queryparser/classic/ParseException ] not found. Error while loading [ class test.com.creatop.ateam.facade.TestFacade ] SEVERE: Class [ org/apache/lucene/queryparser/classic/ParseException ] not found. Error while loading [ class com.creatop.ateam.facade.implementation.PropertyFacade ] SEVERE: Class [ org/apache/lucene/queryparser/classic/ParseException ] not found. Error while loading [ class com.creatop.ateam.facade.implementation

Warning: This page calls for XML namespace http://xmlns.jcp.org/jsf/XXX declared with prefix XXX but no taglibrary exists for that namespace

南笙酒味 提交于 2019-12-12 21:56:10
问题 I am using Netbeans 8.02 which seems to understand the composite component it helped me create. It is in the folder /resources/ezcomp (the default Nebeans uses for this) and looks like this: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:cc="http://xmlns.jcp.org/jsf/composite" xmlns:p="http://primefaces.org/ui" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:f="http://xmlns.jcp.org/jsf/core"> <!-- INTERFACE --> <cc:interface> <cc:attribute name="pobject" type="test.database.UserItem" required

How use DEBUG with Eclipse + GlassFish 3?

回眸只為那壹抹淺笑 提交于 2019-12-12 20:22:54
问题 This is a thing that I really don't understand why doesn't work sometimes and sometimes it does. And this is freaking me out! I need help with it, please. I have Eclipse Juno Java EE x86_64 with GlassFish ( version glassfish-3.1.2.2) in a JSF project, sometimes I need debug my code, so I start Eclipse, Debug on Server then set my break points. Then I go to my page, do the operations that the user would do in my project and when the BreakPoints should be activated, nothing happens, eclipse

how to deploy wab files in glassfish

元气小坏坏 提交于 2019-12-12 14:24:53
问题 What is the correct process of deploying a WAR OSGI file (WAB) to glassfish 3.1 server? I am copying the war file to "glassfish3\glassfish\domains\domain1\autodeploy\bundles\" -> OSGI recognizes the file as bundle and add it to its container. However, it doesn't deploy the war as web application (I cannot access its JSPs). To make it a web application, I deploy the war from glassfish admin console. Is it correct to deploy the same war twice? Shouldn't OSGI deploy it as WEB and OSGI? 回答1: To

Glassfish 3.1.2.2 in IDEA 11.1.4: “PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required”

孤街浪徒 提交于 2019-12-12 14:12:28
问题 I am trying to get our Mavenized web application up and running in a freshly installed IDEA 11.1.4 Ultimate (Windows 7) under a freshly unzipped Glassfish 3.1.2.2. I have done this many times in Eclipse, but am not familiar with IDEA. I can build and deploy it just fine, but when I try to access pages with JSP-content I get: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required The Glassfish Application Servers entry adds the javax.ejb.jar, javax.servlet-api.jar

Reducing line width of glassfish log

时光怂恿深爱的人放手 提交于 2019-12-12 12:26:49
问题 Does anyone know how I can reduce the width of each line on a glassfish log. It seems to contain lots of information that I do not need. Below is an example of one line. [#|2012-03-04T16:00:09.537+0000|INFO|oracle-glassfish3.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=94;_ThreadName=Thread-1;|16:00:09,537 INFO MyClassNameThatIsLogging:89 - LogMessageHere All I really care about is: the time at the beginning - although not even in this much deatail ( 2012-03-04T16

@EJB injection fails but JNDI lookup works in web service class in Glassfish

﹥>﹥吖頭↗ 提交于 2019-12-12 12:24:57
问题 I have a @WebService class that injects an @EJB. The EJB is packaged in a .jar file which is in the same .war file as the web service classes. The @EJB injection always fails, but I can do a JNDI lookup on the EJB. I've tried making the EJB and its interface @Remote, but that didn't matter. Injection still fails and JNDI lookup still works. I'm using a version 3.0 web.xml. There's no ejb deployment descriptor in the ejb.jar file, but that is not suppose to matter in EJB 3.1. An I missing