Can't import Collaboration packages
I am trying to import a Collaboration package that I exported from a devlopment environment. The package is a single PTE file and an assocated zip file. In my experience with publisher I needed to copy the zip file from the dev box to the qa box and drop it into settings/migration/import prior to attempting the migration.
When I do the same for Collaboration package I get the following error in the console logger at the main ALUI server instance.
Caused by: com.plumtree.server.impl.soap.OpenSoapException: SOAP fault: faultcode='soapenv:Server.ServiceException' faultstring='Collaboration Server Import has failed
Export Archive 0bef2319-6b71-11dc-b271-76c462db7be5 does not exist'
at com.plumtree.server.impl.soap.SOAPParser.LoadInternal(SOAPParser.java:681)
at com.plumtree.server.impl.soap.SOAPParser.LoadBinary(SOAPParser.java:590)
So where do I need to drop this file?
And why can't I get a good log file at the collab instance? I see no errors in the collaboration.log file. How can I bump up the log level for collaboration?
import javax. should fail. import javax.jms.*; should work.
To check what's wrong here, can you open the j2ee.jar file in the file systems tab of the project explorer? Does it show all the packages and classes (including javax.jms)?
If not, then you have a bad version of j2ee.jar.
If j2ee.jar looks good, then try compiling a very simple class with a couple of import statements and post the code and results.
Similar Messages
-
I can not import jms packages.(PLZ HELP)
Hi Folks,
I am new to the JMS and I want to start learning that from the Sun�s book for the JMS API Tutorial. At the beginning of the book, it says that I should set the environments to compile and run J2EE applications. I tried to change following topics. In my eclipse IDE, I have j2sdk1.4.04 as my installed JREs, but I can not import java.jms.*
And consequently, I am facing some problems for defining Queue, QueueConnection and many others.
Can you please help me to solve my problem in the first step of mine?
Thanks
%JAVA_HOME%
Directory in which the JavaTM 2 SDK, Standard Edition, version 1.3.1, is installed
%J2EE_HOME%
Directory in which the J2EE SDK 1.3.1 is installed, usually C:\j2sdkee1.3.1
%CLASSPATH%
Include the following:
.;%J2EE_HOME%\lib\j2ee.jar;
%J2EE_HOME%\lib\locale
%PATH%
Include %J2EE_HOME%\binHi Dear,
I am also not able to import packages .Have You got tke answer?Please reply me as eariler as possible.
Thanks
Bye -
OWB Can't Import Existing Package with Collection Data Type as Arguments
I created a package and compiled it successfully as the follows:
+++++++++++++++++++++++++++++
CREATE OR REPLACE PACKAGE PACKAGE_TEST AS
TYPE Num_LIST IS TABLE of NUMBER INDEX BY BINARY_INTEGER;
FUNCTION TEST_FUNCTION1 ( arg1 NUMBER, arg2 NUMBER) RETURN NUMBER;
FUNCTION TEST_FUNCTION2 ( args NUM_LIST) RETURN NUMBER;
END PACKAGE_TEST;
CREATE OR REPLACE PACKAGE BODY PACKAGE_TEST AS
FUNCTION TEST_FUNCTION1 ( arg1 NUMBER, arg2 NUMBER) RETURN NUMBER IS
ln_sum NUMBER;
BEGIN
ln_sum := arg1 + arg2;
RETURN ln_sum;
EXCEPTION
WHEN OTHERS THEN
RETURN -10000;
END TEST_FUNCTION1;
FUNCTION TEST_FUNCTION2 ( args NUM_LIST) RETURN NUMBER IS
ln_sum NUMBER;
BEGIN
ln_sum :=0;
FOR i IN 1.. args.COUNT LOOP
ln_sum := ln_sum + args( i );
END LOOP;
RETURN ln_sum;
EXCEPTION
WHEN OTHERS THEN
RETURN -10000;
END TEST_FUNCTION2;
END PACKAGE_TEST;
++++++++++++++++++++++++++++++++++++++++
Then I tried to import the package into OWB (9.2). The problem came: all the package body and
the specification of TEST_FUNCTION1 were imported, but the package specification of
TEST_FUNCTION2 couldn't be imported. The IMPORT FILTER gave an error message:
"TEST_FUNCTION2: Argument Data type is not supported".
How to resolve this problem? It is very import for our project, since we have to import some
packages with user_defined collection data types as arguments.
Thank you.
LushuHi Lushu,
Unfortunately this is indeed not supported and I would not know how to work around this one. The only way I guess that this would work is to not import it, and then use Expressions to call the function with inputs.
Jean-Pierre -
How to import this package com.sap.tc.logging.location?
Hi, all,
I can't import this package into programming area since i'm using com.sap.tc.logging.location. I think my developer studio does not have such package. Do you know how do find such package and import it in the studio?
Logging location.
private static final com.sap.tc.logging.Location logger =
com.sap.tc.logging.Location.getLocation(Exc_EJB_Component.class);hi
try to see your package is avalible into Navigator prosective. if it has then import it from here itself
thanks -
How can i import java.sql package for midlet development
I am trying to write a midlet app using Wireless Toolkit 2.5.2. I would like to connect my application to JavaDB in embedded mode. But when I write "import java.sql.*;", I get an error "package java.sql does not exist
". I would like to know how can i include this package. please help.FBL wrote:
Sorry to jump in, but isn't there limited jdbc using unconventional methods?
[http://developers.sun.com/mobility/configurations/articles/cdc/jdbc/|http://developers.sun.com/mobility/configurations/articles/cdc/jdbc/]
If so, I feel this may better answer the OPs question.
-TresAbove article refers to CDC - it is useless in CLDC midlets -
Can't Import iPhoto Library "package" into Aperture 3
Hi there, I've recently made a backup of all my data and did a clean reinstall of Lion, so the problem is that I won't be using my iLife 11 Suite, so as for my photos I want to take advantage of my recently purchased copy of Aperture 3 but when I ever try to import my iPhoto Library Package, it won't let me, this message pops:
Invalid iPhoto Library
Importing libraries from versions earlier than iPhoto 7.1.5 is not supported. Please upgrade your iPhoto library with iPhoto 7.1.5 or later.
So, searched into some discussions and realize I had to upgrade or restore my library using iPhoto.
Is there any other way to get all my photos and videos in that package, into my aperture library?
One thing to consider is that I can right-click this package and open its contents and then I can get individual files and view everything, but since there's this function for importing all of the library, I would really love to do it this way, not individually.
NEED HELP PLEASE!Ii you are sure that all of your iPhoto images have been transferred safely, you can remove the you iPhoto Library from your system drive. But keep a backup copy of it on an external drive or thumbsdrive- sometimes you'll notice only later that some images could not be imported properly because of some corruption in the iPhoto library, and then it will be very helpful to still be able to open your old iPhoto Library.
Regards
Léonie -
Only a type can be imported. package.Class resolves to a package
Hi,
I made a class for database connection named ConnectionClass.class.
The JSPs in public_html directory working fine with import and session variables.
but JSPs under public_html/subdirectory are unable to import this Class and also unable to access session variables.
I have deploy this class under public_html/WEB-INF/classes/ directory.
and also in a jar file vidyabharti.jar under public_html/WEB-INF/lib directory
I am importing it in JSPs like
<%@ page import="vidyabharti.ConnectionClass, java.sql.*" %>
but i am getting following error
An error occurred at line: 6 in the generated java file
Only a type can be imported. vidyabharti.ConnectionClass resolves to a package
An error occurred at line: 110 in the jsp file: /welcome.jsp
ConnectionClass cannot be resolved to a type
109: <%
110: ConnectionClass cs=null;
An error occurred at line: 115 in the jsp file: /welcome.jsp
ConnectionClass cannot be resolved to a type
cs=new ConnectionClass();
i am using Tomcat 5.5.28.
please help me.Hello,
It's a possible issue whith the JDT compiler version of your tomcat distribution.
You know that jasper is the engine that transform jsp to classes and to achive this goal uses a jdt compiler or the ant task javac compiler.
First check that the JDT compiler class is present in the trace of the exception you have.
If this is the case follow the steps of the tomcat documentation in order to use the ant compiler.
http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html
Apache Ant, which was used in previous Tomcat releases, can be used instead instead of the new compiler by simply removing the common/lib/jasper-compiler-jdt.jar file, and placing the ant.jar file from the latest Ant distribution in the common/lib folder. If you do this, you also need to use the "javac" argument to catalina.sh.
If you check the code of the tomcat compilation context seems that you can do the same, without removing any file, by setting the compile parameter of the JspServlet to an arbitrary value diferent from null.
Try this other alternative by editing the file %TOMCAT_HOME%\conf\web.xml
and set the compiler attribute as follow
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>fork</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>xpoweredBy</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>compiler</param-name>
<param-value>Ant</param-value>
</init-param>
<load-on-startup>3</load-on-startup>
</servlet>If this works for your problem we can check the jdt code and perhaps make a patch.
Best reggards, -
anyone help me.. pls..
the class exists properly in the package folder.
No error found as I compiled it.
Tomcat5.5 + JDK-1.5.0_06 + JBoss-4.0.2...with a Struts framework.
the error is really special for me. I tried all opinions to sort it out.
I changed import file to the other at 1 line. the same error occurred, though.
ex) <@ page import="x.y.z.Test" %> or <@ page import="x.y.z.AnyClass" %> --> ERROR: Only a type ~~~
if delete that line, 404 error is showed. stuck~~~~~
other jsp pages are good. Only the type's page below causes the error. weird~
what's problem? Had anyone had a same problem?
aa.jsp---------------------------------------------------------
<@ page import="x.y.z.Utility" %>
<jsp:forward page="/servlet/MypageManager">
<jsp:param name="ACT" value="main">
</jsp:forward>
2009. 5. 6 ¿ÀÈÄ 2:03:59 org.apache.catalina.core.StandardWrapperValve invoke
½É°¢: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
Only a type can be imported. x.y.z.Utility resolves to a package
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:414)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
at java.lang.Thread.run(Thread.java:595)aaa.jsp
<%@ page contentType="text/html; charset=euc-kr" import = "kr.co.gen128.common.Utility" %>
<jsp:forward page="/servlet/MypageManager">
<jsp:param name="ACT_TP" value="MYPAGE_MAIN" />
<jsp:param name="TOP_MENU" value="MYPAGE" />
<jsp:param name="CENTER_TITLE" value="MYPAGE_MAIN" />
</jsp:forward>aaa_jsp.java
package org.apache.jsp.mypage;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import kr.co.gen128.common.Utility;
public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.List _jspx_dependants;
public Object getDependants() {
return _jspx_dependants;
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=euc-kr");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\r');
out.write('\r');
out.write('\n');
if (true) {
_jspx_page_context.forward("/servlet/MypageManager" + (("/servlet/MypageManager").indexOf('?')>0? '&': '?') + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("ACT_TP", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("MYPAGE_MAIN", request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("TOP_MENU", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("MYPAGE", request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("CENTER_TITLE", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("MYPAGE_MAIN", request.getCharacterEncoding()));
return;
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}Two types of error occurred randomly.
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
Only a type can be imported. kr.co.gen128.common.Utility resolves to a package
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
Only a type can be imported. kr.co.gen128.common.Utility resolves to a package
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:414)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to load class for JSP
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
org.apache.jasper.JasperException: Unable to load class for JSP
org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:598)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:147)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.ClassNotFoundException: org.apache.jsp.mypage.index_jsp
java.net.URLClassLoader$1.run(URLClassLoader.java:200)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:133)
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:65)
org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:596)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:147)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.Thanks a lot.
Any other you need to see? -
Can't import package from package
Ok, here's the deal:
In a folder i have some class files, and some packages i made myself.
lets say one package is package1, and the other is package2
now in the root folder i can have a class file that has the statement
import package2.*;and it works fine.
but in a class file that is in package1 i get a compile error when i type
import package2.*;so the question is:
how do i use the class files in one package in another package?
I see sun does it all the time.
example the Graphics2D class:
package java.awt;
import java.awt.RenderingHints.Key;
import java.awt.geom.AffineTransform;
import java.awt.image.ImageObserver;
import java.awt.image.BufferedImageOp;
import java.awt.image.BufferedImage;
import java.awt.image.RenderedImage;
import java.awt.image.renderable.RenderableImage;
import java.awt.font.GlyphVector;
import java.awt.font.FontRenderContext;
import java.awt.font.TextAttribute;
import java.text.AttributedCharacterIterator;
import java.util.Map;that imports a package that isn't in awt, even though the class file itself is in awtwhen you compile, compile from the root folder:
root folder> javac package1/sourcecode.java -
Only a type can be imported. MyClass.anyclass resolves to a package error
I know there's been many posts with this problem, however, I haven't been able to fix mine.
I have an app that uses JSP's, java libraries with Tomcat and MySQL. The app works fine, however, since I migrate to a new server, I start getting this error.
The funny thing here is that JSP's that are located in the root directory (public_html) works fine, while all the other JSP's throw this exception:
"Only a type can be imported. MyClass.anyclass resolves to a package error"
If I move any JSP from "public_html/any_directory" to "public_html", then that very same JSP works fine.
The java libraries are located in a jar file, in WEB-INF/lib, and it's classpath is perfectly written.
Altough, I know there's nothing wrong with the code of the JSP's, here it is, in case that helps. I'm sure that this error is caused by some Tomcat's configuration, however, I haven't been able to find it.
<%@ page import="Solutio.AdminRH.Entity.ICatalogosAdminDB" %>
<%!
private ICatalogosAdminDB theObj = null;
public void jspInit() {
try {
theObj = new ICatalogosAdminDB();
} catch (Exception ex) {
System.out.println(ex);
public void jspDestroy() {
theObj = null;
%>
<html>
Any help will be really appreciated.
Thank you.I haven't solved this problem yet. Here's some extra information about the same problem:
1 - As you know, Tomcat compiles JSP's the first time they're executed, so I checked the java code generated for:
/public_html/my_JSP.jsp
and
/public_html/any_folder/my_JSP.jsp
both codes are exactly the same, however, as I mentioned before, only the one located in /public_html/ works.
It seems to be a problem with Tomcat's classpath, but I haven't been able to fix it yet.
2 - In the Tomcat's conf file "server.xml", I found this, and it looks just fine, in the older server, I had exactly the same conf and it used to work.
<Host name="axtl.com" appBase="/home/axtlccom/public_html">
<Alias>www.axtl.com</Alias>
<Context path="" reloadable="true" docBase="/home/axtlccom/public_html" debug="1"/>
<Context path="/manager" debug="0" privileged="true"
docBase="/usr/local/jakarta/tomcat/server/webapps/manager">
</Context>
</Host>
have anyone experieced something like this, PLEASE HELP !!! -
Help in JSP : Only a type can be imported x.y resolves to a package
I have a strange problem,
I have two domains
http://client.spry-forms.com (login using demo/demo)
http://spry-forms.com/ClientAdmin (login using demo/demo)
The server is setup with only tomcat 6.0.18.0
Both the above domains are mapped to tomcat/webapps/ClientAdmin.
When some one logs in from the second url, the link CREATE NEW FORM at page http://www.spry-forms.com/ClientAdmin/forms.jsp works fine but
when some one logs in from the first url (client.spry-forms.com) the link 'CREATE NEW FORM' at page http://client.spry-forms.com/forms.jsp produces this error
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 7 in the generated java file
Only a type can be imported. view.DemoConnection resolves to a package
An error occurred at line: 12 in the jsp file: /formeditor.jsp
DemoConnection cannot be resolved to a type
9: response.sendRedirect("../Authenticate.do?status=logoff");
10: return;
11: }
12: DemoConnection con = (DemoConnection) request.getSession().getAttribute("dbconnection");
13: String formid = request.getParameter("formid");
14: String grpid[] = (String[]) request.getAttribute("groupArray");
15: //String groupArry [] = (String[])request.getAttribute("groupArr");
Can anyone give me a hint as to what is happening??evnafets wrote:
http://spry-forms.com/ClientAdminThe "/ClientAdmin" bit is not part of a domain. Are you sure it is what you think it is?
So do you import this class DemoConnection?
What is the layout of your web application?
How do you do the multiple domain config -> web application?Thank you for your reply and
Sorry for my late response
Ok the /ClientAdmin is not a domain, but it is a directory in the spry-forms.com
I import the DemoConnection.java like this
<%@ page import="java.sql.*,view.DemoConnection,java.util.*"%>I did not do the domain config, as I am not the administrator, The admin wants me to resolve this.
I think the problem is caused because tomcat cannot find the DemoConnection.class.
By layout I think you are asking about the direcotry tree structure
It is like this
Tomcat
webapps
ClientAdmin
jsp files
WEB_INF
web.xml
lib
classes
poolman.xml
folders
view
DemoConnection.class
some more classesDo you think the problem is with the domain configuration....?
Edited by: Sonu611 on Feb 26, 2009 9:53 PM -
SAP Ides ECC 6.0 Install: Import ABAP - Package SAPDODS Error - ORA-00903
Experts,
Good Morning!
I'm trying to install SAP IDES ECC 6.0 version on a Windows 2008 R2 Server with Oracle 11g DB (11.2).
System Info: 16GM RAM & 600GB Hdd. Prereqs passed.
I'm getting the following error during the Import ABAP phase (16 of 29) in the sapinst log:
"An error occurred while processing option Enhancement Package 6 for SAP ERP 6.0 > SAP Application Server ABAP > Oracle > Central System > Central System( Last error reported by the step: Program 'Migration Monitor' exits with error code 103. "
Here's the dump of import_monitor.java.log
java version "1.4.2_32"
Java(TM) 2 Runtime Environment, Standard Edition (build 4.1.012)
SAP Java Server VM (build 4.1.012 1.6-b03, Oct 21 2011 14:18:45 - 41_REL - optU - windows amd64 - 6 - bas2:161688 (mixed mode))
Import Monitor jobs: running 1, waiting 1, completed 141, failed 0, total 143.
Loading of 'SAPDODS' import package: ERROR
Import Monitor jobs: running 0, waiting 1, completed 141, failed 1, total 143.
Here's the dump of import_monitor.log:
INFO: 2014-07-05 13:42:53
Data codepage 4103 is determined using TOC file 'C:\Target\Export1\DATA\D010TAB.TOC' for package 'D010TAB'.
TRACE: 2014-07-05 13:42:53 com.sap.inst.migmon.LoadTask run
Loading of 'SAPDODS' import package is started.
TRACE: 2014-07-05 13:42:53 com.sap.inst.migmon.LoadTask processPackage
Loading of 'SAPDODS' import package into database:
C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDODS.cmd -dbcodepage 4103 -l SAPDODS.log -stop_on_error
ERROR: 2014-07-05 13:42:54 com.sap.inst.migmon.LoadTask run
Loading of 'SAPDODS' import package is interrupted with R3load error.
Process 'C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDODS.cmd -dbcodepage 4103 -l SAPDODS.log -stop_on_error' exited with return code 2.
For mode details see 'SAPDODS.log' file.
Standard error output:
sapparam: sapargv(argc, argv) has not been called!
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
WARNING: 2014-07-05 13:43:21
Cannot start import of packages with views because not all import packages with tables are loaded successfully.
WARNING: 2014-07-05 13:43:21
1 error(s) during processing of packages.
INFO: 2014-07-05 13:43:21
Import Monitor is stopped.
Here's the log of SAPDODS...
C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20140705134253
C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/720_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: version R7.20/V1.4 [UNICODE]
Compiled Aug 16 2011 02:26:36
patchinfo (patches.h): (0.098) DB6: correction for R3load PL 91 on HP-UX and SOLARIS (note 1609719)
process id 1488
C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDODS.cmd -dbcodepage 4103 -l SAPDODS.log -stop_on_error
DbSl Trace: ORA-1403 when accessing table SAPUSER
(DB) INFO: connected to DB
(DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF16
(SQL) INFO: Searching for SQL file SQLFiles.LST
(SQL) INFO: SQLFiles.LST not found
(SQL) INFO: Searching for SQL file C:\Target\Export1\DB/SQLFiles.LST
(SQL) INFO: C:\Target\Export1\DB/SQLFiles.LST not found
(SQL) INFO: Searching for SQL file DODS.SQL
(SQL) INFO: DODS.SQL not found
(SQL) INFO: Searching for SQL file C:\Target\Export1\DB/ORA/DODS.SQL
(SQL) INFO: found C:\Target\Export1\DB/ORA/DODS.SQL
(SQL) INFO: Trying to open C:\Target\Export1\DB/ORA/DODS.SQL
(SQL) INFO: C:\Target\Export1\DB/ORA/DODS.SQL opened
(DB) ERROR: DDL statement failed
(DROP TABLE "/BI0/APERS_BOD00")
DbSlExecute: rc = 103
(SQL error 942)
error message returned by DbSl:
ORA-00942: table or view does not exist
(IMP) INFO: a failed DROP attempt is not necessarily a problem
DbSl Trace: Error 903 in exec_immediate() from oci_execute_stmt(), orpc=0
DbSl Trace: ORA-00903 occurred at SQL stmt (parse error offset=15)
(DB) ERROR: DDL statement failed
( CREATE TABLE [/BI0/APERS_BOD00] ( [TCTUSERNM] nvarchar(000012) NOT NULL , [TCTOBJVERS] nvarchar(000001) NOT NULL , [TCTSYSID] nvarchar(000010) NOT NULL , [TCTQUACT] nvarchar(000001) NOT NULL , [TCTOBJNM] nvarchar(000040) NOT NULL , [TCTTLOGO] nvarchar(000004) NOT NULL , [RECORDMODE] nvarchar(000001) NOT NULL , [TCTTIMSTMP] nvarchar(000014) NOT NULL ) WITH ( DATA_COMPRESSION = PAGE ) )
DbSlExecute: rc = 99
(SQL error 903)
error message returned by DbSl:
ORA-00903: invalid table name
(DB) INFO: disconnected from DB
C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20140705134254
FYI - A retry does not help. Also tried to search for the error on scn, google but haven't been able to find the right solution.
Can you help?
Regards,
Cobain.Divyanshu - sorry to ask but can you explain why i need to update r3load and r3trans to resolve this error? Just want to understand why I'm doing a correction so I can learn from the same.
Also, can you clarify the file update process:
For R3load:
a) the r3load used by the command is dated 8/16/2011 (location:C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\...)
b) the r3load i have in my db folder is dated 10/23/2011 (location:C:\Final\Installer\BS7i2011_Installation_Master_\DATA_UNITS\BS2011_IM_WINDOWS_X86_64\ORA\UC\...)
Do i replace (a) with (b)?
For R3trans:
How do I update this file?
- Cobain. -
Getting error message "Only a type can be imported-" when trying to execute jsp page
I get the error: "Only a type can be imported. com.adobe.cq.TestServiceImpl resolves to a package in adobe day cq5
I have created one bundle and installed in felix console. The status of the bundle is also Active. And also it is available in both service and component console.
Here is my TestServiceImpl class in com.adobe.cq bundle
package com.adobe.cq;
import org.apache.felix.scr.annotations.Component;
import org.apache.felix.scr.annotations.Service;
import org.osgi.framework.BundleContext;
import org.osgi.service.component.ComponentContext;
import javax.jcr.RepositoryException;
import org.apache.felix.scr.annotations.Property;
import org.apache.felix.scr.annotations.Properties;
//src.component
//declares the class component. This will provide a wrapped ManagedService component in the OSGI container.
//src.service interface="SampleService"
//declares the service we are offering. Actually, the interface attribute is superflous, as by default, all implemented Interfaces are used.
@scr.component
@scr.service interface="testService"
@Component(immediate = true, metatype = true)
@Service
@Properties( {
@Property(name = "service.description", value = "abcd"),
@Property(name = "label", value = "myLabel") })
public class TestServiceImpl implements TestService {
public String sayHello() {
return "Hello World!";
Here is my jsp code
<%@include file="/libs/foundation/global.jsp"%><%
%><%@include file="/apps/mine/includes/functions.jsp"%><%
%><%@ page import="com.adobe.cq.TestServiceImpl,
org.apache.sling.api.SlingHttpServletRequest,
java.util.List"%><%
%><%
SlingHttpServletRequest r = (SlingHttpServletRequest)request;
TestServiceImpl testService = sling.getService(TestServiceImpl.class);
out.println("testService:::"+testService);
%>
<div id="te-nav" style="display:block !important;">
</div>
Is it because of am using annotation in TestServiceImpl class?
Could you please tell me how to fix it?
Regards,
AndersonHi Pawan,
Thanks for your information. It was problem with my pom.xml It started to work after changing my POM.xml
I am not able to get sling service for TestServiceImpl. But I am only able to create TestService which is my interface. I need to get reference for TestServiceImpl class not for TestService interface. Please help me to make it.
i have created TestServiceImpl and TestService class for testing whether my bubdle is crating all the folder structure or not.
But my requirement is like assume class A has some methods like getMenuLink, setMenuLink.. And In class B i am calling some methods in class A and doing some manipulation in createLink method.
Here class B does not have any interface. Not implementing any interface. But I need to get class B refererence via sling.getService.
I know that if we are using maven SCR plugin..we need to have @component, @service. And All java classes are not services. Will it work if I add activate, deactivate method in class B?
Could you please tell me how to proceed next?
Thanks,
Anderson -
While Import support package getting error in R/3
Hi All,
I am getting one error following error while importing support package in R/3.
Open data extraction requests
The system has found a number of open data extraction requests.These should be processed before starting the object import process, as changes to DDIC structures could prevent data extraction requests from being read after the import, thus causing them to terminate. Call the Customizing Cockpit data extraction transaction and process all open extraction requests.
Can Anybody aware of this error. How do I delete the open data extraction process specified here.
Thx & Regds,
SGKHi,
I think I have to stop extraction process in LBWE or R/3. Can anybody tell me how to stop extraction process.
Thx & Regds,
SGK -
Error getting while importing support package in R/3
Hi All,
I am getting one error following error while importing support package in R/3.
Open data extraction requests
The system has found a number of open data extraction requests.These should be processed before starting the object import process, as changes to DDIC structures could prevent data extraction requests from being read after the import, thus causing them to terminate. Call the Customizing Cockpit data extraction transaction and process all open extraction requests.
Can Anybody aware of this error.
Thx & Regds,
SGKHi,
I think I have to stop extraction process in LBWE or R/3. Can anybody tell me how to stop extraction process.
Thx & Regds,
SGK
Maybe you are looking for
-
Oracle forms standard/default menu - Record Delete option
Hi , Oracle forms provides a standard menu with the below options. Action , Query , Block , Record , Help etc. Under each of these Menu options there are sub options. Eg: Under Record we have Previous , Next , Insert , Delete etc. Can someone please
-
[solved] changed owner of /usr /etc /var folders ..
Hello There ! I messed up, as being the root user, did a chown -R root /usr /var /etc I'm using KDE 4.2, and I bet I messed up with the system. How can I recover this ? I cannot start up kde from KDM, just dont know how can I make it work. I reinstal
-
Time Capsule Stopped Working Without Warning
I purchased my iMac & Time Capsule (802.11n) back in 2006. Last Wednesday (17 Mar 2010) evening, and without any type of warning, the capsule stopped working. The little green light went out and I have not been able to get it running since. My DSL co
-
Suddenly my mac uses only all caps and I can't restart, please help!
Suddenly my mac started using only 'all caps', and also 'select all' with 'left click' in both iTunes and Chrome. I tried to restart, but it will only attempt to open in safe mode, and it will not accept my password. I assume this is because it will
-
How do I delete multiple emails from my gmail account on my iPad?
How do I delete multiple emails from my gmail account on my iPad?