"Expected entry PORTAL-INF/portalapp.xml in .par file."
Hi,
On my SP9 system that has no portal, when I want to <i>Run</i> a WebDynpro App, I do now get the error message "Expected entry PORTAL-INF/portalapp.xml in .par file."
Upon <i>Deploy new Archive and Run</i>, the *.ear file is made as expected, but basically the same error appears on application start.
Any ideas?
Walter
Hi Walter,
Please make sure to do "CreateArchive" before deploying.
"CreateArchive" will create portalapp.xml.
Please check weather its creating the portalapp.xml in gen_wdp folder ?
Could be problem with the plugins that you have on your machine.
Regards, Anilkumar
Similar Messages
-
Portal runtime error-std. masthead par file
Hi,
If i am executing the components of Portalapp.xml file in the std. masthead par file,i am getting the following error.
Can any body give some suggestion to rectifying this error.
<b>Portal Runtime Error
An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
com.sapportals.portal.navigation.HeaderiView.
Exception id: 04:43_05/12/07_0010_4968150</b>
Regards,
Ravi.hi,
Thanks for your valuable suggestion.
Where can i get the particular jar file <b>"com.sap.portal.navigation.masthead_core.jar"</b>,if you have that jar file,
kindly send to me.
Mail id:[email protected]
Thanks in advance,
Regards,
Ravi. -
Parse XML in par structure.
Hi,
I want to parse an XML file which I want to store in my par project structure. Should I just store it in PORTAL-INF like portalapp.xml?
I tried doing this:
IResource xmlResource = request.getResource(IResource.XML,"PORTAL-INF/test.xml");
String url = xmlResource.getResourceInformation().getURL(request);
File f = new File(url);
FileInputStream fis = new FileInputStream(f);
......docBuilder.parse(fis);
My URL formed is /irj/WEB-INF/portal/portalapps/<project name>/PORTAL-INF/test.xmlhello
And the exception I get is :/irj/WEB-INF/portal/portalapps/<project name>/PORTAL-INF/test.xml (No such file or directory)
Am I doing this correctly?Hi Prem,
First, I would advise to use the CODE marker of the SDN editor which makes code much more readable.
Second, you want to parse the XML on server side, retrieving the file directly from the file system. For this, the methods get[Public|Private]ResourcePath exists, see https://media.sdn.sap.com/javadocs/NW04/SPS15/ep/com/sapportals/portal/prt/component/IPortalComponentRequest.html for details.
Put the XML at some corresponding place (probably under the PORTAL-INF dir to make it private), use the method to determine the path on the file system, add your file name, and then create the File object with this full path.
Hope it helps
Detlev -
EP5.0 Custom .par File Does Not Work in EP6.0 SP2
I have a .par file called CustomerSearch.par that is used in EP5.0, and I am now trying to get this .par file to work in EP6.0 SP2. I noticed the directory structure changes, so my .par structure is this:
CustomerSearch.par
--> portal-inf
portalapp.xml
lib
CustomerSearch.jar
TableViewExample.class
pagelet
TableView.jsp
I am getting the following error in the portal console logs when I try to access the component after I have uploaded the CustomerSearch.par file. Does anyone have any suggestions?
Error Message
Jan 26, 2005 4:23:50 PM # Client_Thread_34 Fatal Exception ID:04:23_26/01/05_0019
com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
Component : CustomerSearch.TableViewExample
Component class : TableViewExample
User : testUser
at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:858)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:389)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:462)
at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:88)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:226)
at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:109)
at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:135)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:576)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:669)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:833)
at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:665)
at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:312)
at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1229)
at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
Caused by: com.sapportals.portal.prt.component.PortalComponentException: PortalComponentException
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:123)
at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:224)
at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:86)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:338)
at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:817)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:385)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:462)
at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:88)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:226)
at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:109)
at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:135)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:576)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:669)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:833)
at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:665)
at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:312)
at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1229)
at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: D:/usr/sap/EPD1/j2ee/j2ee_22/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/portalapps/CustomerSearch/work/pagelet/_sapportalsjsp_TableView.java:39: cannot resolve symbol
symbol : class MyBean
location: package TableViewExample
TableViewExample.MyBean myBeanName = null;
^
D:/usr/sap/EPD1/j2ee/j2ee_22/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/portalapps/CustomerSearch/work/pagelet/_sapportalsjsp_TableView.java:41: cannot resolve symbol
symbol : class MyBean
location: package TableViewExample
myBeanName = (TableViewExample.MyBean)pageContext.getAttribute("myBeanName", PageContext.APPLICATION_SCOPE);
^
D:/usr/sap/EPD1/j2ee/j2ee_22/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/portalapps/CustomerSearch/work/pagelet/_sapportalsjsp_TableView.java:45: cannot resolve symbol
symbol : class MyBean
location: package TableViewExample
myBeanName = (TableViewExample.MyBean) Beans.instantiate(this.getClass().getClassLoader(), "TableViewExample.MyBean");
^
3 errors
at com.sapportals.portal.prt.servlets_jsp.server.compiler.JavaCompiler.compileExternal(JavaCompiler.java:439)
at com.sapportals.portal.prt.servlets_jsp.server.compiler.JavaCompiler.compile(JavaCompiler.java:539)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2140)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:76)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:118)
at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:224)
at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:86)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:338)
at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:817)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:385)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:462)
at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:88)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:226)
at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:109)
at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:135)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:576)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:669)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:833)
at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:665)
at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:312)
at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1229)
at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
[email protected]7 #
TableViewExample.java Code
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Vector;
import com.sapportals.htmlb.InputField;
import com.sapportals.htmlb.event.Event;
import com.sapportals.htmlb.event.TableNavigationEvent;
import com.sapportals.htmlb.page.DynPage;
import com.sapportals.htmlb.page.PageException;
import com.sapportals.htmlb.table.DefaultTableViewModel;
import com.sapportals.htmlb.table.TableView;
import com.sapportals.htmlb.table.TableViewModel;
import com.sapportals.portal.htmlb.page.JSPDynPage;
import com.sapportals.portal.htmlb.page.PageProcessorComponent;
import com.sapportals.portal.prt.component.*;
public class TableViewExample extends PageProcessorComponent
/* (non-Javadoc)
@see com.sapportals.portal.htmlb.page.PageProcessorComponent#getPage()
public DynPage getPage()
return new MyDynPage();
public class MyDynPage extends JSPDynPage
//variables
private int visibleRow = 1;
public String search;
public String state = "0";
MyBean myBean;
/* (non-Javadoc)
@see com.sapportals.htmlb.page.DynPage#doInitialization()
//Get Context and Initialize Bean
public void doInitialization() throws PageException
IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
IPortalComponentContext myContext = request.getComponentContext();
IPortalComponentProfile myProfile = myContext.getProfile();
IPortalComponentProfile userProfile = request.getComponentContext().getProfile();
MyBean myBean = new MyBean();
myBean.setText("");
myProfile.putValue("myBeanName", myBean);
/* (non-Javadoc)
@see com.sapportals.htmlb.page.DynPage#doProcessAfterInput()
//Called Directly After The Data Was Submitted
public void doProcessAfterInput() throws PageException
//Get the Bean Object
IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
IPortalComponentContext context = request.getComponentContext();
IPortalComponentProfile profile = context.getProfile();
//Get the Account Info Input Field
InputField myInputField = (InputField) getComponentByName("account_input");
if( myInputField != null )
search = myInputField.getValueAsDataType().toString();
myBean = (MyBean) profile.getValue("myBeanName");
myBean.setAccount(search);
myBean.MyBeanModel();
state = myBean.state;
if( state == "1" )
//get the selected row / rows
//get the tableView by getComponentByName
TableView table = (TableView) this.getComponentByName("myTableView");
//Get the first visible row
int firstVisibleRow = table.getVisibleFirstRow();
//Get the last visible row
int lastVisibleRow = table.getVisibleLastRow();
//which of the visible rows was selected
StringBuffer strBuff = new StringBuffer();
for( int i = firstVisibleRow; i <= lastVisibleRow; i++ )
if( table.isRowSelected(i) )
strBuff.append("Row: " + i + " : ");
/* (non-Javadoc)
@see com.sapportals.htmlb.page.DynPage#doProcessBeforeOutput()
//Called Directly Before Output - Last Called Function
public void doProcessBeforeOutput() throws PageException
//set the jsp to load
this.setJspName("TableView.jsp");
//Called If The Navigation Event Was Send
//The JSP has set the navigation mode byline so the user can navigate
//line by line, page up and down, first and last entry
public void onNavigation(Event event)
if( state == "1" )
//Navigation - get the event to recover the actual position
TableNavigationEvent tne = (TableNavigationEvent) event;
//With the event the method getFirstVariableRowAfter() can be used
//which gives the acutal position (after the event)
this.visibleRow = tne.getFirstVisibleRowAfter();
if( myBean != null )
//just for the first time, when there is no bean
//set the new visibleRow
myBean.setVisibleRow(new Integer(this.visibleRow).toString());
public void onSendButtonClicked(Event event) throws PageException
IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
IPortalComponentContext context = request.getComponentContext();
IPortalComponentProfile myProfile = context.getProfile();
IPortalComponentProfile userProfile = request.getComponentContext().getProfile();
myBean = (MyBean) myProfile.getValue("myBeanName");
state = "1";
myBean.setState("1");
myProfile.putValue("myBeanName", myBean);
public class MyBean
//Properties
public DefaultTableViewModel model;
private String visibleRow = "1";
private String text;
private String account;
private String state = "0";
private String searchType;
//get/set account
public void setAccount(String account)
this.account = account;
public String getAccount()
return this.account;
//get/set state
public void setState(String state)
this.state = state;
public String getState()
return this.state;
//get/set model
public void setModel(DefaultTableViewModel model)
this.model = model;
public TableViewModel getModel()
return this.model;
//get/set Text for status messages
public void setText(String text)
this.text = text;
public String getText()
return this.text;
//get/set VisibleRow for tableView
public void setVisibleRow(String visibleRow)
this.visibleRow = visibleRow;
public String getVisibleRow()
return this.visibleRow;
//get/set SearchType
public void setSearchType(String searchType)
this.searchType = searchType;
public String getSearchType()
return this.searchType;
//Create Table View Model
public void MyBeanModel()
model = this.createNewTable(model);
//Set Table Text
if( model.getRowCount() > 0 )
this.setText("Customer Information Found For: " + this.getSearchType());
else
this.setText("No Records Found For Account: " + this.getAccount());
//Create Data For A DefaultTableViewModel By Using Vector
private DefaultTableViewModel createNewTable(DefaultTableViewModel model)
//Get a vector with a filled up data array
Vector data = null;
try
data = doGet();
catch( ClassNotFoundException e )
e.printStackTrace();
//Get a new vector for the titles
Vector colName = new Vector();
colName.addElement("NUMBER");
colName.addElement("CUSTOMER NAME");
colName.addElement("PHONE");
colName.addElement("STREET");
colName.addElement("CITY");
colName.addElement("STATE");
colName.addElement("ZIP");
model = new DefaultTableViewModel(data, colName);
return model;
//Method will execute SQL string with search parameter on the database
public Vector doGet() throws ClassNotFoundException
Statement stmt = null;
Vector myVector = new Vector();
try
//Load the sun jdbc-odbc bridge driver
DriverManager.registerDriver (new oracle.jdbc.OracleDriver());
String dbUrl = "jdbc:oracle:oci8:@testX003";
Connection con = DriverManager.getConnection(dbUrl, "test", "test");
//Create a statement to submit SQL statements to the driver
stmt = con.createStatement();
String query = "select PAYER_NUM, PAYER_CUST_NAME, PAYER_PHONE_NUM_1 " +
"PAYER_STR_ADDR, PAYER_CITY_NAME, PAYER_ST_ABBR, PAYER_ZIP_CD " +
"from CUST_PAYER where PAYER_NUM = " + this.getAccount() + "";
this.setSearchType("Payer Search");
ResultSet rs;
rs = stmt.executeQuery(query);
ResultSetMetaData rsmd = rs.getMetaData();
//Get number of columns
int numCols = rsmd.getColumnCount();
if( numCols == 0 )
query = "select SLDTO_NUM, SLDTO_CUST_NAME, SLDTO_PHONE_NUM_1 " +
"SLDTO_STR_ADDR, SLDTO_CITY_NAME, SLDTO_ST_ABBR, SLDTO_ZIP_CD " +
"from CUST_PAYER where SLDTO_NUM = " + this.getAccount() + "";
this.setSearchType("SoldTo Search");
rs = stmt.executeQuery(query);
myVector = createData(rs);
//Close ResultSet
rs.close();
//Close Statement
stmt.close();
//Close Connection
con.close();
catch( SQLException ex)
this.account = ex.getMessage();
return myVector;
//This method pulls the database selection results and places them into vectors
private Vector createData(ResultSet res) throws SQLException
//Get the metadata infro
ResultSetMetaData rsmd = res.getMetaData();
//Get number of columns
int numCols = rsmd.getColumnCount();
String checkVal;
//Loop through the result set and load rows of data into Vector
Vector dataVec = new Vector();
Vector retVector = new Vector();
int k = 0;
while( res.next() )
k++;
for( int i = 1; iHi Bernhard,
nice to hear that we resolve the problem
> Karstens answer solved my base problem,
> Detlevs answer lead into the right direction.
Not that I've that need for points...
It's just the question why my answer (if you follow the link, my answer was: delete two lines, from which one is essential to be deleted) only "lead into the right direction"... In fact, it solved the base problem, I would claim for me
To give the technical background: If your write
<property name="ComponentType" value="jspnative"/>
the portal runtime expects a component consisting of a native JSP; the second directive -
<property name="JSP" value="pagelet/InitialPage.jsp"/>
- for this case tells where to find this JSP. So if you delete the first line, <i>at least</i> the second line has no sense anymore. To clean up such a portalapp.xml, it just makes sense also to delete the second line.
Best regards
Detlev -
Not able to view the uploaded PAR file in the portal archive selection.
Dear All,
I have modified com.sap.portal.runtime.logon.par and have renamed it to some other name.
Now I have uploaded the par file.
The problem is that when choose new from PAR option (to create iview from a par file),I am not able to see the par file in the Portal Archive selection.
I also want to know that if I am able to call the par file in the iview, can I use this iview to have a portal login.
Our requirement is that we want to give login page for the portal in the portal home page.The portal home page will be for the anonymous users.
Kindly try to guide meHi Nitin,
Check ur Portalapp.xml file. If u have the following code in that just <b>remove</b> them
<property name="com.sap.portal.pcm.Category" value="platform">
<property name="inheritance" value="final"/>
Deploy it again.now u can see that par in ur portal.Refer this thread also
PAR File not seen
Regards,
Tamil K -
How to read an XML file from embedded PAR file?
I have an XML file that has been included in the PAR file as a means of storage (instead of hosting it to a web server). Is there a way to read this file from within a java iView? I have tried various methods without much luck. (I can't seem to locate the file in the portal repository like I could with htmlb's Image class.
Any thoughts?
ThanksHi,
try this one:
File myxmlFile = new File(portalRequest.getPrivateResourcePath(),"Path/to/my/file/after/PORTAL-INF/myfile.xml"); -
Hi,
I would like to modify the toolarea of our SAP Enterprise Portal. Basically, I just want to move the tools to the right hand side.
<b>Problem Description</b>
According to several threads I found on sdn
- How to modify the header
- copy and rename par-file?
it should be fairly simple to modify the tool area.
- download com.sap.portal.navigation.toolarea.par from portal server
- import the downloaded par file into your NetWeaver Developer Studio
- Change the ToolAreaiView.jsp in project folder dist/PORTAL-INF/jsp
- Save changes
- Deploy project to the portal server (>File>Export>Par File><Name of your project>>Next>...)
- Remove the standard Tool Area iView from your Framework page
- Create a new iView from your uploaded par file (chose default component)
- Add new created iView to your Framework page
Done, you should see your customized tool area. Unfortunately I encounter a Portal Runtime Exception (Page could not create the iView). I did exactly as described above.
- I downloaded the com.sap.portal.navigation.toolarea.par.bak file from >System Administration>Support>Portal Runtime>Browse Deployment>ROOT>WEB-INF/deployment/temp.
- Extracted the com.sap.portal.navigation.toolarea.par after changing the downloaded files file extension to zip
- Imported the extracted par file into Netweaver Developer Studio under a new project name
- Found the ToolAreaiView.jsp in project folder dist/PORTAL-INF/jsp
- Did NO changes
- Exported the project into a par file and deployed the par file to the portal successfully.
- Removed the old Tool Area iView from the Framework page
- Created a new Tool Area iView from my uploaded par file (default component)
- Added the new created iView to the Framework page.
- I logged on again and instead of the Tool Area I see an error message
<i>Portal Runtime Error
An exception occurred while processing a request for :
iView : pcd:portal_content/sdm_Germany/de.sdm.kellermann.folders.home/de.sdm.kellermann.folders.coreobjects/default/frameworkPages/de.sdm.kellermann.coreobjects.frameworkpage/de.sdm.kellermann.iviews.toolarea
Component Name : null
Page could not create the iView.
See the details for the exception ID in the log file</i>
<b>Background information</b>
J2EE Engine: 6.40 PatchLevel 89291.313
Portal: 6.0.11.3.0
Browser: Microsoft Internet Explorer 6 SP2
NWDS: 2.0.11
Any ideas what I did wrong? I appreaciate any kind of help.
Best regards,
MartinHi Yoav,
thank you for your swift response. You were right. I do not know why but after I imported the downloaded par file into NetWeaver Developer Studio, the new created project did not contain the jar files, which come with the par file. I added the jar files manually to the project, put them into the project's build path and instructed the NWDS to put them into the par file which I deployed to the portal server.
Afterwards I completed the routine described in my first post and everything worked out. Thanks a lot for that hint.
By the way do you know how to instruct NWDS to include the jar files automatically during an import?
Best regards,
Martin -
Not able to get JSP file in com.sap.portal.runtime.logon.par file
Hi everyone,
I have downloaded com.sap.portal.runtime.logon.par from portal. When i imported in NWDS , i am not able to find any JSP file.
In folder PORTAL-INF, there should be this file but its not there. what could be the reason.?Hi Manu,
Copy com.sap.portal.runtime.logon.par from filesystem:
/usr/sap/<SID>/J<Instance number>/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/deployment/pcd/
if there is issue with downloading.
Please check this :-
Portal Customizations Intro - Login Part 1
http://wiki.sdn.sap.com/wiki/display/EP/ModifyingtheLogon+Page
Changing the welcome text in portal header (EP5.0)
Hope this will helps you.
Regards,
Arun -
Error on exporting a PAR file to portal
I am trying to export a portal application (java code) to PAR file in the NWDS. i am getting the following error;-
<b>PAR Upload failed:Please make sure that portal server is running.
HTTPS is not supported ,please ensure the server is not using HTTPS</b>
The PAR file is to be uploaded to the portal later.
Note:The portal application has compiled successfully.
Is it not supported in this version of the portal?
Please help
Regards
Navneet
Message was edited by:
Navneet GiriaHello Navneet,
Check these threads:
Problems deploying par file via Netweaver Developer Studio
Unable to Upload portal application from NWDS
If this does not help, try deploying from
System Administration-> Support-> Portal Runtime-> Administration Console.
At the option "Please specify a Portal Archive file (PAR) and press "upload" to store it into the PCD." Deploy your par file by giving the path.
Greetings,
Praveen Gudapati
p.s. Points are always welcome for helpful answers -
J2EE:160043]Missing deployment descriptor "WEB-INF/web.xml"
Hi ,
When I try to deploy using admin console i get the following error msg.
J2EE:160043]Missing deployment descriptor "WEB-INF/web.xml"
The war file has web.xml.
Can some give me the reason for the above error.
LOG content:
weblogic.management.ApplicationException: [J2EE:160043]Missing deployment descriptor
"WEB-INF/web.xml" at "C:\bea8\user_projects\domains\eConnect\applications\myEconnect.war"
at weblogic.j2ee.J2EEApplicationContainerFactory.handleError(J2EEApplicationContainerFactory.java:729)
at weblogic.j2ee.J2EEApplicationContainerFactory.initializeDeployment(J2EEApplicationContainerFactory.java:470)
at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:833)
at weblogic.management.deploy.DeployerRuntime.access$000(DeployerRuntime.java:63)
at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:1499)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(DeployerRuntime.java:1490)
at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:186)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
at weblogic.management.runtime.DeployerRuntimeMBean_Stub.activate(DeployerRuntimeMBean_Stub.java:1064)
at weblogic.management.console.actions.mbean.WebAppComponentDeployAction.prePerform(WebAppComponentDeployAction.java:141)
at weblogic.management.console.actions.mbean.DoMBeanWizardAction.perform(DoMBeanWizardAction.java:215)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:173)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)You'll have to at least show me the out contents of that WAR file.
-- Rob
Sowjanya wrote:
Suppose the directory structure of the appl is c:\myroot\webapp\...
then we need to go to webapp and then build the war file.
C:\myroot\webapp>jar -cvf abc.war *
then copy the war file and paste it in applicaitons folder.
"sowjanya" <[email protected]> wrote:
Hi ,
When I try to deploy using admin console i get the following error msg.
J2EE:160043]Missing deployment descriptor "WEB-INF/web.xml"
The war file has web.xml.
Can some give me the reason for the above error.
LOG content:
weblogic.management.ApplicationException: [J2EE:160043]Missing deployment
descriptor
"WEB-INF/web.xml" at "C:\bea8\user_projects\domains\eConnect\applications\myEconnect.war"
at weblogic.j2ee.J2EEApplicationContainerFactory.handleError(J2EEApplicationContainerFactory.java:729)
at weblogic.j2ee.J2EEApplicationContainerFactory.initializeDeployment(J2EEApplicationContainerFactory.java:470)
at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:833)
at weblogic.management.deploy.DeployerRuntime.access$000(DeployerRuntime.java:63)
at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:1499)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(DeployerRuntime.java:1490)
at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:186)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
at weblogic.management.runtime.DeployerRuntimeMBean_Stub.activate(DeployerRuntimeMBean_Stub.java:1064)
at weblogic.management.console.actions.mbean.WebAppComponentDeployAction.prePerform(WebAppComponentDeployAction.java:141)
at weblogic.management.console.actions.mbean.DoMBeanWizardAction.perform(DoMBeanWizardAction.java:215)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:173)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170) -
Problem Deploying PAR file to EP 6.0 SP2
I downloaded the latest SAP .Net PDK and I am trying to deploy the PAR file to EP 6.0 (SP2 patch 4 hotfix 5 running on HP11). The error message that I'm getting isn't telling me a whole lot. Has anyone else had trouble deploying from a windows system to the portal running on UNIX?
Message from the VS2003 output window.
Build...
Build PDKTest : Done -
Creating temporary directory...
Create Temp dir at C:\Documents and Settings\User\Application Data\SAP Portal\ep_deploy_6182e22f-c7e8-4e88-862d-44ac1ab27822
Copy file c:\User\_Net\SAPPDKTest\PDKTest\bin\PDKTest.dll
Copy file c:\User\_Net\SAPPDKTest\PDKTest\bin\PDKTest.pdb
Copy file C:\Documents and Settings\User\Application Data\SAP Portal\ep_deploy_6182e22f-c7e8-4e88-862d-44ac1ab27822\PORTAL-INF
PortalComponent1.ascx
Handle Ascx File ...
Handle Ascx File C:\Documents and Settings\User\Application Data\SAP Portal\ep_deploy_6182e22f-c7e8-4e88-862d-44ac1ab27822\PORTAL-INF\PortalComponent1.ascx
Handle Ascx File : Done -
Creating portalapp.xml ...
ComponentName = PortalComponent1
AscxName = PortalComponent1.ascx
Properties Added :
Creating portalapp.xml : Done -
Creating par zip file ...
Creating par zip file C:\Documents and Settings\User\Application Data\SAP Portal\ep_deploy_6182e22f-c7e8-4e88-862d-44ac1ab27822\PDKTest.par
Deploy to portal...
Portal: DEV Portal
Host: dev
Port: 50000
UserName: Administrator
Upload failed. Check details and try again.
Delete C:\Documents and Settings\User\Application Data\SAP Portal\ep_deploy_6182e22f-c7e8-4e88-862d-44ac1ab27822
Delete temporary directory : Done -
Deployment failed.------
Message from the event log.
General Information
Additional Info:
1) Exception Information
Exception Type: SAP.Portal.Design.Settings.PortalException
Message: Upload failed. Check details and try again.
CallingDeployEngine: SAP.Portal.Design.Settings.PortalEngine
TargetComponent: C:\Documents and Settings\User\Application Data\SAP Portal\ep_deploy_97af9999-7efe-403b-aef3-083cdf6be082\PDKTest.par
TargetSite: Void UploadPar(System.IO.FileInfo)
HelpLink: NULL
Source: SAP.Portal.Design
StackTrace Information
at SAP.Portal.Design.Settings.PortalEngine.UploadPar(FileInfo parFile)
at SAP.Portal.Design.Settings.PortalEngine.Deploy(FileInfo parFile)
at SAP.Portal.Design.Settings.PortalEngine.Deploy(String filePath)
at SAP.Portal.Design.Deployment.DeployManager.DeployToPortal(String parPath)
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.Thank you for the reply.
I was hoping that wasn't the case, because now I will have to wait until we deploy SP9, which could be quite a while.
In the meantime will the old PDK for .Net (Pre-SP1) work with the older Service Packs? I couldn't find it out on the SAP site. The only one I could find was the SP1 version of the SAP .Net PDK.
-pt -
Migrated PAR file does not appear in PCD
Hi,
I have migrated a par file, using the migration tool, and deployed the ear file successfully using NWDS.
I can see the deployed application in NWA but not in PCD, under 'Portal Application'.
I am missing something?Hi Jack,
I assume you are using EP 7.3x and that you have inside the par a portal application. is that correct?
Search for it in content Administration-->Portal Applications:
If you still cannot find it there, make sure that in the portal application PortalApp.xml file you do not have the line:
<property name="com.sap.portal.pcm.admin.isTechnical" value="true"
This hides it from the administration.
Best Regards,
Tal -
Error while deploying .par file through system admin
I have tried to modify logon.par file but when I was try deploy that file again through system admin then I got this error...................
Portal Runtime Error
An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
com.sapportals.portal.ume.component.logon.SAPMLogonComponent.
Exception id: 10:19_11/05/07_0006_13454550
See the details for the exception ID in the log file
Please help me out I am using sneak preview 7.0
Detailed Error Log & Trace
=========================================================
Exception ID:08:55_11/05/07_0002_13454550
[EXCEPTION]
com.sapportals.portal.prt.component.PortalComponentException: Error in init method
Component : com.sap.portal.support.browse.default
at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:251)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:267)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:312)
at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:385)
at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:435)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class com.sapportals.portal.ume.component.logon.SAPMLogonComponent of Portal Component com.sap.portal.support.browse.default because: Could not find implementation class
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:242)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getComponentInstance(PortalComponentItemFacade.java:160)
at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java:732)
at com.sapportals.portal.prt.component.PortalComponentContext.getComponent(PortalComponentContext.java:103)
at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:242)
... 26 more
Caused by: java.lang.ClassNotFoundException: com.sapportals.portal.ume.component.logon.SAPMLogonComponent
Found in negative cache
Loader Info -
ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@3389d1]
Parent loader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@1b7a6fa]
References:
not registered!
No resources !
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:360)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:228)
... 30 moreHi,
Open ur PAR file then double click on PORTAL-INF -> lib->Select 2 jar files
1.com.sap.portal.runtime.logon_api.jar
2.umelogonbase.jar
Copy those jar file & paste in to lib in ur application.
Regards,
Senthil kumar K. -
No Par File upload option in NWDS
Hi Experts,
Yesterday i was working on NWDS when i go to file --> import --> i used to get many options including PAR file option but today
when i tried the same go to file--> import, i get only two options Developement component and Multiple existing component into
workspace
How do i get back to previous setting so that i can import par files into NWDS.
Regards,
Siva
Edited by: bsivasap on Aug 27, 2011 11:13 AM
Edited by: bsivasap on Aug 27, 2011 11:14 AMI was able to solve a similar issue in the past using the following approach.
First, check the file plugin.xml at the following location on your computer where NWDS is installed.
.....\SAP\IDE\IDE70\eclipse\plugins\com.sap.ep.applicationDevelopment_7.00\plugin.xml
Paste the following code in this file under extension point for the open par wizard.
<wizard
name="PAR file"
icon="icons/OpenPar.gif"
class="com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.openPar.OpenParWizard"
id="OpenParWizard">
<description>
Create a Portal Application Project from a PAR file.
</description>
</wizard>
Also, place the same code in plugin.xml file located at the following location: ....\SAP\IDE\IDE70\eclipse\plugins\com.sap.ide.eclipse.import.iaik_2.0.0\plugin.xml
Thanks,
Shanti -
Hi,
I am using Portal 7.02
When I try to download the Par file from ROOT/WEB-INF/deployment/temp several par files get downloaded with its name as it is with .par.bak extension and several par files download with the default name com.sap.portal.support.browse.default
I found several posts on sdn that says use winrar to open such file.
My question is- why is it showing different behavior for different par files? Shouldn't it show all the downloaded par files same way?
Earlier I was on EP 6.0 and never faced such problem.
Thanks,
AtulDear Atul,
You can directly download the par file without need to modify.
System administration->Support->Portal Runtime->Browse deployment->ROOT/WEB-INF/deployment/temp->
- Identify the PAR file and Copy the name of PAR file.
- Click on VIEW instead of download link to save the PAR file.
- Save the PAR file with same name as you copied with .par extentions
- Now you can user the PAR file.
if JAR file is not coming under lib folder after importing in the NWDS then you can get the jar file with extracting the PAR file under lib folder. then copy and paste the jar file manually.
Hope it will helps.
Best Regards
Arun Jaiswal
Maybe you are looking for
-
How to get background color in MVC programming
Hi Experts, I am new to BSP. I am working in CRM 7.0 version and designing a view using MVC method in BSP. I have two doubts:: 1. How can i get background color in a view ? 2. How can i attach a picture, that is in paint-brush, in background ? Thanks
-
How can I re import pictures to my library?
OK, I made a silly mistake, and I erased all of the originals from iphoto (yes, I know, it is a hidden folder, it is hard to do, but I managed to do it all the same). Now, all of the thumbnails are there, but not the actual pics. I have them all back
-
Skype Showing Special Characters as Boxes []
Just less than an hour ago, I had a problem with some virus-extensions. I did necessary uninstallments and downloaded Adwere to make sure the extensions are gone for good. Once I've done so, Adwere uninstalled many different files. So far, no proble
-
Hi, all How can I see all materials documents, which were held in transaction MIGO. Thx
-
ORA-01762: vopdrv: view query block not in FROM ????
Hi All any one aware of the error. ORA-01762: vopdrv: view query block not in FROM Please reply back.