Error when run sqlj demo CODE.
I am using JDeveloper 3.0 to run some SQLJ demo codes. The code come with Oracle 8i for NT.
When running these code at first, I did not have any problem. I got all the result correctly.
But after I reboot my computer in the night, and restarted it this moring, I got the error message:
Error running the example: java.sql.SQLException: profile ExprDemo_SJProfile0 not found: java.io.InvalidClassException: [Ljava.lang.Object;; Serialization incompatible with Externalization
I did see the created *.java file and *.ser files in the directory which I set as the source directory and ot path in the Project.
So I am sure tha the translator works, but why Java cannnot find the profil?
I am learn SQLJ. I appreciate any one can help me figure this out.
Pam
null
When you go to the download section to download a SQLJ translator, you will be sent to the JDBC/SQLJ download page.
There you can get the SQLJ 8.1.6 SDK patch which you can use to update JDeveloper 3.0 (essentially, you replace the SQLJ translator.zip file with a new version). This permits SQLJ to function under JDK 1.2.
Additionally, you need to ensure that the environment under which you compile (1.1 vs. 1.2) and under which you run correspond. - Specifically, ensure that you start JDev under 1.2 and that your project also is a 1.2 project. Otherwise all sorts of strange things appear to happen (even with the patch).
-- Ekkehard
Similar Messages
-
How to solve error when run Depreciation (T-Code:AFAB)
Dear All Experts,
Hi,
I found error when run Depreciation for period 9 FYI. I had run Planed posting period Depreciation (TCode: AFAB). with fiscal year: 2010, posting period: 9, reason for posting run: Planed posting run. Select on Test Run. Then i found error message as below.
Documents manually posted within dep.doc.number range
Message no. AA728
Diagnosis
In the number range interval for the document type for posting
depreciation, a document has been posted which was not created within
the framework of depreciation posting. The last document posted by
depreciation posting was assigned the number .
Procedure
Contact your Systems Specialist. When changing the number range interval
for the document type in depreciation posting, you have to specify a new
interval in which no documents exist. Using organizational measures, you
can guarantee that there are no documents apart from those created by
depreciation posting in this number range.
Would you help me how to solve this error?
Thank you in advance
Best Regards
Utarat.PHi Utarat,
first question is: have you really manually posted a Documents within dep.doc.number range
If you post with RABUCH00, note 193984 could be relevant for you.
Check if the intervall in Table TABA don't fits with the Intervall in BKPF.
Example:
TABA
MANDT BUKRS AFBLGJ AFBLPE AFBANZ BLNRF BLNRT XBUKZ
100 XXXX 2010 004 01 4200000013 4200000016 X
100 XXXX 2010 005 01 4200000017 4200000020 X
100 XXXX 2010 006 01 4200000021 4200000024
On the other Hand In Table BKPF (or Tr. FB03) you can see that 4200000037 already
exits.
BUKRS BELNR GJAHR BLART BUDAT CPUDT CPUTM TCODE
XXXX 4200000024 2010 YY 30.06.2010 06.07.2010 19:36:30 ABF1
XXXX 4200000037 2010 YY 30.06.2010 06.07.2010 19:37:47 ABF1
Regards Bernhard -
How run SQLJ DEMO code on JDeveloper 3.0?
I have problem runing the DEMO SQLJ codes. The codes come with the Oracle 8i for NT. I rtried to run them on Jdeveloper3.0 using JDK1.2.
I opened an empty project, and set the source path, out directory, and html path to oracle8i/sqlj/demo, which is the directory of all the demo codes. I also added the SQLJRUNTIME libraries to this project.
After I opened the SQLJ file into the project, I could run the file. I could also see that all the *.java, *.class, and *.ser files were created in the same directory. I assume that the SQLJ translator works. However, I got this error message instead of the results:
Error running the example: java.sql.SQLException: profile ExprDemo_SJProfile0 not found: java.io.InvalidClassException: [Ljava.lang.Object;; Serialization incompatible with Externalization
I am learning sqlj and JDeveloper. I appreciate any help.
Thanks.
PamPam,
(from the Release notes)
Using SQLJ under JDK 1.2
The 8.1.5 SQLJ version distributed with this release of JDeveloper only supports JDK 1.1.X, it does not run under JDK 1.2. A future version of SQLJ will support JDK 1.2.
There are some more useful tips in the release notes. I'd recommend checking them out.
Also, as an FYI: The 8.1.5 JDBC and SQLJ samples can also be found under <jdev>/jdbc/samples and <jdev>/sqlj/demo respectively.
Regards,
Arun -
Error when run the compiled code
I have code below,
import java.sql.*;
public class testmysql{
public static void main(String args[]){
Connection conn = null;
try{
String userName = "root";
String password = "password";
String url = "jdbc:mysql://localhost:3307/ectol_db";
Class.forName ("com.mysql.jdbc.Driver").newInstance ();
conn = DriverManager.getConnection (url, userName, password);
System.out.println ("Database connection established");
}catch (Exception e) {
e.printStackTrace();
System.err.println ("Cannot connect to database server");
}finally{
if (conn != null){
try{
conn.close ();
System.out.println ("Database connection terminated");
}catch (Exception e) {
e.printStackTrace();
/* ignore close errors */
and i have the mysql-connector-5.0.6.jar
I able to compile code with javac testmysql.java command
However, when i try to run the code with java testmysql command, it prompt me error below
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at testmysql.main(testmysql.java:11)
Cannot connect to database server
Anyone can help?ccwoon80 wrote:
Actually, the jar and class file was in the same path...
Thus, what the correct command i need to run the my code?Then your classpath would be .;mysql.jar (or whatever the heck the name of the connector was).
So java -cp .;mysql.jar foo.bar.MyClass -
Error when running XJC-generated code
The following part of an XML schema
<element name="Parameter">
<annotation>
<documentation xml:lang="de">generische Schl��ssel-Wert-Parameter.</documentation>
</annotation>
<complexType>
<sequence>
<element name="Name" type="token">
<annotation>
<documentation xml:lang="de">Name des Parameters.</documentation>
</annotation>
</element>
<element name="Value">
<annotation>
<documentation xml:lang="de">Wert des Parameters.</documentation>
</annotation>
<complexType>
<simpleContent>
<extension base="anySimpleType">
<attribute name="Type" type="NCName" use="optional" default="string">
<annotation>
<documentation xml:lang="de">XML-Typ des Parameterwerts (Default=string).</documentation>
</annotation>
</attribute>
</extension>
</simpleContent>
</complexType>
</element>
</sequence>
</complexType>
</element>
is converted by XJC (javadocs removed) into the following Java code:
@XmlAccessorType(AccessType.FIELD)
@XmlType(name = "", propOrder = {
"name",
"value"
@XmlRootElement(name = "Parameter")
public class Parameter {
@XmlElement(name = "Name", namespace = "http://www.ebics.org/H001")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String name;
@XmlElement(name = "Value", namespace = "http://www.ebics.org/H001")
protected Value value;
public String getName() {
return name;
public void setName(String value) {
this.name = value;
public Value getValue() {
return value;
public void setValue(Value value) {
this.value = value;
@XmlAccessorType(AccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
public static class Value {
@XmlValue
protected Object value;
@XmlAttribute(name = "Type")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String type;
public Object getValue() {
return value;
public void setValue(String value) {
this.value = value;
public String getType() {
if (type == null) {
return "string";
} else {
return type;
public void setType(String value) {
this.type = value;
This source compiles ok, but when running, it throws an IllegalAnnotationException "@XmlAttribute/@XmlValue need to reference a Java type that maps to text in XML." Changing the type of field "value" in class Value from Object to String solves the problem.
Is this a mistake of XJC or is something wrong with the schema?
Thanks for your support!
MarcusHi
Pleaes apply the ABAP related patch or refer to SAP notes where you will find Notes Correction to apply on your system.
Regards
Anwer -
Internet Explorer error when running my demo
I created a demo, an interactive software simulation and a quiz in Captivate. I published it and then zipped it up and took the zip file over to the media folder in Microsoft's LMS or LCDS. When I preview or run it, I continually get Internet Explorer script errors. It seems to get it at each slide. I can say Yes through each error and the each piece runs correctly. I get an object oriented error, a null is null 0 or not an object and and object required error depending on which piece I am viewing. I have done all the various things that are suggested to do when you get Internet Explorer script errors. It runs fine in captivate. I created a quick demo in Camtasia and it runs fine. I have talked to Microsoft and they can't seem to help me. Has anyone used this tool or run into this before? Any help would be greatly appreciated. Thank you. BTW I am running Internet Explorer 8, XP OS with service pack 3 installed.
Hello,
Perhaps I misunderstand, but why did you zip it up yourself instead of having it zipped by Captivate? For uploading to our LMS I always choose that option, worth trying not?
Lilybiri -
Error when running P6 web services Demo
Hi All,
I am trying to run P6 web services demo application, p6 web services server is running, however I get this error when running the demo application:
org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.
Appreciate if someone can help me to resolve it.
Thanks in advanceIf you are getting this error, then you are most likely compiling your code with a different JVM than what is shipped with the application server. Oracle9iAS Release 2 (9.0.2) uses the JDK1.3.1. I got this error when I compiled the code with JDK1.4.0_01.
-
Error when running the Web Services java client file
Hi,
I am working on web services with 9iAS.
I am using the StatelessExample file included during installation.
The ear file was created and the application was deployed using OEM Web.
But when I try to execute the client java file StatelessClient. I get an error. The error is something about content type.
The error message is pasted below.
And also how do I run the web service on the browser.
Please help.
regards
Kamlesh
D:\ora9ias_portal\j2ee\home\demo\web_services\java_services\client>java -classpa
th .;StatelessExample_proxy.jar;%CLASSPATH%; StatelessClient
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsu
pported response content type "text/html", must be: "text/xml&quo
t;. Response was:
<HTML><HEAD><TITLE>500 Internal Server Error</TITLE><
/HEAD><BODY><H1>500 Internal Server Error</H1><PRE>or
acle.j2ee.xanadu.JasperGenerationError: no source generated during code generati
on!: 1 in getFile name: oracle\j2ee\ws_example\StatelessExample.class
<br>1 in getFile name: oracle\j2ee\ws_example\StatelessExample.java
<br>error: error message 'class.format' not found<br>binar
y class definition not found: oracle.j2ee.ws_example.StatelessExample
<br>
<br> at oracle.j2ee.ws.JavaWrapperGenerator.generate(JavaWrapperGener
ator.java:267)
<br> at oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebServi
ce.java:662)
<br> at oracle.j2ee.ws.RpcWebService.generate(RpcWebService.java:436)
<br> at oracle.j2ee.ws.RpcWebService.getWrapper(RpcWebService.java:76
7)
<br> at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:309)
<br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:283)
<br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
<br> at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
er.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
<br> at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java
:283)
<br> at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
er.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
<br> at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
er.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:2
69)
<br> at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
er.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
<br> at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
er.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
<br> at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util
.ThreadPoolThread.run(ThreadPoolThread.java:64)
<br></PRE></BODY></HTML>
at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:201)
at org.apache.soap.rpc.Call.invoke(Call.java:260)
at oracle.j2ee.ws_example.proxy.StatelessExampleProxy.makeSOAPCallRPC(St
atelessExampleProxy.java:51)
at oracle.j2ee.ws_example.proxy.StatelessExampleProxy.helloWorld(Statele
ssExampleProxy.java:35)
at StatelessClient.main(StatelessClient.java:8)If you are getting this error, then you are most likely compiling your code with a different JVM than what is shipped with the application server. Oracle9iAS Release 2 (9.0.2) uses the JDK1.3.1. I got this error when I compiled the code with JDK1.4.0_01.
-
Getting an Error When Running Server 2012 R2 adprep /forest prep on a 2012 DC
I am getting an error when running adprep /forest prep on a Server 2012 domain controller. The main parts of my domain are as follows:
2 - Domain Controllers running Server 2012
1 - Exchange Server 2013 running on Server 2012
I am trying to either do an in-place upgrade to my domain controllers to Server 2012 R2 or even introduce a Server 2012 R2 domain controller into the domain. The error I am getting is as follows:
[Status/Consequence]
The operation GUID already exists so Adprep did not attempt to rerun this operation but is continuing.
[2014/04/05:09:12:38.873]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is cn=38618886-98ee-4e42-8cf1-d9a2cd9edf8b,cn=Operations,cn=ForestUpdates,CN=Configuration,DC=DOMAIN,DC=local.
[2014/04/05:09:12:38.873]
LDAP API ldap_search_s() finished, return code is 0x20
[2014/04/05:09:12:38.873]
Adprep verified the state of operation cn=38618886-98ee-4e42-8cf1-d9a2cd9edf8b,cn=Operations,cn=ForestUpdates,CN=Configuration,DC=DOMAIN,DC=local.
[Status/Consequence]
The operation has not run or is not currently running. It will be run next.
[2014/04/05:09:12:38.873]
Adprep was about to call the following LDAP API. ldap_modify_s(). The entry to modify is CN=ad://ext/AuthenticationSilo,CN=Claim Types,CN=Claims Configuration,CN=Services,CN=Configuration,DC=DOMAIN,DC=local.
[2014/04/05:09:12:38.873]
LDAP API ldap_modify_s() finished, return code is 0x13
[2014/04/05:09:12:38.905]
Adprep was unable to modify some attributes on object CN=ad://ext/AuthenticationSilo,CN=Claim Types,CN=Claims Configuration,CN=Services,CN=Configuration,DC=DOMAIN,DC=local.
[User Action]
Check the log file ADPrep.log in the C:\Windows\debug\adprep\logs\20140405091235 directory for more information.
[2014/04/05:09:12:38.936]
Adprep encountered an LDAP error.
Error code: 0x13. Server extended error code: 0x20b1, Server error message: 000020B1: AtrErr: DSID-030F112A, #1:
0: 000020B1: DSID-030F112A, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 9086f (msDS-ClaimIsValueSpaceRestricted)
DSID Info:
DSID: 0x181112dd
ldap error = 0x13
NT BUILD: 9600
NT BUILD: 16384
[2014/04/05:09:12:38.967]
Adprep was unable to update forest information.
[Status/Consequence]
Adprep requires access to existing forest-wide information from the schema master in order to complete this operation.
[User Action]
Check the log file, ADPrep.log, in the C:\Windows\debug\adprep\logs\20140405091235 directory for more information.
Any Help would be appreciated. Thanks!Hi,
did you check which servers has FSMO roles?
You can do that via command prompt: netdom query fsmo
For forestprep you must do that on DC which have Schema Operations marter role.
Command
Domain controller
Number of times to run the command
adprep /forestprep
Must be run on the schema operations master for the forest.
Once for the entire forest
adprep /domainprep
Must be run on the infrastructure operations master for the domain.
Once in each domain where you plan to install an additional domain controller that runs a later version of Windows Server than the latest version that is running in the domain.
Note
Domains where you will not add a new domain controller will be affected by adprep /forestprep, but they do not require you to run adprep /domainprep.
http://technet.microsoft.com/en-us/library/dd464018(v=ws.10).aspx -
ORA-06502 - Error when running "Ask The Expert 0.9"
Hi ,
I successfully installed "Ask the Expert" package with Apex 3.0 on Oracle 10g Database 10.2.0.1.0. No error ocurred during the import in my Apex environment.
Besides that, i'm having problems when i tried to run the "Aks the Expert". It always shows the following message errors:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
Error Unable to write activity log.
I think it was a problem with APEX instalation, but i could run the Sample Application of Apex without any problem.
I opened an SR in Metalink, but to my surprise, the analist of support don't know what's wrong with the demo "Ask de Expert".
The debug function of the application show the following commands before the error ocurrs:
0.01:
0.01: S H O W: application="103" page="1" workspace="" request="" session="6648566035252817"
0.01: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
0.01: alter session set nls_language="AMERICAN"
0.01: alter session set nls_territory="AMERICA"
0.01: NLS: CSV charset=WE8MSWIN1252
0.01: ...NLS: Set Decimal separator="."
0.01: ...NLS: Set NLS Group separator=","
0.02: ...NLS: Set date format="DD-MON-RR"
0.02: ...Setting session time_zone to -03:00
0.02: NLS: Language=en-us
0.02: Application 103, Authentication: CUSTOM2, Page Template: 667896385843019243
0.02: ...Determine if user "N3COUTINHO" workspace "951808960237899" can develop application "103" in workspace "951808960237899"
0.02: ...ok to reuse builder session for user:nobody
0.03: ...Application session: 6648566035252817, user=nobody
0.03: ...Determine if user "N3COUTINHO" workspace "951808960237899" can develop application "103" in workspace "951808960237899"
0.03: Session: Fetch session header information
0.03: ...Metadata: Fetch page attributes for application 103, page 1
0.03: Fetch session state from database
0.03: Branch point: BEFORE_HEADER
0.03: Fetch application meta data
0.04: Computation point: BEFORE_HEADER
0.04: ...Perform computation of item: P1_CLEAN_CRITERIA, type=FUNCTION_BODY
0.04: ...Performing function body computation
0.06: ...Session State: Save "P1_CLEAN_CRITERIA" - saving same value: ""
0.06: Processing point: BEFORE_HEADER
0.06: ...Process "Read and Write Activity Cookie": PLSQL (BEFORE_HEADER) declare l_cookie_id number; begin owa_util.mime_header('text/html', FALSE); -- ate_api.read_activity_cookie; l_cookie_id := ate_api.fetch_activity_cookie_val( 'COOKIE_ID' ); -- if l_cookie_id is null then l_cookie_id :=
Content-type: text/html; charset=ISO-8859-1 Set-Cookie: activity_ask_expert=1|2400346189796; expires=Wed, 01-Jan-2020 08:00:00 GMT; path=/;
0.06: Encountered unhandled exception in process type PLSQL
0.06: Show ERROR page...
0.06: Performing rollback...
Please, could any one help me to solve this problem ? Metalink couldn't help me diagnosing what's wrong.
Thanks,
Sergio CoutinhoHi,
I don´t know if it help the analisis, but i collect some informations about my environment:
1) HTML DB version
3.0.1
2) Database version
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
3) Database server operating system (as well, if 32-bit or 64-bit)
Solaris 5.9 - 64 bits
4) Database Parameters:
PARAMETER VALUE
NLS_CALENDAR GREGORIAN
NLS_CHARACTERSET WE8ISO8859P1
NLS_COMP BINARY
NLS_CURRENCY $
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_DUAL_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_LANGUAGE AMERICAN
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_NCHAR_CONV_EXCP FALSE
NLS_NUMERIC_CHARACTERS .,
NLS_RDBMS_VERSION 10.2.0.1.0
NLS_SORT BINARY
NLS_TERRITORY AMERICA
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
Could it explain why ASK THE EXPERT is running on hosted apex site and it´s
generating error when running in my environment?
Thanks for the help !
Sergio -
Loading script "script path-name" failed (0xC0000006) error when running scripts from DFS
We have this issue where any number of random scripts that execute at startup will produce the following error when run from DFS:
The status code for this error equates to STATUS_IN_PAGE_ERROR - The instruction at 0x%p referenced memory at 0x%p. The required data was not placed into memory because of an I/O error status of 0x%x.
This does not always happen each time and the script can be random. If we move the script(s) to a non DFS, we do not see this. I believe the issue is being caused by a minute disconnect to the DFS for whatever script is attempting to execute at that
moment. This happens across a few (consistent) offices on different computers.
Any ideas?Hi,
According to your description, my understanding is that you run scripts in a shared folder which is added to a DFS Namespace, then the error prompt. However, you can run the scripts when you directly access the shared folder.
What scripts did you run? Is there any error message in the Event Log? If so, please provide us the detailed error message for our further research.
Best Regards,
Mandy
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Getting error when running process flows in oem
Hi all,
I'm trying to run a process flow in oem (using oem_exec_template.sql script), but it keeps failing with error "nms-1013: sqlplus does not exist". I tried running a map too and it failed with same message.
Any idea anyone?
Thanks!
YanetHi,
Looks like you have an obvious code error, invalid cast operation in your code. Do you get this error when running in local emulator.
You can try the following article on how to debug published cloud service, assuming you have VS ultimate.
https://msdn.microsoft.com/en-us/library/azure/ff683671.aspx
Regards,
Nithin Rathnakar -
Undefined weblogic.home error when running APPC
Hi,
I am trying to run the APPC compiler on my local EAR and deploy it on a remote
server version
8.1 using ANT. I just have the weblogic.jar, ojdbc14.jar and webservices.jar on
my workstation.
I have an error when running APPC.
The ANT taks is :
<target name="app.appc">
<java classname="weblogic.appc" fork="true" failonerror="true">
<jvmarg value="-Xms256m"/>
<jvmarg value="-Xmx256m"/>
<classpath>
<pathelement location="${j2ee.weblogic.lib.dir}/${j2ee.weblogic.lib.name}"/>
<pathelement location="${j2ee.weblogic.lib.dir}/ojdbc14.jar"/>
<pathelement location="${jsdk1.4-dir}/lib/tools.jar"/>
</classpath>
<arg line ="-verbose -verboseJavac ${application.dist.ear}"/>
</java>
</target>
The ANT output is :
app.appc:
[java] [appc] Created working directory: C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen
[java] [appc] Compiling EAR module 'core.war'
[java] [JspcInvoker]Checking web app for compliance.
[java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
Validating the servlet element with servlet-name named "action".>
[java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
Checking servlet-mapping for servlet name : "action".>
[java] [jspc] parsing /jsp/applications/example/Accessor.jsp:
[java] [jspc] parsed C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen\appcgen_core.war\
jsp\applications\example\Accessor.jsp in 1482 ms.
[java] [jspc] Invoking the compiler
[java] [jspc] Invoking the compiler with -encoding UTF-8
[java] [appc] Compiling EAR module 'core-ejb.jar'
[java] [J2EE:160121]Errors encountered while compiling module 'core-ejb.jar':
[java] error in finding weblogic.Home
Is there any other solution than installing weblogic on my workstation so that
everything is
setup correctly?
thanks in advance
PierrePierre MONGENIE wrote:
Finally it worked out for me with the system classpath set to:
D:\J2EE\bea\weblogic81\server\lib\weblogic.jar
and the ANT task wlappc.
I was unable to have it work with the ANT task described below in this thread.
tha ant task is
<wlappc source="${application.dist.ear}"
verbose="true"
verboseJavac="true"
debug="true"
classpath="${j2ee.weblogic.lib.dir}/${j2ee.weblogic.lib.name}
${j2ee.weblogic.lib.dir}/ojdbc14.jar
${j2ee.weblogic.lib.dir}/webservices.jar
${jsdk1.4-dir}/lib/tools.jar"This is the issue. The classpath parameter to wlappc is the classpath
it will use when it compiles your application classes. It's not the
classpath which will load the wlappc ant task. (I'll admit this has
always been confusing.)
-- Rob
runtimeflags="mx256m"
output="${application.weblogic.deploy.ear}"
/>
So now I have another problem but let me open another thread
thanks
Rob Woollen <[email protected]> wrote:
That code checks if the system property weblogic.home is set. If not,
it looks for the class weblogic.Home is in the classpath. Make sure
one
of those 2 conditions is true.
-- Rob
Pierre MONGENIE wrote:
Hi,
I am trying to run the APPC compiler on my local EAR and deploy iton a remote
server version
8.1 using ANT. I just have the weblogic.jar, ojdbc14.jar and webservices.jaron
my workstation.
I have an error when running APPC.
The ANT taks is :
<target name="app.appc">
<java classname="weblogic.appc" fork="true" failonerror="true">
<jvmarg value="-Xms256m"/>
<jvmarg value="-Xmx256m"/>
<classpath>
<pathelement location="${j2ee.weblogic.lib.dir}/${j2ee.weblogic.lib.name}"/>
<pathelement location="${j2ee.weblogic.lib.dir}/ojdbc14.jar"/>
<pathelement location="${jsdk1.4-dir}/lib/tools.jar"/>
</classpath>
<arg line ="-verbose -verboseJavac ${application.dist.ear}"/>
</java>
</target>
The ANT output is :
app.appc:
[java] [appc] Created working directory: C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen
[java] [appc] Compiling EAR module 'core.war'
[java] [JspcInvoker]Checking web app for compliance.
[java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
Validating the servlet element with servlet-name named "action".>
[java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
Checking servlet-mapping for servlet name : "action".>
[java] [jspc] parsing /jsp/applications/example/Accessor.jsp:
[java] [jspc] parsed C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen\appcgen_core.war\
jsp\applications\example\Accessor.jsp in 1482 ms.
[java] [jspc] Invoking the compiler
[java] [jspc] Invoking the compiler with -encoding UTF-8
[java] [appc] Compiling EAR module 'core-ejb.jar'
[java] [J2EE:160121]Errors encountered while compiling module'core-ejb.jar':
[java] error in finding weblogic.Home
Is there any other solution than installing weblogic on my workstationso that
everything is
setup correctly?
thanks in advance
Pierre -
Error when running EBP_GET_BACKEND_PRICES
Hi,
I get an error when running EBP_GET_BACKEND_PRICES.
It is:
"Error occurred while reading the company code (T001) in system"
Does anyone know why this error occurs?Hi
<u>Please specify the SRM version/release details.</u>
<b>Meanwhile, please go through the following SAP OSS Notes, which will help -></b>
Note 523244 - EM: Error reading company code (T001) in system
Note 533154 - Error when reading material prices from R/3
Note 706422 - Product repl.:Incorrect error message BBP_VENR052 (TAB MBEW)
Note 927536 - Problems w/ plants during EBP3.0/3.5 upgrade to SRM server
Note 933939 - Problems w/ plants during upgrade EBP3.0/3.5->SRM Server (2)
Note 693397 - Prephase activities for SRM upgrade (Version 4.0 or higher)
Note 489491 - Enhancements for product price upload
Do let me know.
Regards
- Atul -
"Missing Class" error when running web service
Hi,
I am getting an "Missing Class" error when running a web service. The web service was generated from a Java class via the "create J2EE web service" option.
The web service has a JAX-RPC handler class added, which belongs to the same package as a logging class. The logging class is used to write to a file for debug purposes. A "missing class" error is being generated whenever I attempt to invoke the web service (via the enterprise manager test util), the error refers to the logging class which is used by the main handler class. The JAX-RPC handler works fine by itself, the error is only seen when I attempt to use the logging class.
I have re-built, re-deployed from scratch again, but still get the same error! Am I missing something simple here?
thanks for any adviceCant you paste some of your code, formatted in code tags? It looks like there is a problem passing some of the XMl response, it doesnt like a tag html.
If you post some code somebody might actually be able to help you.
Maybe you are looking for
-
Need an external hard drive, advice?
Hi, For awhile now I've been wanting an external hard drive but no nothing about them. I have a 160 GB 17" iMac 2GHz and I'm always running out of space. Right now I have 20GB free. Anywho the big question is USB or Firewire? Now, I can get USB ones
-
IPod nano (6gen) not recognized in iTunes
Before I recently upgraded too osx 10.6.5 and itunes 10.1 I had no problems syncronizing my ipod (6th generation) with itunes. Immediatly after doing it my problem started. Strangely enough my iPhone shows up and syncronizes, and if I connect my same
-
Why authorization for cost center groups does not worked ?
hello all, I would like to give authorization for a CO report (S_ALR_87013625) based on authorization values : cost center groups. But, unfortunately, it doesn't work. I get a message : No authorization for x of x read records. Is it only possible to
-
Resetting SMC & EFI for MacBookPro8,3 (early 2011)
Hi, I'm experiencing a problem where sometimes on Start-Up the system just hangs on my MacBookPro8,3 (early 2011) with a grey screen and the spinning fan symbol below it - when this happens the 'cooling fans' run very fast and noisy. This issue happ
-
Hi! What does the above statement mean? I am trying to nat some traffic but the packet tracer shows that packets get dropped at the NAT rpf-check step. /Lajja