Remove .classpath
Can someone help me in removing '.classpath' file from DTR? It appears that one of our developers have an exlusive lock on this file and we are unable to remove the file, which is preventing other developers from build this package. When the devlopers that is said to have an exclusive lock on this package attempts to remove the .classpath, 'delete' option is greyed out.
Are there any work arounds to this, or is there a way to have developers build around class-path file, since every developers enviorment is different?
This is Portal developement --Not component based.
Error Message:
11:48:14.266 DELETE (FAILED: Conflict [(pre||post)-condition failed: x:concurrency-lock-denied]) .classpath (C:\Documents and Settings\user\dtr\Admin\Development\Projects\dev\com.package\.classpath)
Edited by: John Edwards on Feb 1, 2008 6:59 PM
Edited by: John Edwards on Feb 1, 2008 6:59 PM
Pascal-
Now that I have the technical information, I have tried following this procedure Link:[http://help.sap.com/saphelp_nw04s/helpdata/en/46/f09dfed6705515e10000000a1553f6/content.htm], for deleting the activity --however I have no option as mentioned to 'revert the activity.'
The Resource Details in DTR says: Has Foreign Checkout: Yes
Similar Messages
-
Editing (Setting and Removing) CLASSPATH on Snow Leopard
I am trying to learn XSLT, and so I am installing Xerces and Xalan - but I have to add certain .jar's to the classpath. This is extremely easy on the PC, but how do I change this on the Mac? I would like to set it into an environment variable if possible? I have looked through so many similar questions on the Web but have yet to find a single solid answer. Your help is much appreciated. Thanks, in advance.
~CRChrisPuentes wrote:
HI, all-
I have an older MacBook Air running Snow Leopard that won't support Lion. I've seen two or three posts out there telling me how to set up my iCloud emial on my non-Lion machine, but none of them are working. Besides multilpe password issues, which I'm not getting anymore, I'm now getting "the server returned the error: The connection to the server p02-imap.mail.me.com on port 143 timed out". Any ideas???
Also-the directions for setting up my IMAP iCloud email in Outlook 2007 are very simple and clear, yet it does not work. During 'test account settings' in the account setup, I'm getting two errors:
1. Log onto incoming mail server (IMAP)-the connection to the server failed
2. Send test email message: None of the authentication methods supported by this client are supported by your sever.
Any help would be appreciated! PS- on my MBAir I'm running OSX 10.6.8
Thanks,
Chris
Port 143 is incorrect, read the instructions contained in the link Julian posted -
What is reason have below error ?
C:\Example\javaux\notes>java -version
java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
C:\Example\javaux\notes>
C:\Example\javaux\notes>echo %CLASSPATH%
c:\j2sdk1.4.2_08\jre\lib\rt.jar;c:\program Files\notes\Notes.jar
C:\Example\javaux\notes>javac eric.java
C:\Example\javaux\notes>java eric
Exception in thread "main" java.lang.NoClassDefFoundError: eric
C:\Example\javaux\notes>
When remove CLASSPATH without error
C:\Example\javaux\notes>set CLASSPATH=
C:\Example\javaux\notes>java eric
eric
C:\Example\javaux\notes>In Java 1.4, if the CLASSPATH is empty, Java assumes that the current directory (".") is in the classpath. So if you clear the CLASSPATH environment variable, it will look in the current directory for eric.class.
If you explicitly set the CLASSPATH variable to something that does not include the current directory ".", it will not look in the current directory and it won't find your class. -
Bugs in jdoc and jdoclet Ant tasks?
(The relevant lines in the build.xml file are at the end of this message.)
I encountered a problem with the jdoc Ant task:
- I added a description for a class in the metadata file. Everything rans
fine. Then I added another class to the metadata file, when the jdoc task
is invoked again by Ant the new class is not enhanced at all.
- However when I run the jdoc on the metadata file outside Ant, the new
class is enhanced.
I can't run the jdoclet task at all because Ant complains that it can't
find the class com.solarmetric.modules.integration.ant.KodoDocletTask.
However it doesn't have any problem finding the class
com.solarmetric.modules.integration.ant.JDOEnhancerTask. Aren't they both
in the kodo-jdoee.jar? I also tried using the classpath element inside the
target for the jdoclet without success.
Thanks for your help.
Here is an extract of the build.xml file:
<!--Set the classpath-->
<path id="classpath">
<pathelement location="d:/books/JDO/KODO/kodo-jdoee2.3.3/lib/jdo1_0.jar"/>
<pathelement
location="d:/books/JDO/KODO/kodo-jdoee-2.3.3/lib/kodo-jdoee.jar"/>
<pathelement location="C:\java\xdoclet-1.1.2\lib\xdoclet.jar"/>
</path>
<target name="taskdefs">
<taskdef name="jdodoclet"
classname="com.solarmetric.modules.integration.ant.KodoDocletTask"/>
<!-- the above line causes an error -->
<taskdef name="jdoc"
classname="com.solarmetric.modules.integration.ant.JDOEnhancerTask"/>
<!-- no problem with the above -->
<target name="enhanceAll" depends="compile">
<jdoc>
<fileset dir="./classes/quocp">
<include name="ent.jdo" />
</fileset>
<config licenseKey="<license key removed>" />
<classpath refid="classpath"/>
</jdoc>
</target>Actually I did have a classpath issue, the xdoclet jar was not being
included properly; once I got it included I now get this error:
BUILD FAILED: java.lang.LinkageError: duplicate class definition:
org/apache/log4j/Category
I think the xdoclet is incompatible with the version of log4j I have....but
I don't know for certain.
So I tried moving to the latest and greatest xdoclet and now I get a new
error (and it fails earlier):
Finding class com.solarmetric.modules.integration.ant.JDODocletSubTask
Exception reading component C:\dev2\java\devlib\kodo-jdo.jar
BUILD FAILED: java.lang.NoClassDefFoundError:
com/solarmetric/modules/integration/ant/JDODocletSubTask
One thing I have learned today is the -debug flag when running ant...very
helpful in finding out where the failure is occuring.
Any ideas you might have on how to proceed would be helpful...is there a way
to run the xdoclet stuff without the ant tasks?
Thanks,
Steven Balthazor
"Marc Prud'hommeaux" <[email protected]> wrote in message
news:[email protected]...
Steven-
If you include the Kodo devel jars in your system CLASSPATH, does it
work? I.e., is it a problem with the classpath, or with the XDoclet
integration in general?
In article <[email protected]>, Steven Balthazor wrote:
I have followed these instructions to the letter; but I am unable to get
the
Doclet task to work in ant. Specifically my taskdef:
<taskdef name="jdodoclet"
classname="com.solarmetric.modules.integration.ant.KodoDocletTask">
<classpath refid="cp" />
</taskdef>
Generates the following error when running ant:
BUILD FAILED: file:C:/dev2/java/devbuild.xml:54: taskdef class
com.solarmetric.modules.integration.ant.KodoDocletTask cannot be found
Now I would think this is a classpath problem; except if I change the
taskdef to:
<taskdef name="jdodoclet"
classname="com.solarmetric.modules.integration.ant.SchemaToolTask">
<classpath refid="cp" />
</taskdef>
I get a new error:
BUILD FAILED: file:C:/dev2/java/devbuild.xml:56: The <jdodoclet> task
doesn't support the nested "jdotags" element.
This looks like it is finding the SchemaToolTask and failing in the
implementation of jdodoclet. As far as I can tell, KodoDocletTask and
SchemaToolTask are in the same jar. So what gives?
I am using Kodo 2.5.2; and I have Xdoclet 1.1.2 in my classpath.
Any help would be appreciated.
Steven Balthazor
"Patrick Linskey" <[email protected]> wrote in message
news:[email protected]...
I'm guessing that the kodo jars are not in the classpath when you
launch
ant. If this is the case, then you must specify a classpath in your
taskdef, and probably in the jdodoclet execution as well. You can do
this with something like this:
<target ...>
<taskdef ...>
<classpath refid="cp"/>
</taskdef>
<jdodoclet ...>
<classpath refid="cp"/>
</jdodoclet>
</target>
This assumes that you've defined a path somewhere in your ant buildfile
with an id of 'cp'.
-Patrick
Quoc Pham wrote:
Hi Patrick,
I still haven\'t been able to solve the problem with the jdoclet
task:
>>>>
>>>>
I can\\\'t run the jdoclet task at all because Ant complains thatit
>>>>
can\\\'t
find the class
com.solarmetric.modules.integration.ant.KodoDocletTask.
However it doesn\\\'t have any problem finding the class
com.solarmetric.modules.integration.ant.JDOEnhancerTask. Aren\\\'tthey
both
in the kodo-jdoee.jar? I also tried using the classpath element
inside
the
target for the jdoclet without success.
Here is the jdoclet task:
classname=\\\"com.solarmetric.modules.integration.ant.KodoDocletTask\\\"/>
>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
When I run the above task, I got the error message:
Buildfile: build.xml
generateJdoMetadata
BUILD FAILED
file:d/jdev903/jdev/mywork/JDO/Ent/build.xml:102:taskdef class
com.solarmetric.modules.integration.ant.KodoDocletTask cannot be
found
>>>>
>>>>
Questions:
- How do I let ant know the class path to use to run this task?
- What should the value of sourcepath be?
- What should the value of dir be? The directory where the .javafiles
reside?--
Patrick Linskey [email protected]
SolarMetric Inc. http://www.solarmetric.com
Marc Prud'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com -
Weblogic 6.1 and Resin Problems
I am having trouble with Weblogic 6.1 and Resin. I have a simple .jsp
page that calls an entity bean I have created and deployed with
Weblogic.
The key aspects of the JSP are as follows:
Context jndiContext = new InitialContext();
Object ref = ic.lookup("java:comp/env/CustomerHomeRemote");
CustomerHomeRemote home = (CustomerHomeRemote)
PortableRemoteObject.narrow(ref,CustomerHomeRemote.class);
Integer pk = new Integer(1002);
CustomerRemote customer = home.findByPrimaryKey(pk);
out.print(customer.getFirstname() +"<br>");
out.print(customer.getLastname() +"<br>");
My resin.conf is the same as the default with the following added:
<classpath id='c:\Smartix-Apps\lib\smartixejb.jar' />
<classpath id='c:\Smartix-Apps\classes' />
<classpath id='c:\temp\caucho' />
<classpath id='c:\Smartix-Apps\lib\resin.jar' />
<classpath id='C:\Programs\bea\wlserver6.1\lib\weblogic.jar' />
<jndi-link>
<jndi-name>java:comp/env/CustomerHomeRemote</jndi-name>
<jndi-factory>weblogic.jndi.WLInitialContextFactory</jndi-factory>
<init-param java.naming.provider.url="t3://localhost:7001"/>
<jndi-lookup>CustomerHomeRemote</jndi-lookup>
</jndi-link>
smartixejb.jar contains the CustomerEJB and \classes has all the class
files.
The error I am getting is:
500 Servlet Exception
java.lang.ClassCastException:
com.caucho.server.http.ApplicationAdapter
at com.caucho.jsp.PageManager.<init>(PageManager.java:83)
at com.caucho.jsp.JspManager.<init>(JspManager.java:75)
at com.caucho.jsp.JspServlet.init(JspServlet.java:74)
at com.caucho.server.http.Application.createServlet(Application.java:2755)
at com.caucho.server.http.Application.loadServlet(Application.java:2711)
at com.caucho.server.http.Application.getFilterChainServlet(Application.java:2478)
at com.caucho.server.http.Application.buildFilterChain(Application.java:2445)
at com.caucho.server.http.Invocation.service(Invocation.java:276)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:129)
at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:338)
at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:270)
at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
at java.lang.Thread.run(Thread.java:484)
Can anyone help me???
Thanks in advance!
Remove <classpath id='c:\Smartix-Apps\lib\resin.jar' /> from
your resin.conf.
Matt Koidin <[email protected]> wrote:
> I am having trouble with Weblogic 6.1 and Resin. I have a simple .jsp
> page that calls an entity bean I have created and deployed with
> Weblogic.
> The key aspects of the JSP are as follows:
> Context jndiContext = new InitialContext();
> Object ref = ic.lookup("java:comp/env/CustomerHomeRemote");
> CustomerHomeRemote home = (CustomerHomeRemote)
> PortableRemoteObject.narrow(ref,CustomerHomeRemote.class);
> Integer pk = new Integer(1002);
> CustomerRemote customer = home.findByPrimaryKey(pk);
> out.print(customer.getFirstname() +"<br>");
> out.print(customer.getLastname() +"<br>");
> My resin.conf is the same as the default with the following added:
> <classpath id='c:\Smartix-Apps\lib\smartixejb.jar' />
> <classpath id='c:\Smartix-Apps\classes' />
> <classpath id='c:\temp\caucho' />
> <classpath id='c:\Smartix-Apps\lib\resin.jar' />
> <classpath id='C:\Programs\bea\wlserver6.1\lib\weblogic.jar' />
>
> <jndi-link>
> <jndi-name>java:comp/env/CustomerHomeRemote</jndi-name>
> <jndi-factory>weblogic.jndi.WLInitialContextFactory</jndi-factory>
> <init-param java.naming.provider.url="t3://localhost:7001"/>
> <jndi-lookup>CustomerHomeRemote</jndi-lookup>
> </jndi-link>
> smartixejb.jar contains the CustomerEJB and \classes has all the class
> files.
> The error I am getting is:
> 500 Servlet Exception
> java.lang.ClassCastException:
> com.caucho.server.http.ApplicationAdapter
> at com.caucho.jsp.PageManager.<init>(PageManager.java:83)
> at com.caucho.jsp.JspManager.<init>(JspManager.java:75)
> at com.caucho.jsp.JspServlet.init(JspServlet.java:74)
> at com.caucho.server.http.Application.createServlet(Application.java:2755)
> at com.caucho.server.http.Application.loadServlet(Application.java:2711)
> at com.caucho.server.http.Application.getFilterChainServlet(Application.java:2478)
> at com.caucho.server.http.Application.buildFilterChain(Application.java:2445)
> at com.caucho.server.http.Invocation.service(Invocation.java:276)
> at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:129)
> at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:338)
> at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:270)
> at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
> at java.lang.Thread.run(Thread.java:484)
> Can anyone help me???
> Thanks in advance!
Dimitri
-
Revision: 18377
Revision: 18377
Author: [email protected]
Date: 2010-10-29 12:17:57 -0700 (Fri, 29 Oct 2010)
Log Message:
Remove WEB-INF/flex/jars from classpath in qa-manual and qa-regress. This folder no longer exists as we don't have the webtier compiler.
checkintests: passed
Modified Paths:
blazeds/trunk/qa/apps/qa-manual/build.xml
blazeds/trunk/qa/apps/qa-regress/build.xml -
Temporary remove a jar from classpath
Hi,
I need to solve the issue where i have to use two versions of a jar within one application, due to incompatibility between the versions.
My idea was to temporary change the classpath:
I can add jars to the path during runtime, but can i remove them again as well?
Such as URLClassLoader..removeURL(URL url) would do (if this would exist) .. ?
Any hints?:-) or other ideas?
Regards,
AndreasHi,
You can reload or remove jar during runtime, it is possible using ClassLoader's. You can have n versions of jar at the same time using version and caching mechanism. But the problem would be you need to load and maintain jar by yourself, using your own class loaders which extend base ClassLoader. -
External Jars in Classpath are removed by DC build. Please Help
Hi All,
I have a problem with my classpath. Everytime I try to build a DC some parts of my classpath are emptied. Most notably the external JAR: com.sap.security.api.jar.
It makes it it impossible to do a DC build and use the components in other DCs.
I already tried to add it as a variable like this:
Name: SAP_SECURITY_LIB_HOME
Path: C:/Program Files/SAP/JDT/eclipse/plugins/com.sap.security/lib/com.sap.security.api.jar
It didn't help either.
This problem makes it impossible for me to work with DCs. What am I doing wrong?
Thanks in advance,
JeschaelHi Jeschael,
Instead of adding the "com.sap.security.api.jar" by going to the properties, add the same as Used DC.
1) Go to DC Meta Data
2) Right Click on the Used DCs
3) Select Add Used Dcs
4) Go to the SAP-JEE compartment under Local Development
5) Select the DC "com.sap.security.api.sda"->Finish.
If you add library in this way your problem will be resolved.
Regards,
Jhansi -
Jar Files in a Jar File - Classpath Error
Hi,
I created a jar file that will have all the class files of the application. In the manifest file class path, I have the jar files the application is dependent on. The dependent jar files were kept outside of the application jar file. I was able to execute the main file in the application jar file. Then I created another jar file that holds all the dependent jar files the application is dependent on along with the application jar file into one super jar file. configured the main class attribute of the super jar file to that in the application jar file. When I try to execute it, I'm getting an error saying Class Not Found. Can someone guide me in setting the classpath for this super jar file in its manifest file.
Presently my manifest file classpath variable in the super jar file is set as App.jar Depend1.jar Depend2.jar
Thanks,
E HJava's standard class loaders do not support jar files inside of other jar files, and will give the error you see.
You can write your own customized class loader, use a 3rd-party solution (onejar at sourceforge is one), or remove the interior jars. -
Configuration file/uam/model/common/bc4j.xcfg is not found in the classpath
hi when am running my jspx page am geting this error , am in jdeveloper 11.1.1.6.0
Configuration file /uam/model/common/bc4j.xcfg is not found in the classpath
my log error is
<Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Configuration file /uam/model/common/bc4j.xcfg is not found in the classpath.
oracle.jbo.ConfigException: JBO-33001: Configuration file /uam/model/common/bc4j.xcfg is not found in the classpath.
at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:467)
at oracle.jbo.common.ampool.PoolMgr.loadConfiguration(PoolMgr.java:600)
at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:526)
at oracle.adf.model.bc4j.DCJboDataControl.findApplicationPool(DCJboDataControl.java:572)
at oracle.adf.model.bc4j.DCJboDataControl.initializeSessionCookie(DCJboDataControl.java:396)
at oracle.adf.model.bc4j.DCJboDataControl.initializeJboSession(DCJboDataControl.java:310)
at oracle.adf.model.bc4j.DataControlFactoryImpl.createSessionInternal(DataControlFactoryImpl.java:220)
at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:130)
at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:167)
at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1056)
at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1566)
at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1438)
at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1398)
at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1189)
at oracle.adf.model.BindingContext.get(BindingContext.java:1139)
at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:82)
at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)
at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2713)
at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2761)
at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:304)
at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1458)
at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1588)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.getDataControl(JUCtrlActionBinding.java:566)
at oracle.adf.model.binding.DCInvokeAction.refresh(DCInvokeAction.java:28)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3273)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)
at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:270)
at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:119)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3204)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:115)
at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:359)
at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:274)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
<Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Configuration file /uam/model/common/bc4j.xcfg is not found in the classpath.
oracle.jbo.ConfigException: JBO-33001: Configuration file /uam/model/common/bc4j.xcfg is not found in the classpath.
at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:467)
at oracle.jbo.common.ampool.PoolMgr.loadConfiguration(PoolMgr.java:600)
at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:526)
at oracle.adf.model.bc4j.DCJboDataControl.findApplicationPool(DCJboDataControl.java:572)
at oracle.adf.model.bc4j.DCJboDataControl.initializeSessionCookie(DCJboDataControl.java:396)
at oracle.adf.model.bc4j.DCJboDataControl.initializeJboSession(DCJboDataControl.java:310)
at oracle.adf.model.bc4j.DataControlFactoryImpl.createSessionInternal(DataControlFactoryImpl.java:220)
at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:130)
at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:167)
at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1056)
at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1566)
at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1438)
at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1398)
at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1189)
at oracle.adf.model.BindingContext.get(BindingContext.java:1139)
at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:82)
at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)
at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2713)
at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2761)
at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:304)
at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1458)
at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1588)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.getDataControl(JUCtrlActionBinding.java:566)
at oracle.adf.model.binding.DCInvokeAction.refresh(DCInvokeAction.java:28)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3273)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)
at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:270)
at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:119)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3204)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:115)
at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:359)
at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:274)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)i follow this http://mrk-group.blogspot.com/2012/06/bc4jxcfg-is-not-found-in-classpath.html and remove this
but now am geting this error Object AppModuleDataControl of type DataControl is not found.
the log error is
<DCBindingContainer> <internalRefreshControl> [968] **** refreshControl() for BindingContainer :ocompanyofficerdetails_bc_1
<DCUtil> <findSpelObject> [969] DCUtil, returning:oracle.adf.model.adapter.AdapterDCService, for OrgValidationBean
<Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Object AppModuleDataControl of type DataControl is not found.
oracle.jbo.NoObjException: JBO-25003: Object AppModuleDataControl of type DataControl is not found.
at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2424)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.getDataControl(JUCtrlActionBinding.java:592)
at oracle.adf.model.binding.DCInvokeAction.refresh(DCInvokeAction.java:28)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3273)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)
at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:270)
at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:119)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3204)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:115)
at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:359)
at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:274)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
my databinding.cpx is
Edited by: ADF112 on 2012/10/10 1:22 PM -
hi have a situation where when i add a certain jar in my portal application am geting this error but if i remove the jar in the portal application am geting the error where mis the problem is in my jar must i go to my jar application and solve problem there and where if the problem is in my portal where must i solve the proble am in jdeveloper 11.1.1.6.0
the log error is
<RegionRenderer> <encodeAll> The region component with id: pt1:r1 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.
<Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Configuration file test3/test4/test2/test1/bc/service/common/bc4j.xcfg is not found in the classpath.
oracle.jbo.ConfigException: JBO-33001: Configuration file /test3/test4/test2/test1/bc/service/common/bc4j.xcfg is not found in the classpath.
at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:467)
at oracle.jbo.common.ampool.PoolMgr.loadConfiguration(PoolMgr.java:600)
at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:526)
at oracle.adf.model.bc4j.DCJboDataControl.findApplicationPool(DCJboDataControl.java:572)
at oracle.adf.model.bc4j.DCJboDataControl.initializeSessionCookie(DCJboDataControl.java:396)
at oracle.adf.model.bc4j.DCJboDataControl.initializeJboSession(DCJboDataControl.java:310)
at oracle.adf.model.bc4j.DataControlFactoryImpl.createSessionInternal(DataControlFactoryImpl.java:220)
at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:130)
at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:2004)
at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderPane(PanelSplitterRenderer.java:1360)
at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer.encodeAll(PanelSplitterRenderer.java:279)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
at oracle.adfinternal.view.faces.renderkit.rich.PageTemplateRenderer.encodeAll(PageTemplateRenderer.java:69)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.encodeEnd(ContextSwitchingComponent.java:155)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:220)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1324)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
how can i make sure your .jar ViewController project have Model project as a dependency,how can i search this path in jdeveloper /test1/test2/test3/test4/bc/service/common/bc4j.xcfg
Edited by: adf009 on 2013/04/11 9:47 AM
Edited by: adf009 on 2013/04/11 11:19 AM
Edited by: adf009 on 2013/04/11 11:19 AMbut am still geting the error in my portal application
<Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Configuration file /za/gov/cadastre/vulindlela/bc/service/common/bc4j.xcfg is not found in the classpath.
oracle.jbo.ConfigException: JBO-33001: Configuration file /za/gov/cadastre/vulindlela/bc/service/common/bc4j.xcfg is not found in the classpath.
at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:467)
at oracle.jbo.common.ampool.PoolMgr.loadConfiguration(PoolMgr.java:600)
at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:526)
at oracle.adf.model.bc4j.DCJboDataControl.findApplicationPool(DCJboDataControl.java:572)
at oracle.adf.model.bc4j.DCJboDataControl.initializeSessionCookie(DCJboDataControl.java:396)
at oracle.adf.model.bc4j.DCJboDataControl.initializeJboSession(DCJboDataControl.java:310)
at oracle.adf.model.bc4j.DataControlFactoryImpl.createSessionInternal(DataControlFactoryImpl.java:220)
at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:130)
at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:167)
at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1056)
at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1566)
at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1438)
at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1398
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
my jar file DataBindings.cpx is
<?xml version="1.0" encoding="UTF-8" ?>
<Application xmlns="http://xmlns.oracle.com/adfm/application"
version="11.1.1.61.92" id="DataBindings" SeparateXMLFiles="false"
Package="uam.view" ClientType="Generic"
ErrorHandlerClass= "uam.view.CustomErrorHandler">
<definitionFactories>
<factory nameSpace="http://xmlns.oracle.com/adf/controller/binding"
className="oracle.adf.controller.internal.binding.TaskFlowBindingDefFactoryImpl"/>
<dtfactory className="oracle.adf.controller.internal.dtrt.binding.BindingDTObjectFactory"/>
</definitionFactories>
<pageMap>
<page path="/payment.jsff" usageId="uam_view_paymentPageDef"/>
<page path="/test.jspx" usageId="uam_view_testPageDef"/>
<page path="/security.jsff" usageId="uam_view_securityPageDef"/>
<page path="/pdetails.jsff" usageId="uam_view_pdetailsPageDef"/>
<page path="/odetails.jsff" usageId="uam_view_odetailsPageDef"/>
<page path="/opayment.jsff" usageId="uam_view_opaymentPageDef"/>
<page path="/members.jsff" usageId="uam_view_membersPageDef"/>
<page path="/suburb.jsff" usageId="uam_view_suburbPageDef"/>
<page path="/testsub.jspx" usageId="uam_view_testsubPageDef"/>
<page path="/WEB-INF/register-org-flow.xml#register-org-flow@CreateInsert"
usageId="uam_view_register_org_flow_register_org_flow_CreateInsertPageDef"/>
<page path="/SelectOrg.jsff" usageId="uam_view_SelectOrgPageDef"/>
<page path="/updateorg.jspx" usageId="uam_view_updateorgPageDef"/>
<page path="/OrgDetails.jsff" usageId="uam_view_OrgDetailsPageDef"/>
<page path="/User.jsff" usageId="uam_view_UserPageDef"/>
<page path="/ListUsr.jsff" usageId="uam_view_ListUsrPageDef"/>
</pageMap>
<pageDefinitionUsages>
<page id="uam_view_paymentPageDef" path="uam.view.pageDefs.paymentPageDef"/>
<page id="uam_view_testPageDef" path="uam.view.pageDefs.testPageDef"/>
<page id="uam_view_securityPageDef"
path="uam.view.pageDefs.securityPageDef"/>
<page id="uam_view_pdetailsPageDef"
path="uam.view.pageDefs.pdetailsPageDef"/>
<page id="uam_view_odetailsPageDef"
path="uam.view.pageDefs.odetailsPageDef"/>
<page id="uam_view_opaymentPageDef"
path="uam.view.pageDefs.opaymentPageDef"/>
<page id="uam_view_membersPageDef" path="uam.view.pageDefs.membersPageDef"/>
<page id="uam_view_suburbPageDef" path="uam.view.pageDefs.suburbPageDef"/>
<page id="uam_view_testsubPageDef" path="uam.view.pageDefs.testsubPageDef"/>
<page id="uam_view_register_org_flow_register_org_flow_CreateInsertPageDef"
path="uam.view.pageDefs.register_org_flow_register_org_flow_CreateInsertPageDef"/>
<page id="uam_view_SelectOrgPageDef"
path="uam.view.pageDefs.SelectOrgPageDef"/>
<page id="uam_view_updateorgPageDef"
path="uam.view.pageDefs.updateorgPageDef"/>
<page id="uam_view_OrgDetailsPageDef"
path="uam.view.pageDefs.OrgDetailsPageDef"/>
<page id="uam_view_UserPageDef" path="uam.view.pageDefs.UserPageDef"/>
<page id="uam_view_ListUsrPageDef" path="uam.view.pageDefs.ListUsrPageDef"/>
</pageDefinitionUsages>
<dataControlUsages>
<dc id="OrgValidationBean" path="uam.view.OrgValidationBean"/>
<dc id="UAMUtil" path="uam.view.UAMUtil"/>
<BC4JDataControl id="UAMAppModuleDataControl1"
Package=".model.common"
FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl"
SupportsTransactions="true" SupportsFindMode="true"
SupportsRangesize="true" SupportsResetState="true"
SupportsSortCollection="true"
Configuration="UAMAppModuleLocal" syncMode="Immediate"
xmlns="http://xmlns.oracle.com/adfm/datacontrol"/>
<BC4JDataControl id="OrgAppModuleDataControl"
Package=".model"
FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl"
SupportsTransactions="true" SupportsFindMode="true"
SupportsRangesize="true" SupportsResetState="true"
SupportsSortCollection="true"
Configuration="OrgAppModuleLocal" syncMode="Immediate"
xmlns="http://xmlns.oracle.com/adfm/datacontrol"/>
<BC4JDataControl id="AppModuleDataControl"
Package=".model"
FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl"
SupportsTransactions="true" SupportsFindMode="true"
SupportsRangesize="true" SupportsResetState="true"
SupportsSortCollection="true"
Configuration="OrgAppModuleLocal" syncMode="Immediate"
xmlns="http://xmlns.oracle.com/adfm/datacontrol"/>
<BC4JDataControl id="UpdAppModuleDataControl"
Package=".model.UpdOrgDetails"
FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl"
SupportsTransactions="true" SupportsFindMode="true"
SupportsRangesize="true" SupportsResetState="true"
SupportsSortCollection="true"
Configuration="UpdAppModuleLocal" syncMode="Immediate"
xmlns="http://xmlns.oracle.com/adfm/datacontrol"/>
</dataControlUsages>
</Application>
and my portal DataBindings.cpx is
<?xml version="1.0" encoding="UTF-8" ?>
<Application xmlns="http://xmlns.oracle.com/adfm/application"
version="11.1.1.59.23" id="DataBindings" SeparateXMLFiles="false"
Package="portal" ClientType="Generic"
PageMapClass="oracle.jbo.uicli.mom.DynamicPageMapImpl"
BasePageDefPackageName="pageDefs">
<pageMap>
<page path="/oracle/webcenter/portalapp/pages/navigation-renderer.jspx"
usageId="portal_navigation_rendererPageDef"/>
<page path="/oracle/webcenter/portalapp/pages/home.jspx"
usageId="portal_homePageDef"/>
<page path="/oracle/webcenter/portalapp/pages/login.jspx"
usageId="portal_loginPageDef"/>
<page path="/oracle/webcenter/portalapp/pages/error.jspx"
usageId="portal_errorPageDef"/>
<page path="/oracle/webcenter/portalapp/pagetemplates/pageTemplate_globe.jspx"
usageId="portal_pageTemplate_globePageDef"/>
<page path="/oracle/webcenter/portalapp/pagetemplates/pageTemplate_swooshy.jspx"
usageId="portal_pageTemplate_swooshyPageDef"/>
<page path="/oracle/webcenter/portalapp/pagetemplates/cadastreTemplate.jspx"
usageId="cadastre_portal_cadastreTemplatePageDef"/>
<page path="/oracle/webcenter/portalapp/pages/register.jspx"
usageId="cadastre_portal_registerPageDef"/>
<page path="/oracle/webcenter/portalapp/pages/forgotUsername.jspx"
usageId="cadastre_portal_forgotUsernamePageDef"/>
<page path="/oracle/webcenter/portalapp/pages/forgotPassword.jspx"
usageId="cadastre_portal_forgotPasswordPageDef"/>
<page path="/oracle/webcenter/portalapp/pages/content.jspx"
usageId="cadastre_portal_contentPageDef"/>
<page path="/oracle/webcenter/portalapp/pages/changePassword.jspx"
usageId="cadastre_portal_changePasswordPageDef"/>
<page path="/oracle/webcenter/portalapp/pages/upgateProfile.jspx"
usageId="cadastre_portal_upgateProfilePageDef"/>
<page path="/oracle/webcenter/portalapp/pages/loginHome.jspx"
usageId="cadastre_portal_loginHomePageDef"/>
<page path="/oracle/webcenter/portalapp/pagetemplates/cadastreLoginTemplate.jspx"
usageId="cadastre_portal_cadastreLoginTemplatePageDef"/>
<page path="/oracle/webcenter/portalapp/pages/spatialq.jspx"
usageId="cadastre_portal_spatialqPageDef"/>
<page path="/oracle/webcenter/portalapp/pages/admin/usrLoginReports.jspx"
usageId="cadastre_portal_usrLoginReportsPageDef"/>
<page path="/oracle/webcenter/portalapp/pages/admin/esubAdmin.jsp"
usageId="cadastre_portal_esubAdminPageDef"/>
<page path="/oracle/webcenter/porta
{code}
Edited by: adf009 on 2013/04/12 11:32 AM -
Problem in the package or classpath
Hello every body
I want to add a module at "jhove" which is open source: http://hul.harvard.edu/jhove/index.html
When I launch jhove like this: ./jhove -k file.pdf, it shows me more informations about this pdf.
I want that it re-knows me anathor type of file.(warc format)
Then I have to write a new module.
I try to do it following the link: http://hul.harvard.edu/jhove/writingamodule.html
I added my java code in :/home/jhove/classes/edu/harvard/hul/ois/jhove/module/Project/
The compilation works well.
I add : EXTRA_JARS=/jhove/classes/edu/harvard/hul/ois/jhove/module/Project/WarcModule.jar
At the file: jhove.tmpl
I also add this code at jhove.conf like they montionned in document:
<module>
<class>WarcModule</class>
</module>
I also try with this solution:
<module>
<class>edu.harvard.hul.ois.jhove.module.Project.MonModule</class>
</module>
But I have this error:
edu.harvard.hul.ois.jhove.JhoveException: cannot instantiate module: WarcModule
at edu.harvard.hul.ois.jhove.JhoveBase.init(Unknown Source)
at Jhove.main(Unknown Source)
I think that is problem in the classpath.
There is my code:
package edu.harvard.hul.ois.jhove.module.Project;
import java.io.File;
import java.util.*;
import java.io.*;
import edu.harvard.hul.ois.jhove.*;
import edu.harvard.hul.ois.jhove.ModuleBase;
import edu.harvard.hul.ois.jhove.RepInfo;
import org.archive.io.warc.*;
public class MonModule extends ModuleBase
private static final String NAME = "Warc-hul";
private static final String RELEASE = "1.7";
private static final int [] DATE = {2008, 9, 23};
private static final String [] FORMAT = { "warc"};
private static final String COVERAGE =
"PDF 1.0-1.6; PDF/X-1 (ISO 15930-1:2001), X-1a (ISO 15930-4:2003), " +
"X-2 (ISO 15930-5:2003), and X-3 (ISO 15930-6:2003); Tagged PDF; " +
"Linearized PDF; PDF/A (ISO/CD 19005-1)";
private static final String [] MIMETYPE = {"application/warc"};
private static final String WELLFORMED = "A PDF file is " +
"well-formed if it meets the criteria defined in Chapter " +
"3 of the PDF Reference 1.6 (5th edition, 2004)";
private static final String VALIDITY = null;
private static final String REPINFO = null;
private static final String NOTE = "This module does *not* validate " +
"data within content streams (including operators) or encrypted data";
private static final String RIGHTS = "Copyright 2003-2007 by JSTOR and " +
"the President and Fellows of Harvard College. " +
"Released under the GNU Lesser General Public License.";
private static final String ENCRYPTED = "<May be encrypted>";
protected MonModule(String NAME, String RELEASE, int[] DATE, String[] FORMAT, String COVERAGE, String[] MIMETYPE, String WELLFORMED, String VALIDITY, String REPINFO, String NOTE, String RIGHTS, boolean x)
super (NAME, RELEASE, DATE, FORMAT, COVERAGE, MIMETYPE, WELLFORMED,VALIDITY, REPINFO, NOTE, RIGHTS, true);
* PRIVATE INSTANCE FIELDS.
/* First 6 bytes of file */
protected byte _sig[];
/* Checksummer object */
protected Checksummer _ckSummer;
/* XMP property */
protected Property _xmpProp;
/* Input stream wrapper which handles checksums */
protected ChecksumInputStream _cstream;
/* Data input stream wrapped around _cstream */
protected DataInputStream _dstream;
/* Flag for presence of global color table */
protected boolean _globalColorTableFlag;
/* Size of global color table */
protected int _globalColorTableSize;
/* Count of graphic control extensions preceding
* something to modify */
protected int _gceCounter;
/* Top-level metadata property */
protected Property _metadata;
/* Blocks list property */
protected List _blocksList;
/* Total count of graphic and plain text extension blocks */
protected int _numGraphicBlocks;
public void checkSignatures (File file, InputStream stream, RepInfo info)
throws IOException
int sigBytes[] = { 'W', 'A', 'R', 'C'};
int i;
int ch;
try {
_dstream = null;
_dstream = getBufferedDataStream (stream, _je != null ?
_je.getBufferSize () : 0);
for (i = 0; i < 4; i++) {
ch = readUnsignedByte(_dstream, this);
if (ch != sigBytes) {
info.setWellFormed (false);
return;
info.setModule (this);
info.setFormat (_format[0]);
info.setMimeType (_mimeType[0]);
info.setSigMatch(_name);
catch (Exception e) {
// Reading a very short file may take us here.
info.setWellFormed (false);
return;
Please can any one help me.Daniel, not sure if everything is clear now, but the way you are validating a WARC file is seriously flawed! I strongly suggest you use an existing WARC tool to do the actual parsing/validating.
I've seen more and more people on JHove's mailing list posting problems on how to create their own modules, so I decided to write a small how-to-write-your-own-module-guide.
Perhaps you'd like to give it a shot. I'll also post it on the mailing list.
================================================================================
This is a step-by-step tutorial that will enable you to compile and run a
custom made module for Harvard's idetification tool JHove [1]. This is not
a tutorial on Java programming! For a thorough explanation of this tool and
extensive documentation, please see:
[http://hul.harvard.edu/jhove/documentation.html]
================================================================================
= Setp 1 =
Download and unzip JHove 1.1f [2]. The unzipped folder will be called
JHOVE_HOME from now on.
================================================================================
= Step 2 =
In this example I will construct a very elementary ARC module and will be using
Heritrix' [3] ARCUtils class, so download Heritrix 1.14 [4] and unzip it. After
unzipping, locate the file 'heritrix-1.14.1.jar' (it might be a different
version) and place it in the directory 'JHOVE_HOME/bin'.
================================================================================
= Step 3 =
Create a folder 'JHOVE_HOME/bin/test' and create a new file in it called
'ArcModule.java'. Paste the following contents in that file:
package test;
import java.io.IOException;
import java.io.InputStream;
import edu.harvard.hul.ois.jhove.ModuleBase;
import edu.harvard.hul.ois.jhove.RepInfo;
import org.archive.io.arc.ARCUtils;
public class ArcModule extends ModuleBase {
private static final String NAME = "ARC-hul";
private static final String RELEASE = "0.1";
private static final int[] DATE = {2008, 11, 11};
private static final String[] FORMAT = {"ARC"};
private static final String COVERAGE = null;
private static final String[] MIMETYPE = {"application/arc"};
private static final String WELLFORMED = "...";
private static final String VALIDITY = null;
private static final String REPINFO = "...";
private static final String NOTE = null;
private static final String RIGHTS = "GNU LGPL";
public ArcModule() {
super (NAME, RELEASE, DATE, FORMAT, COVERAGE, MIMETYPE, WELLFORMED,
VALIDITY, REPINFO, NOTE, RIGHTS, false);
// Optionally set some Agent information: see the other Modules how
// this can be done.
@Override
public int parse(InputStream stream, RepInfo info, int parseIndex) {
info.setModule(this);
boolean wellFormed = false;
try {
if(ARCUtils.testCompressedARCStream(stream)) {
wellFormed = true;
} catch (IOException e) {
e.printStackTrace();
info.setWellFormed(wellFormed);
return 0;
}================================================================================
= Step 4 =
Compile this ArcModule by opening a shell (command prompt) and cd-ing to
'JHOVE_HOME/bin' and executing the following command:
*nix & Mac OS:
javac -cp .:JhoveApp.jar:heritrix-1.14.1.jar test/ArcModule.javaWindows:
javac -cp .;JhoveApp.jar;heritrix-1.14.1.jar test\ArcModule.java
(Note, if you're using JDK 1.4, replace '-cp' with '-classpath')
You shouldn't get any messages if all goes well.
================================================================================
= Step 5 =
Open the file 'JHOVE_HOME/conf/jhove.conf' and add the following right beneath
the line <bufferSize>?????</bufferSize>, where ????? is a number:
<module>
<class>test.ArcModule</class>
</module>Save the file.
================================================================================
= Step 6 =
Create a folder called 'JHOVE_HOME/arcs' and copy two compressed ARC files in
them. If you don't have any compressed ARC files laying around, you can
download two small [5]. The file 'A.arc.gz' is a valid compressed ARC file,
while 'B.arc.gz' is the same as 'A.arc.gz' but I removed the ARC-header from
the latter, making it an invalid ARC file.
================================================================================
= Step 7 =
Open a shell, cd to 'JHOVE_HOME/bin' and execute the following command:
*nix & Mac OS:
java -cp .:JhoveApp.jar:heritrix-1.14.1.jar Jhove -c ../conf/jhove.conf -m ARC-hul ../arcsWindows:
java -cp .;JhoveApp.jar;heritrix-1.14.1.jar Jhove -c ..\conf\jhove.conf -m ARC-hul ..\arcsWhich will cause JHove to scan everything that is in 'JHOVE_HOME/arcs' folder
and throws it through your newly create ArcModule. The output will be as
follows:
Jhove (Rel. 1.1, 2008-02-21)
Date: 2008-11-14 22:29:51 CET
RepresentationInformation: .../jhove/arcs/A.arc.gz
ReportingModule: ARC-hul, Rel. 0.1 (2008-11-11)
LastModified: 2008-08-24 20:23:20 CEST
Size: 130870
Status: Well-Formed and valid
RepresentationInformation: .../jhove/arcs/B.arc.gz
ReportingModule: ARC-hul, Rel. 0.1 (2008-11-11)
LastModified: 2008-11-14 21:53:15 CET
Size: 116136
Status: Not well-formedWhich is the expected result: A is valid and B is not.
================================================================================
= Final remarks =
As I said, this is not a programming tutorial, nor is it the best way to
validate ARC files: more meta data should be extracted from the file. But I
leave that for you. This was only a guide to show you how to get started on
writing and running your own modules. You can have a look at the source
of the existing modules to see the "best practices" w.r.t. writing a module.
Best of luck!
Regards,
Bart.
================================================================================
= References =
[1] [http://hul.harvard.edu]
[2] [http://hul.harvard.edu/jhove/download.html]
[3] [http://crawler.archive.org]
[4] [http://sourceforge.net/project/showfiles.php?group_id=73833&package_id=73980]
[5] [http://iruimte.nl/arcs] -
Path in Classpath for file SapMetamodelWebdynproContent.zip not found.
How to get rid of these warnings?
[Warning]: Path in Classpath for file SapMetamodelWebdynproContent.zip not found.
Warning [Warning]: Version for file SapMetamodelWebdynproContent.zip not found.
Warning [Warning]: Versions of 'SapDictionaryTypeServices.jar' have different prefix.
Warning [Warning]: Versions of 'SapDictionaryTypesRuntime.jar' have different prefix.
thanks in advance.Hi,
This is a common problem when you import projects to NWDS. Do like this.
1.Change to Navigator tab in NWDS and delete gen_wdp folder.
2.Switch to Web Dynpro Explorer. Select the Project -> Right click-> Select properties -> in the wizard select Java Build Path -> Select Libraries tab -> You will find jar files with warnings
3.Remove the jar and add the jar file with same name to the project one by one.
4.For each jar file repeat step 3.
5.Save the project
Or
removed the read-only property from all folders / files of the project and it solved my problem.
Hope this helps!!
Thanks & Regards
Vijay K -
How do I use a path as an argument without breaking the -classpath option?
How do I use a path as an argument without breaking the -classpath option?
I have the following Korn Shell Script:
#!/bin/ksh
CSVFILE=/EAIStorageNumbers/v1/0001/weekly05222006.csv
OUTPUTFILE=/EAIStorageNumbers/v1/0001/08000000.txt
PAGEMBR=0800F341
cd /EAIStorageNumbers/v1/bin/
java -classpath com.dtn.refinedfuels.EAIStorageNumbers $CSVFILE $OUTPUTFILE $PAGEMBRWhen I run the shell script, I return the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: /EAIStorageNumbers/v1/0001/weekly05222006/csv
Thus, the -classpath option sees the first argument as a classpath. When I remove the -classpath option, I get a different error, which is another issue:
Exception in thread "main" java.lang.NoClassDefFoundError: au/com/bytecode/opencsv/CSVReader
at com.dtn.refinedfuels.EAIStorageNumbers.main(Unknown Source)
Thoughts or suggestions on how I can get the -classpath option to work with the defined Korn Shell Script variables would be greatly appreciated.I think you're misunderstanding the classpath argument. This tells java where to look to find your classes. The argument you're supplying looks like the class that you want java to run. Run something like this: java -classpath $MY_CLASS_DIR my.package.MyClass arg1 arg2 arg3.
-
Build of DC fails libraries on classpath are not found - Please Help
HI Guys,
I am trying to build an ejb dc.
There are no errors showing up in NWDS but when doing an Development Component -> Build the Build fails with the errors here in the log - how can I make sure the libs are found at compiletime?????
DC Model check:
All used DCs are available locally
validating dependency to build plugin "sap.com/tc/bi/bp/ejbmodule"
validating dependency to public part "default" of DC "sap.com/ejb20"
validating dependency to public part "default" of DC "sap.com/jdbc20"
validating dependency to public part "default" of DC "acdc.de/pinguin/service/dic"
validating dependency to public part "default" of DC "sap.com/configuration"
validating dependency to public part "default" of DC "sap.com/connector"
validating dependency to public part "default" of DC "sap.com/mail"
validating dependency to public part "compilation" of DC "acdc.de/pinguin/ext/lib"
validating dependency to public part "default" of DC "sap.com/jms_provider"
validating dependency to public part "default" of DC "sap.com/jmsconnector"
validating dependency to public part "default" of DC "sap.com/jms"
validating dependency to used DC "apotheker.com/cape/base/external/lib"
validating dependency to used DC "apotheker.com/cape/base/utils"
DC model check OK
Start build plugin:
using build plugin: sap.com/tc/bi/bp/ejbmodule
starting build plugin from : D:\usr\nwds\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\ejbmodule\_comp\gen\default\public\ejb\
Build Plugin 'EJBModulePlugin', Version 7.00 SP 3 (NW701_03_REL, built on 2008-12-17 16:25:56 CET, CL51263)
development component: pinguin/service/ejb (acdc.de)
software component: MyComponents (demo.sap.com)
location: local
type: J2EE, subtype EJBModule
build variant: default
output location: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\gen\default
generation folder: C:\Documents and Settings\user\.dtc\LocalDevelopment\t\F77C06E96830A119E56EFB0EDB243F25
plugin start time: 2011-12-02 18:28:55 GMT+01:00 (CET)
Java VM: Java HotSpot(TM) Client VM, 1.4.2_12-b03 (Sun Microsystems Inc.)
General options:
convert *.xlf to *.properties: yes
include sources for debugging: yes
Checking path lengths for sources
Path length checks finished in 0.016 seconds
Preparing data context..
No public part descriptor found for component "ejb20" (vendor "sap.com"), public part "default", using legacy mode.
No public part descriptor found for component "jms_provider" (vendor "sap.com"), public part "default", using legacy mode.
No public part descriptor found for component "jmsconnector" (vendor "sap.com"), public part "default", using legacy mode.
No public part descriptor found for component "jms" (vendor "sap.com"), public part "default", using legacy mode.
No 'default' JDK defined, will use running VM.
Data context preparation finished in 0.094 seconds
Creating Ant build file..
Creating output file: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\gen\default\logs\build.xml
Using Java class: com.sap.tc.buildplugin.BuildEJBModule
Build file creation finished in 0.046 seconds
Starting Ant..
Using build file: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\gen\default\logs\build.xml
Using build target: build
Using Ant version: 1.6.2
compile:
[echo] Start SQLJ Pre-processing
[sqlj] Using catalog:xml/file/C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\dic\_comp\gen\default\public\default\lib\java\acdc.de~pinguin~service~dic~default.jar;D:\usr\nwds\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\ejb20\_comp\gen\default\public\default\lib\java\ejb20.jar;D:\usr\nwds\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\jms_provider\_comp\gen\default\public\default\lib\java\sapjms.jar;D:\usr\nwds\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\jdbc20\_comp\gen\default\public\default\lib\java\jdbc.jar;D:\usr\nwds\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\jms\_comp\gen\default\public\default\lib\java\jms.jar;D:\usr\nwds\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\ext\lib\_comp\gen\default\public\compilation\lib\java\acdc.de~pinguin~ext~lib~compilation.jar;C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\ext\lib\_comp\gen\default\public\compilation\lib\java\paygate-1.0.2.jar;D:\usr\nwds\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\jmsconnector\_comp\gen\default\public\default\lib\java\jmsconnector.jar;D:\usr\nwds\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\servlet\_comp\gen\default\public\default\lib\java\servlet.jar
[sqlj] translation finished
[sqlj] 0 warnings
[sqlj] 0 errors
[timer] SQLJ Pre-processing finished in 0.828 seconds
[echo] Starting Java compiler
[echo] Settings:
[echo] debug: on
[echo] optimize: off
[echo] deprecation: default
[echo] verbose: default
[echo] encoding: UTF8
[echo] source: default
[echo] target: default
[echo] source paths:
[echo] C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModule
[echo] C:\Documents and Settings\user\.dtc\LocalDevelopment\t\F77C06E96830A119E56EFB0EDB243F25\gen_sqlj
[echo] class path:
[echo] C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\dic\_comp\gen\default\compilation\lib\java\paygate-1.0.2.jar
[echo] D:\usr\nwds\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\jmsconnector\_comp\gen\default\public\default\lib\java\jmsconnector.jar
[echo] D:\usr\nwds\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\servlet\_comp\gen\default\public\default\lib\java\servlet.jar
[echo] output dir: C:\Documents and Settings\user\.dtc\LocalDevelopment\t\F77C06E96830A119E56EFB0EDB243F25\classes
[javac] Compiling 163 source files to C:\Documents and Settings\user\.dtc\LocalDevelopment\t\F77C06E96830A119E56EFB0EDB243F25\classes
[javac] ERROR: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModule\de\acdc\pinguin\facade\acdcPinguin001CustomFacade.java:21: package com.hp.cape.persistence.exception does not exist
[javac] ERROR: import com.hp.cape.persistence.exception.FinderException;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModule\de\acdc\pinguin\facade\acdcPinguin001CustomFacade.java:22: package com.hp.cape.persistence.exception does not exist
[javac] ERROR: import com.hp.cape.persistence.exception.PersistenceException;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModule\de\acdc\pinguin\facade\acdcPinguin001CustomFacade.java:23: package com.hp.cape.persistence.exception does not exist
[javac] ERROR: import com.hp.cape.persistence.exception.RemoteServerException;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModule\de\acdc\pinguin\facade\acdcPinguin001CustomFacade.java:24: package com.hp.cape.persistence.filter does not exist
[javac] ERROR: import com.hp.cape.persistence.filter.FilterCondition;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModule\de\acdc\pinguin\facade\acdcPinguin001CustomFacade.java:96: cannot resolve symbol
[javac] ERROR: symbol : class RemoteServerException
[javac] ERROR: location: class de.acdc.pinguin.facade.acdcPinguin001CustomFacade
[javac] ERROR: protected Object getHomeStub() throws RemoteServerException
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModule
[javac] ERROR: symbol : class RemoteServerException
[javac] ERROR: location: class de.acdc.pinguin.facade.acdcPinguin001Facade
[javac] ERROR: protected acdcPinguin001SB getacdcPinguin001SB() throws RemoteServerException
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModule\de\acdc\pinguin\facade\acdcPinguin001Facade.java:192: cannot resolve symbol
[javac] ERROR: symbol : class FinderException
[javac] ERROR: location: class de.acdc.pinguin.facade.acdcPinguin001Facade
[javac] ERROR: public acdcPinguin001DTO findByPrimaryKey(BigDecimal id) throws FinderException, PersistenceException
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModule\de\acdc\pinguin\facade\acdcPinguin001Facade.java:192: cannot resolve symbol
[javac] ERROR: symbol : class PersistenceException
[javac] ERROR: location: class de.acdc.pinguin.facade.acdcPinguin001Facade
[javac] ERROR: public acdcPinguin001DTO findByPrimaryKey(BigDecimal id) throws FinderException, PersistenceException
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModule
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModulePersistenceException
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\ejbModule\de\acdc\pinguin\facade\acdcPinguin002Facade.java:389: cannot resolve symbol
[javac] ERROR: symbol : class PersistenceException
[javac] ERROR: location: class de.acdc.pinguin.facade.acdcPinguin002Facade
[javac] ERROR: public acdcPinguin002DTO update(acdcPinguin002DTO data) throws PersistenceException
[javac] ERROR: ^
[javac] WARNING: Note: Some input files use or override a deprecated API.
[javac] WARNING: Note: Recompile with -deprecation for details.
[javac] 100 errors
Error: C:\Documents and Settings\user\.dtc\LocalDevelopment\DCs\acdc.de\pinguin\service\ejb\_comp\gen\default\logs\build.xml:158: Compile failed; see the compiler error output for details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:938)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:116)
at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:58)
at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:196)
at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:168)
at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:99)
at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:73)
at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:59)
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:6004)
at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)
at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
Ant runtime 1.265 seconds
Ant build finished with ERRORS
Compile failed; see the compiler error output for details.
Error: Build stopped due to an error: Compile failed; see the compiler error output for details.
Build plugin finished at 2011-12-02 18:28:56 GMT+01:00 (CET)
Total build plugin runtime: 1.562 seconds
Build finished with ERRORHi Saurabh Agarwal,
I have double checked this. removed and added the relevant libraries but no luck.
the build log says that it can not find
[javac] ERROR: C:\Documents and Settings\admitsepedollhofer1\.dtc\LocalDevelopment\DCs\acdc\some\service\ejb\_comp\ejbModule\acdc\some\facade\AcDcSome001CustomFacade.java:21: package com.ap.cape.persistence.exception does not exist
[javac] ERROR: import com.ap.cape.persistence.exception.FinderException;
Build Path looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="var" path="JRE_LIB" sourcepath="JRE_SRC"/>
<classpathentry kind="src" path="ejbModule"/>
<classpathentry kind="src" path="gen_sqlj"/>
<classpathentry kind="src" path="/LocalDevelopmentcapebaseutilsap.com"/>
<classpathentry kind="var" path="TSSAP_JAVAX_HOME/lib/ejb20.jar"/>
<classpathentry kind="lib" path="D:/Projects/some/0/DCs/ap.com/cape/base/utils/_comp/gen/default/public/compilation/lib/java/ap.comcapebaseutilscompilation.jar"/>
<classpathentry kind="var" path="SAP_LOGGING_LIB_HOME/lib/logging.jar"/>
<classpathentry kind="var" path="SAP_SYSTEM_ADD_LIBS/comp/SAP-JEE/DCs/sap.com/com.sap.engine.client.lib/_comp/gen/default/public/default/lib/java/sapj2eeclient.jar"/>
<classpathentry kind="src" path="/DV2_some_Dsomeservicedicacdc.de"/>
<classpathentry kind="var" path="SAP_EXCEPTION_LIB_HOME/lib/exception.jar"/>
<classpathentry kind="lib" path="/DV2_some_Dsomeextlibacdc.de/libraries/paygate-1.0.2.jar"/>
<classpathentry kind="lib" path="/DV2_some_Dsomeextlibacdc.de/libraries/commonsNet.jar"/>
<classpathentry kind="lib" path="/DV2_some_Dsomeextlibacdc.de/libraries/jakarta-oro-2.0.8.jar"/>
<classpathentry kind="var" path="TSSAP_JAVAX_HOME/lib/jms.jar"/>
<classpathentry kind="var" path="TSSAP_JAVAX_HOME/lib/mail.jar"/>
<classpathentry kind="var" path="SQLJ_RUNTIME"/>
<classpathentry kind="lib" path="D:/Projects/some/0/DCs/ap.com/cape/base/external/lib/_comp/gen/default/public/compilation/lib/java/CapeJ2eePersistence.jar"/>
<classpathentry kind="lib" path="D:/Projects/some/0/DCs/ap.com/cape/base/external/lib/_comp/gen/default/public/compilation/lib/java/CapeUtilities.jar"/>
<classpathentry kind="lib" path="D:/Projects/some/0/DCs/ap.com/cape/base/external/lib/_comp/gen/default/public/compilation/lib/java/Cape.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
How can I make sure that the libraries are included in the build process?
Maybe you are looking for
-
I'm using Mac OS X 10.6.4. Today, I tried to save my email content as a PDF file. However, I only got a PDF file that have partial content of email. Then I adjust the printer setting and did it again, then I only got a blank PDF file. There was nothi
-
Link from delivery to subcontracting purchase order
Hi Guys, anyone know how to pick up the link from a delivery (LIKP / LIPS) and the subcontracting purchase order (EKKO / EKPO) which was used to create it? I'm not sure such a link exists - the PO does not appear in the document flow of the delivery,
-
How to install Mail? Happy with it?
Hi I deleted Mail from my drive because I intended to continue using Office, having used Windows until abandoning it after upgrading to Vista. Now I'm thinking I'll ditch Office too, and use iWorks08 and Mail. I'd like to know how to re-download Mail
-
What happend to the address bar prediction service?
Hello, In Firefox 3.6 if i typed something something in the address bar, like Firefox addons, it would take me straight to addons.mozilla.com, instead of just a Google search of it, this is one the features that i really like about Firefox, but in Fi
-
I have been filling out feedback for about 10 years now to increase the zoom percentage in Illustrator. Apparently I am the only one annoyed that I can only zoom in to 6400% to do detail vector illustrator work? Maybe it was my years of being spoiled