Different errors using standard.jar
I've been trying to use the standard.jar (JSTL1.0) but I keep getting different errors. I presume, it's JSP1.2 and Servlet2.3 compliant.
Here is the problem description:
I've a web-module. I kept this jar under WEB-INF/lib. When I use the taglib usiing
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
I get "Unable to open taglibrary http://java.sun.com/jstl/fmt : Could not locate TLD http://java.sun.com/jstl/fmt".
And when I use the taglib using a local fmt.tld, as in,
<%@ taglib prefix="fmt" uri="/tld/fmt.tld" %>
I get, "com.sun.portal.providers.jsp.jasper3.jasper.compiler.CompileException: ......./HarnessPortletContent.jsp(47,65) Unable to load class null".
Tried both Tomcat3.0 and Sun App Server 7.0
I know that the JSTL 1.0 jars work in AppServer 7.1. The TLD scanning mechanism is included in 7.1 where you only need to place the jar files that include your TLD's in the web application's WEB-INF/lib directory.
You can either upgrade to AppServer 7.1 or do the mappings yourself manually as follows:
1) unjar the JSTL implementation jar file
2) copy the TLD's to your WEB-INF directory
3) rejar the JSTL implementation jar file and place it in your WEB-INF/lib directory
4) modify your web.xml file to point to the JSTL TLD's like:
<taglib>
<taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/fmt.tld</taglib-location>
</taglib>
I'd recommend upgrading since the above steps are tedious and you can avoid them by using a container like AppServer 7.1 or Tomcat 4.x that implements TLD scanning.
Thanks,
Justyna
Similar Messages
-
Runtime error using net_rim_api.jar
Hi. I was trying to use net_rim_api.jar in a web mobile application to use RadioInfo class. However whe I run the application to obtain MNC, MCC and LAC, I see the following error:
javax.faces.el.EvaluationException: java.lang.UnsatisfiedLinkError: net.rim.device.api.system.RadioInfo.getCurrentNetworkIndex()I
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1535)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:965)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:346)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
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:173)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:121)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
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:136)
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)
Caused by: java.lang.UnsatisfiedLinkError: net.rim.device.api.system.RadioInfo.getCurrentNetworkIndex()I
at net.rim.device.api.system.RadioInfo.getCurrentNetworkIndex(Native Method)
at ct.view.BlackBerry.<init>(BlackBerry.java:44)
at ct.view.UpdateOrder.addRowLogDetail(UpdateOrder.java:203)
at ct.view.UpdateOrder.changeDetailStatus(UpdateOrder.java:65)
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:597)
at com.sun.el.parser.AstValue.invoke(Unknown Source)
at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
... 44 more
I am running Jdeveloper 11.1.2.0.0
What's is wrong in my application?
Edited by: Jairo Cortes on Jul 16, 2011 5:41 PMThanks Vinod,
Really, I never tried this application with previous versions of JDeveloper. I've reading that release 11.1.1.4 has the adf mobile client doing more easy obtain deep integration with the capabilities of the mobile device. I believe this is my issue.
However, with the new release (11.1.2), I see an integration of adf mobile client has been integrated into a new product called Oracle ADF Mobile. For this reason, I did proofs with JDeveloper new release.
What's release you suggest me?
Any help will be grateful.
Jairo -
Error Using imported .JAR in user-defined function
Hi All,
I am trying to use jar files provided to me in user defined function as follows:
DataEncryption temp = new DataEncryption();
String ret = new String();
ret = temp.getEncryptedData(a);
return ret;
All jar files working perfectly in java software, But when i am trying to test the mappings by using above user-defined function.
I am catching the error and put in target field then, I am getting following message in target field:
"An error occured in getEncryptedData method : java.lang.SecurityException: The provider SunJCE may not be signed by a trusted party"
Please help in finding the error.
RegardsRohan
Check if the XI Server JRE is the same as the client machine on which you have compiled your JAR.
1.4 has had this issue and i remember seeing it in a few forums.The problem should not occure in 1.5 -
Access Denied Socket Permission Error using 3rdParty jar in webstart
Hi,
I am trying to create a multisocket in my application, and this app is downloaded through webstart,
Following are the things I ve done,
1. I use two jnlp file, one mail jnlp file (say a.jnlp) and the other an extension jnlp file (a_ext.jnlp) which contains the third party jars.
2. I used <security><allpermission/><security/> in both the jnlp files.
3. If I try to create a multisocket in my code that is downloaded through main jnlp i.e. a.jnlp file, then it is working fine.
4. But the problem is, the third party jar which is downloaded throught "a_ext.jnlp" file is trying to create a multisocket
and i am getting the following error,
+java.security.AccessControlException: access denied (java.net.SocketPermission 228.0.0.4 connect,accept,resolve)+
+ at java.security.AccessControlContext.checkPermission(Unknown Source)+
+ at java.security.AccessController.checkPermission(Unknown Source)+
+ at java.lang.SecurityManager.checkPermission(Unknown Source)+
+ at java.lang.SecurityManager.checkMulticast(Unknown Source)+
+ at java.net.MulticastSocket.joinGroup(Unknown Source)+
+ at inria.net.MulticastSession.initialize(MulticastSession.java:143)+
+ at inria.net.lrmp.LrmpImpl.<init>(LrmpImpl.java:105)+
+ at inria.net.lrmp.LrmpImpl.<init>(LrmpImpl.java:89)+
+ at inria.net.lrmp.Lrmp.<init>(Lrmp.java:194)+Please help me.
Note that I dont want to create any policy file, I want some configurations to be done in jnlp files or in the jars, because i cannot create a policy file and copy it manually in each client deployment.>
And sorry that jnlp is a valid jnlp only, ..>
How do you know? Did you validate it, or are you just guessing?
>
..and it was a typing mistake, ..>So don't retype these things, instead copy/paste them.
>
it is </security> not <security/>>it is also <all-permissions/>, not <allpermission/>
>
and when i start through webstart it is asking for confirmation also, so i think this <security> tag is working fine.>Stop thinking and start validating.
>
But the problem is with security for the 3rdParty jar downloaded through jnlp extension. >So it will be most important to validate that. Note that if this 3rd party extension is signed by the people that supplied it, you should get a second security prompt.
>
... I hope JNLP doesnt check or give permission for the jars downloaded via extension jnlp?>What does that mean?
OTOH, I just noticed you assigned the princely sum of 1 entire duke star for this question. It is obviously of only minor importance to you, so my time is better spent elsewhere.
Good luck with it. -
Lots of different errors when using Maps on Linux, help?
I'm trying to use Maps in one of my programs, but for some reason I get all sorts of different errors when compiling.
I've tried both my own (very) simple tests of it and also I've copied and pasted the code straight out of the official tutorials.
//Edit: Ok, I've tried it on several different IDEs, and Netbeans (on both Linux and Windows) and JCreator(on Windows) both work now for whatever reason. The only one I still have problems with is below.
Here some of the errors I get, and nothing is making sense.
On a Linux machine, using a simple IDE (Geany):
MapTest.java:6: not a statement
Map<String, Integer> m = new TreeMap<String, Integer>();
^
MapTest.java:6: ';' expected
Map<String, Integer> m = new TreeMap<String, Integer>();
I don't know why it isn't working.What do IDEs have to do with this? It's a compiler error.
Do you import java.util.Map and java.util.TreeMap?
Are you using JDK 5 or higher? Generics didn't appear in Java until JDK 5.
% -
Error while running WDJ application using jxl.jar
Hi Experts,
I am using jxl.jar in my webdynpro java application in CE7.2. I added jxl.jar in java build path and place the jar file in lib directory of webdynpro DC. It shows error in development configuration perspective while building, then i created another DC of type ExternalLibrary and added jxl.jar in libraries folder, then i right click on that jar and published as archive. Then in Development configuration perspective i added ExternalLibrary project to my webdynpro DC, it doen't shows error while building.
I deployed successfully, when i run the application, it shows the following error. Is there any fault in adding external jar to mt DC? i can't understand where the problem is?
Error:
java.lang.ClassNotFoundException: jxl.Workbook -
Loader Info -
ClassLoader name: [com.drl.bomrecipe/bomrecipe] Loader hash code: 30a86ee9 Living status: alive Direct parent loaders: [system:Frame] [interface:webservices] [interface:cross] [interface:security] [interface:transactionext] [library:webservices_lib] [library:opensql] [library:jms] [library:ejb20] [service:p4] [service:ejb] [service:servlet_jsp] [sap.com/tcwdapi] [library:tcblexceptionlib] [library:tcblloggingapi] Resources: E:\usr\sap\CE7\J00\j2ee\cluster\apps\com.drl.bomrecipe\bomrecipe\servlet_jsp\webdynpro\resources\com.drl.bomrecipe\bomrecipe\root\WEB-INF\lib\com.drl.bomrecipe~bomrecipe.jar -
at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:272)
at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:241)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:367)
help me please, thanks in advance
Regards,
Pradeep Kumar GHi Pradeep,
Have you created both compilation and assembly public parts for your Ext Lib, and have you added them both to your Used DC's list?
Also remember, since you are using an assembly public part, the 'Create Archive' and 'Deploy new archive and run' should not be used!
Use the DC Build and DC Deploy instead.
Hope this helps!
Robin van het Hof -
Error in XI while using standard EDI Libraries of Conversion Agent
Hi,
We are planning to use conversion agent for EDI to XML conversion using standard libraries.
Right now working on EDI 867 and is working fine in my local system. But when we moved the contents
to XI server, we are getting the following error
*ConversionAgent/ServiceDB/TS_867_Product_Transfer_and_Resale_Report_Parser/TS_867_Product_Transfer
andResale_Report_parsers_segments.tgp(547): is_optional is not a known profile or PT*
Can anybody help us to solve this issue?
Regards,
RaviHI,
The module name must be localejbs/sap.com/com.sap.nw.cm.xi/CMTransformBean.
The parameter name must be TransformationName.
The parameter value must be the conversion agent project name deployed in serviceDB. In the above example, the Tutorial_3 project from the documentation in step 1 is used.
And also it was failed to update the log.See the folder access onceagain.
many links provided in that blog itself ,plz check.
Regards
Chilla.. -
Error trying to use OLTCommandLine.jar
I have an error trying to run an OLT Scenario from command line using OLTCommandLine.jar as described in Chapter 4.3.6 of the OLT Load Testing Users Guide. (OATS 12.1) If anyone has input please let me know.
I am attempting to invoke OLTCommandLine.jar on the OATS Server with the following command line:
C:\OracleATS\jdk\bin\java.exe -jar C:\OracleATS\lib\OLTCommandLine.jar -run -scenarioFile="C:\OracleATS\OFT\Login_LOAD\Login_LOAD.scn" -session="Login_LOAD_CMD_test" -OLTServer=localhost:8088 -user=Administrator -password=XXXXX -log C:\Temp\myOLTlog.log
The error message is as follows:
Error initializing controller connection to t3://10.0.1.13:8088/Administrator\n\n(message id=ctl.initError)
Please make sure the OLT server is running!I was able to resolve this issue.
The error message indicated a problem using the t3 protocol. The local weblogic install did not have it enabled. I was able to login to the weblogic console (http://localhost:8088/console) as user "oats" with the install password. Then I figured out that I needed to click the "Enable Tunneling" checkbox. After that the OLTCommandLine.jar started working as desired. -
hi everybody, I am wondering what should i do with the standard.jar and jstl.jar files when using we logic. I tried putting both files into
the directory c:\oracle\middleware\oracle_home\user_projects\domains\base_domain\bin. I don't know if this is correct. Thanks in
in advance for the help.Anyways I found this link on www.oracle.com website by the same author of the book I am reading Deepak Vohra - Templating with JSF 2.0 Facelets.
although here he is using Weblogic 11g although I don't think it makes a difference. have a look at the Setting up the Environment section
where he says to download the jstl.jar and standard.jar files.
http://www.oracle.com/technetwork/articles/java/facelets-454361.html -
Error adding package to class that is using a jar
Hi,
I have a class that is using a jar but I need it to be in a package so I can use it with JSP, but each time I put the package in the class I get some compile errors that the classes in the jar can't be found.
Example:
Compiling 1 source file to C:\Documents and Settings\ehasbunv\Mis documentos\proyecto\mex\cc\build\web\WEB-INF\classes
C:\Documents and Settings\ehasbunv\Mis documentos\proyecto\mex\cc\src\java\tecno\Tecnomen.java:22: cannot find symbol
symbol : class PP_OpenInterface
location: class tecno.Tecnomen
private PP_OpenInterface pp = null;
C:\Documents and Settings\ehasbunv\Mis documentos\proyecto\mex\cc\src\java\tecno\Tecnomen.java:23: cannot find symbol
symbol : class PP_OpenInterface_Factory
location: class tecno.Tecnomen
private PP_OpenInterface_Factory ppf = null;
C:\Documents and Settings\ehasbunv\Mis documentos\proyecto\mex\cc\src\java\tecno\Tecnomen.java:127: cannot find symbol
symbol : class PP_exception
location: class tecno.Tecnomen
public int GenericRecharge (String Subid,int monto) throws PP_exception
C:\Documents and Settings\ehasbunv\Mis documentos\proyecto\mex\cc\src\java\tecno\Tecnomen.java:79: cannot find symbol
symbol : variable PP_OpenInterface_FactoryHelper
location: class tecno.Tecnomen
ppf = PP_OpenInterface_FactoryHelper.narrow(nsRef);
C:\Documents and Settings\ehasbunv\Mis documentos\proyecto\mex\cc\src\java\tecno\Tecnomen.java:91: cannot find symbol
symbol : class PP_exception
location: class tecno.Tecnomen
catch(PP_exception ex)
C:\Documents and Settings\ehasbunv\Mis documentos\proyecto\mex\cc\src\java\tecno\Tecnomen.java:139: cannot find symbol
symbol : class paramRecord
location: class tecno.Tecnomen
paramRecord pSeq [] = new paramRecord[] {
C:\Documents and Settings\ehasbunv\Mis documentos\proyecto\mex\cc\src\java\tecno\Tecnomen.java:139: cannot find symbol
symbol : class paramRecord
location: class tecno.Tecnomen
paramRecord pSeq [] = new paramRecord[] {
C:\Documents and Settings\ehasbunv\Mis documentos\proyecto\mex\cc\src\java\tecno\Tecnomen.java:140: cannot find symbol
symbol : class paramRecord
location: class tecno.Tecnomen
new paramRecord(0,subId),
C:\Documents and Settings\ehasbunv\Mis documentos\proyecto\mex\cc\src\java\tecno\Tecnomen.java:141: cannot find symbol
symbol : class paramRecord
location: class tecno.Tecnomen
new paramRecord(1,amount),Checking another file, the problem is that if I'm
trying to use a class in the default package in
another class and put a package name in the class
then I can't use the default package. Is there any
workaround?Nope. Get in the habit now of making ALL of your classes belong to packages. The "no-package" is only for creating 'toy' applications with no dependencies from other packaged classes. -
Automated Deployment Using admin_client.jar gives 500 error
Greetings,
1. standalone OC4J version 10.1.3.3.0
2. Windows XP platform in a VM
We have a mature deployment in that the deployment from JDeveloper is routinely successful. During the course of developing continuous integration builds, the automated deployment is now failing. We had succeeded previously using admin_client.jar and the deploy command as follows:
<target name="deploy_oc4j" depends="assembleEar"
description="deploy the enterprise archive to a standalone oc4j using admin_client.jar">
<echo>
In deploy_oc4j target.
</echo>
<java classname="${j2ee.home}/admin_client.jar" fork="true">
<jvmarg value="-jar"/>
<arg value="${oc4j.deploy.admin_client}"/>
<arg value="${oc4j.deploy.username}"/>
<arg value="${oc4j.deploy.password}"/>
<arg value="-deploy"/>
<arg value="-file"/>
<arg value="${this.application.name}".ear"/>
<arg value="-deploymentName"/>
<arg value="${this.application.name}"/>
<arg value="-bindAllWebApps"/>
<arg value="${default.application.name}"/>
</java>
</target>We now have two issues occurring and they may be related. We have added the capability of creating a connection pool and a data source using admin_client.jar commands:
<target name="connectionpool" depends="deploy_oc4j"
description="create a connection pool using admin_client.jar">
<echo>
Adding a connection pool.
</echo>
<java classname="${j2ee.home}/admin_client.jar" fork="true">
<jvmarg value="-jar"/>
<arg value="${oc4j.deploy.admin_client}"/>
<arg value="${oc4j.deploy.username}"/>
<arg value="${oc4j.deploy.password}"/>
<arg value="-addDataSourceConnectionPool"/>
<arg value="-applicationName"/>
<arg value="${this.application.name}"/>
<arg value="-name"/>
<arg value="jdev-connection-pool-name"/>
<arg value="-factoryClass"/>
<arg value="oracle.jdbc.pool.OracleDataSource"/>
<arg value="-dbUser"/>
<arg value="username"/>
<arg value="-dbPassword"/>
<arg value="password"/>
<arg value="-url"/>
<arg value="jdbc:oracle:thin:@dev:1521:ORCL"/>
</java>
</target>
<target name="datasource" depends="connectionpool"
description="create a datasource using admin_client.jar">
<echo>
Adding Managed Data Source.
</echo>
<java classname="${j2ee.home}/admin_client.jar" fork="true">
<jvmarg value="-jar"/>
<arg value="${oc4j.deploy.admin_client}"/>
<arg value="${oc4j.deploy.username}"/>
<arg value="${oc4j.deploy.password}"/>
<arg value="-addManagedDataSource"/>
<arg value="-applicationName"/>
<arg value="${this.application.name}"/>
<arg value="-name"/>
<arg value="jdev-connection-managed-name"/>
<arg value="-jndiLocation"/>
<arg value="jdbc/name"/>
<arg value="-connectionPoolName"/>
<arg value="jdev-connection-pool-name"/>
<arg value="-dbUser"/>
<arg value="username"/>
<arg value="-dbPassword"/>
<arg value="password"/>
</java>
</target>We complete the automated deployment and all ant tasks succeed, including creation of the connection pool and managed data source. During this process, the existing system-jazn-data.xml file is overwritten and our Application's <login module> information has been deleted. Upon editing this file and adding back the login module data and restarting oc4j, we can login to our application. The framework of the site is present along with graphics, yet every page visited yields a 500 error (jspx +and+ HTML). Since the entire deployment is done from ant, we do not have the capability of specifying a the web-app as development configuration. We need advice on how best to debug the deployed application as well as knowledge regarding the mechanism which causes the system-jazn-data.xml file in the oc4j/j2ee/home/config folder to be modified.
THX
-Mike
Edited by: Michael F. Hardy on Sep 11, 2008 5:03 PM
Edited by: Michael F. Hardy on Sep 11, 2008 5:03 PM
Edited by: Michael F. Hardy on Sep 11, 2008 5:05 PMFound that jar files were missing from autobuild. This continues to be an issue where libraries are added to WEB-INF\lib in JDeveloper and the individual jar files are needed for an automated build process.
-
Standard.jar and jstl.jar directory
First off I probably should apologize in advance because my problem might be an eclipse config issue.
I created a simple servlet and I tried to include a jstl library import javax.servlet.jsp.jstl.sql.Result;. It compiled cleanly but, when I ran the application (through a browser accessing tomcat through eclipse) I was getting this error...
The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
I eventually found out what was wrong but I don't understand why it was wrong and that's my question. Originally I had jstl.jar and standard.jar in the projectHome/lib directory. When I moved those 2 files to the projectHome]/WEB-INF/lib directory, however, things ran correctly. Is this a setting somewhere within my tomcat config on eclipse perhaps? Or can someone point me in the right direction about this issue in general?
Thanks in advance!Tomcat and Eclipse have different ideas of classpath.
In Eclipse you set the classpath as part of the project properties: Java Build Path.
Tomcat uses:
- web-inf/classes directory
- jar files in web-inf/lib
- jar files in /shared/lib
- jar files in /common/lib
So in order to run on Tomcat, they need to be in the web-inf/lib directory.
Cheers,
evnafets -
Exception while a session been lookup on weblogic 10.3.3 using wlclient.jar
Hi,
I am upgrading to weblogic 10.3.3.
I have a client that downloads the required to the client machines using Java web start 6.
I am using wlclient.jar at the client side.
When I am trying to lookup for a session bean it is throwing the below exception at the client side.
java.rmi.MarshalException: CORBA MARSHAL 0 No; nested exception is:
org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: No
at com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException(Unknown Source)
at javax.rmi.CORBA.Util.mapSystemException(Unknown Source)
at com.mbt.expert.server.util._ServerDBQueryObjectRemote_Stub.getExchangeList(Unknown Source)
at com.mbt.expert.util.DBQueryObject.getExchangeList(DBQueryObject.java:419)
at com.mbt.expert.view.dialogs.OpenExchangeDialog.actionPerformed(OpenExchangeDialog.java:425)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at com.mbt.expert.view.dialogs.OpenExchangeDialog.displayDialog(OpenExchangeDialog.java:606)
at com.mbt.expert.mdi.actions.OpenExchangeAction.execute(OpenExchangeAction.java:204)
at com.mbt.mdi.MDICommand.actionPerformed(MDICommand.java:47)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: No
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.sun.corba.se.impl.protocol.gio pmsgheaders.MessageBase.getSystemException(Unknown Source)
at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(Unknown Source)
at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)
... 80 more
I have checked the server logs and the server is able to receive the request from the client and fetching the required details.
I am sending these details to the client by adding to a Vector.
I have observed one more thing, the same is working in other machine which is in another network.
I have also tried with the other wl*.jar s but giving different exceptions.
My server classpath consists of weblogic.jar.
Do I have to include the client jars in my server classpath?
Please suggest me how to resolve this.
Please help me here :)Thanks for your time, :)
I have tried all the three wl*client jars, but no use. :(
Got the same error for wlclient.jar and wlfullclient.jar.
And for wlt3client.jar I got some different error which is very strange...
java.lang.AssertionError: Failed to generate class for com.mbt.expert.server.session.LoginSessionBean_tqw6yu_HomeImpl_1033_WLStub
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:797)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:786)
at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:74)
at weblogic.rmi.internal.StubInfo.resolveObject(StubInfo.java:213)
at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:207)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeReadResolve(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:197)
at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:598)
at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:193)
at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:240)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
at weblogic.jndi.internal.ServerNamingNode_1033_WLStub.lookup(Unknown Source)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:405)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393)
at javax.naming.InitialContext.lookup(Unknown Source)
at com.mbt.expert.mdi.ExpertVariable.getLoginSession(ExpertVariable.java:455)
at com.mbt.expert.view.dialogs.Login.okPressed(Login.java:187)
at com.mbt.expert.view.dialogs.Login.keyPressed(Login.java:141)
at java.awt.Component.processKeyEvent(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:795)
... 55 more
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.ClassLoader.getSystemClassLoader(Unknown Source)
at weblogic.utils.classloaders.AugmentableClassLoaderManager.getAugmentableClassLoader(AugmentableClassLoaderManager.java:48)
at weblogic.rmi.internal.ClientRuntimeDescriptor.findLoader(ClientRuntimeDescriptor.java:254)
at weblogic.rmi.internal.ClientRuntimeDescriptor.getInterfaces(ClientRuntimeDescriptor.java:132)
at weblogic.rmi.internal.StubInfo.getInterfaces(StubInfo.java:77)
at com.mbt.expert.server.session.LoginSessionBean_tqw6yu_HomeImpl_1033_WLStub.ensureInitialized(Unknown Source)
at com.mbt.expert.server.session.LoginSessionBean_tqw6yu_HomeImpl_1033_WLStub.<init>(Unknown Source)
... 60 more
Please tell me how can I get rid of this?? -
How to use standard Smart forms
hi All,
Pls give me the detail for smartform ie how to use standard smart forms and how to modify them in SAP 4.7EE
Thanks,
NitinHi,
first u copy the standrad smartform to z and then modify it,
SOME STANDARD SMARTFORMS
SF_EXAMPLE_01,
SF_EXAMPLE_02,
SF_EXAMPLE_03,
LB_BILL_INVOICE,
ENETR SMARTFORMS TCODE
PRESS F4 HERE U FIND ALL STANDARD SMARTFORMS
OR
U GO TO TRANSACTION CODE NACE
SAMPLE PROGRAM FOR SMARTFORM,
. Create a new smartforms
Transaction code SMARTFORMS
Create new smartforms call ZSMART
2. Define looping process for internal table
Pages and windows
First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
Here, you can specify your title and page numbering
&SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
Main windows -> TABLE -> DATA
In the Loop section, tick Internal table and fill in
ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
3. Define table in smartforms
Global settings :
Form interface
Variable name Type assignment Reference type
ITAB1 TYPE Table Structure
Global definitions
Variable name Type assignment Reference type
ITAB2 TYPE Table Structure
4. To display the data in the form
Make used of the Table Painter and declare the Line Type in Tabstrips Table
e.g. HD_GEN for printing header details,
IT_GEN for printing data details.
You have to specify the Line Type in your Text elements in the Tabstrips Output options.
Tick the New Line and specify the Line Type for outputting the data.
Declare your output fields in Text elements
Tabstrips - Output Options
For different fonts use this Style : IDWTCERTSTYLE
For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
5. Calling SMARTFORMS from your ABAP program
REPORT ZSMARTFORM.
Calling SMARTFORMS from your ABAP program.
Collecting all the table data in your program, and pass once to SMARTFORMS
SMARTFORMS
Declare your table type in :-
Global Settings -> Form Interface
Global Definintions -> Global Data
Main Window -> Table -> DATA
Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
http://sapr3.tripod.com
TABLES: MKPF.
DATA: FM_NAME TYPE RS38L_FNAM.
DATA: BEGIN OF INT_MKPF OCCURS 0.
INCLUDE STRUCTURE MKPF.
DATA: END OF INT_MKPF.
SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
MOVE-CORRESPONDING MKPF TO INT_MKPF.
APPEND INT_MKPF.
ENDSELECT.
At the end of your program.
Passing data to SMARTFORMS
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZSMARTFORM'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
if sy-subrc <> 0.
WRITE: / 'ERROR 1'.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call function FM_NAME
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
GS_MKPF = INT_MKPF
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Thanks&Regards,
Phani
POINTS HELPFUL -
HP G60 Vista Home won't boot. 2 different errors.
hello everyone, first post here, hope i can get some help. I have seen similar postings for my errors, but never both together. i get two different errors when trying to boot, and i'm trying to find out if anything can be done with this machine.
Again, HP G60 with Vista Home installed. The power cord was unplugged and the computer shut down incorrectly. When i plugged it back in, and then tried to turn it on, it gets to the boot screen and then gives this error:
0xc000000f -- The boot selection failed because a required device is inaccessible.
It gives two options, to start windows normally, or to use the boot disk (recommended), which i don't have (i made one years ago when i first go the machine, but have since lost/misplaced it). If i try and start normally it will fail again and it gives the below error:
File: \Windows\system32\config\system
Status: 0xc00000e9
Info: Windows failed to load because the system registry file is missing, or corrupt.
I have tried the following:
Rebooted, In the Bios screen reset setting to default values. Boot menu shows HD is there. I pressed F8 to get to the Advanced menu screen, and tried literally all the options (repair, system restore, debugging mode, safe mode, safe mode command prompt, not in that order, but after the standard stuff was getting nowhere i just tried them all) in hopes of getting something to work, but to no avail. Every time it goes to restart and then back to the error messages. Doesn't even get to the Windows loading screen.
I tried to boot Linux distro from a DVD, to see if i can then get to the system files on the main drive. but even after putting the Bios boot order to CD/DVD first, nothing happens, or boot options from the Esc menu when first starting the machine, still nothing happens. Again, in hopes of something different happening, I tried all the options in the Esc menu (the one with like 5 options, including getting to the Bios menu), but other than being able to get to bios menu, nothing else happens.
Basically, whatever option i try in the boot screens advanced options, or Esc menu options when first booting, results in the error, i can't get anywhere past the boot screen.
Additional Information:
In the past there was a version of Linux Ubuntu on the machine, which has since been deleted and the partition restored to the main drive, however , i never removed the boot screen OS selection, so it always gets to the selection screen asking to boot vista or Ubuntu. Selecting Vista will give the error, Ubuntu will of course do nothing because it doesn't exist, but not sure if this is causing an issue when rebooting for repair.
Sequence of Screens after powere up:
HP screen that you can choose Esc menu from
OS Selection screen, F8 will bring you to Advanced options.
After choosing Vista, error: 0xc000000f -- The boot selection failed because a required device is inaccessible.
After choosing any option, error: 0xc00000e9 windows failed to load because the system registry file is missing.
At this point i'm willing to forgo the files that are on the machine, if i can recover them it would be a bonus. Any ideas would be great. would a boot disk even work if it won't boot the linux distro? is there a way to do a system recovery if the one in the advanced options is not working and giving the same error?Yo! I have found the solution!
Listen, in advance sorry for my bad english!
If you have Windows 7 CD or USB put it in an boot inside.
Then, first step about language click next
Then, click on repair and wait
Then, unmark Windows 7 (if you dont do this it will scan and try to repair but we dont want that) and click next
Then, click on Command Promt, when command promt is open type next :
(In my case the usb was X:\, and the system partition was C:\, so i will explain for my case)
1. Navigate to X:\Windows\System32\ (you type X:\cd Windows bla bla, i hope that you know the basics in Command Prompt)
2. When you are in X:\Windows\System32\ type COPY config C:\Windows\System32
3.Restart computer and hit enter on start windows normaly
You dont need to install windows again
I hope i helped you and that you did understand me
Maybe you are looking for
-
Pages can't open Pages09 documents from MobileMe
I have a number of files created with Pages '09 on my iDisk. When the files are downloaded with GoodReader they appear as Folders, and Pages-iPad can't open them. Is there a way to open Pages documents stored on iDisk with iPad? Regards
-
Hi can anyone help or point me in the right direction. I am developing an event management system, part of this is the dynamic creation on name badges which will be printed at the events. I want to do this by exporting all the data as XML then loadin
-
Can anyone please suggest that how it is possible to manipulate OS files at client side using Oracle APEX. Does UTL_FILE can be used on client side or TEXT_IO will work. thanks
-
Hi Experts how can i get the HR data for current year ,uptoday and fromtoday. can anyone please supply for me functional module names . Thanks & Regards Rags
-
Java Installation: Please Help Me
Please Help! For school we need to install JAVA. I installed JDK 5.0 and id did not work. I got exception in thread "main" java.lang.noclassdeffounderror: hello. I was using Texpad to write, compile, and run it. In short I deleted all JAVA 5.0 using