Struts application using wsad 5.0 - unable to Run on server

Hi,
I m developing a small struts application using WSAD 5.0.
Here is the code
index.jsp
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ page
language="java"
contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"
%>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="GENERATOR" content="IBM WebSphere Studio">
<META http-equiv="Content-Style-Type" content="text/css">
<LINK href="theme/Master.css" rel="stylesheet" type="text/css">
<TITLE>ABC, Inc. Human Resources Portal</TITLE>
</HEAD>
<BODY background="F1_100.gif">
<font size="+1">ABC, Inc. Human Resources Portal </font>
</br>
<hr width="100%" noshade="true">
&#149;Add an Employee
<br>
&#149;
<html:link forward="search">Search for Employees</html:link>
<br>
</BODY>
</HTML>
search.jsp
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html>
<head>
<title> ABC, Inc. Human Resources Portal - Employee Search</title>
</head>
<body>
<font size="+1">
ABC, Inc. Human Resources Portal - Employee Search
</font><br>
<hr width="100%" noshade="true">
<html:errors/>
<html:form action="/search">
<table>
<tr>
<td align="right"><bean:message key="label.search.name"/></td>
<td><html:text property="name"/></td>
</tr>
<tr>
<td></td>
<td>-- or --</td>
</tr>
<tr>
<td align="right"><bean:message key="label.search.ssnum"/></td>
<td><html:text property="ssnum"/>(xxx-xx-xxxx)</td>
</tr>
<tr>
<td></td>
<td><html:submit/></td>
</tr>
</table>
</html:form>
<logic:present name="searchForm" property="results">
<hr width="100%" size="1" noshade="true">
<bean:size id="size" name="searchForm" property="results"/>
<logic:equal name="size" value="0">
<center><font color="red"><b>No Employees Found</b></font></center>
</logic:equal>
<logic:greaterThan name="size" value="0">
<table border="1">
<tr>
<th>Name</th>
<th>Social Security Number</th>
</tr>
<logic:iterate id="result" name="searchForm" property="results">
<tr>
<td><bean:write name="result" property="name"/></td>
<td><bean:write name="result" property="ssNum"/></td>
</tr>
</logic:iterate>
</table>
</logic:greaterThan>
</logic:present>
</body>
</html>
searchForm.java
package minihr.forms;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
* Form bean for a Struts application.
* Users may access 3 fields on this form:
* <ul>
* <li>name - [your comment here]
* <li>ssNum - [your comment here]
* </ul>
* @version      1.0
* @author
public class SearchForm extends ActionForm {
     private String name = null;
     private String ssNum = null;
    private List results = null;
      * Get Name
      * @return String
     public String getName() {
          return name;
      * Set Name
      * @param <code>String</code>
     public void setName(String name) {
          this.name = name;
      * Get SsNum
      * @return String
     public String getSsNum() {
          return ssNum;
      * Set SsNum
      * @param <code>String</code>
     public void setSsNum(String ssNum) {
          this.ssNum = ssNum;
      * Set Results
     public void setResults(List results){
          this.results=results;
      * get Results
     public List getResults(){
          return results;
     * Constructor
     public SearchForm() {}
     public void reset(ActionMapping mapping, HttpServletRequest request) {
          // Reset values are provided as samples only. Change as appropriate.
          name = null;
          ssNum = null;
          results = null;
     //validate form data.
     public ActionErrors validate(
          ActionMapping mapping,
          HttpServletRequest request) {
          ActionErrors errors = new ActionErrors();
          // Validate the fields in your form, adding
          // adding each error to this.errors as found, e.g.
          // if ((field == null) || (field.length() == 0)) {
          //   errors.add("field", new ActionError("error.field.required"));
          boolean nameEntered = false;
          boolean ssNumEntered = false;
          //Determine if name has been entered.
          if(name != null && name.length() > 0){
               nameEntered = true;
          //Determine if social security number has been entered
          if(ssNum != null && ssNum.length() > 0){
               ssNumEntered = true;
          /* validate that either name or ssnum has
           * been entered */
           if(!nameEntered && !ssNumEntered){
                errors.add(null,new ActionError("error.search.criteria.missing"));
           /* validate format of ssnum if it has been entered */
           if(ssNumEntered && !isValidSsNum(ssNum.trim())){
                errors.add("ssNum",
                   new ActionError("error.search.ssNum.invalid"));
          return errors;
     //validate format of social security number
     private static boolean isValidSsNum(String ssNum){
          if(ssNum.length() < 11){
               return false;
          for(int i=0;i<11;i++){
               if(i==3 || i==6){
                    if(ssNum.charAt(i) != '-'){
                         return false;
               }else if("0123456789".indexOf(ssNum.charAt(i)) == -1){
                    return false;
          return true;
searchAction.java
package minihr.actions;
import java.util.ArrayList;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import minihr.forms.SearchForm;
import common.EmployeeSearchService;
* @version      1.0
* @author
public class SearchAction extends Action {
     * Constructor
     public SearchAction() {}
     public ActionForward perform(
          ActionMapping mapping,
          ActionForm form,
          HttpServletRequest request,
          HttpServletResponse response)
          throws Exception {
          EmployeeSearchService service = new EmployeeSearchService();
          ArrayList results;
          SearchForm searchForm = (SearchForm) form;
          //perform employee search based on what criteria was entered
          String name = searchForm.getName();
          if(name != null && name.trim().length() > 0)
            results = service.searchByName(name);
          else
               results = service.searchBySsNum(searchForm.getSsNum().trim());
          //place search results in searchform for access by JSP.
          searchForm.setResults(results);
          //forward control to this actions input page
          return mapping.getInputForward();
EmployeeSearchService.java
package common;
import java.util.ArrayList;
import common.Employee;
* @author Niharika
* To change this generated comment edit the template variable "typecomment":
* Window>Preferences>Java>Templates.
* To enable and disable the creation of type comments go to
* Window>Preferences>Java>Code Generation.
public class EmployeeSearchService {
     private static Employee[] employees =
          new Employee("samuel","123-45-6789"),
          new Employee("Robert","234-56-7890"),
          new Employee("smith","345-67-8901"),
          new Employee("Frank","456-78-9012")
     // search for employees by name
     public ArrayList searchByName(String name){
          ArrayList resultList = new ArrayList();
          for(int i=0; i<employees.length; i++)
               if(employees.getName().toUpperCase().indexOf(name.toUpperCase()) != -1)
                    resultList.add(employees[i]);
          return resultList;
// search for employee by social security number
public ArrayList searchBySsNum(String ssNum){
     ArrayList resultList = new ArrayList();
     for(int i=0;     i<employees.length; i++)
          if(int i=0; i<employees.length; i++)
               if(employee[i].getSsNum().equals(ssNum))
                    resultList.add(employees[i]);
          return resultList;
Employee.java
package common;
* @author Niharika
* To change this generated comment edit the template variable "typecomment":
* Window>Preferences>Java>Templates.
* To enable and disable the creation of type comments go to
* Window>Preferences>Java>Code Generation.
public class Employee {
private String name;
private String ssNum;
public Employee(String name,String ssNum)
     this.name=name;
     this.ssNum=ssNum;
public void setName(String name)
     this.name=name;
public String getName()
     return name;
ApplicationResources.properties
# Label Resources
label.search.name=Name
label.search.ssNum=Social Security Number
# Error Resources
error.search.criteria.missing=<li>Search Criteria Missing</li>
error.search.ssNum.invalid=<li>Invalid Social Security Number</li>
errors.header=<font color="red"><b>Validation Errors </b></font><ul>
errors.footer=</ul><hr width="100%" size="1" noshade="true">
In searchAction.java
it is showing 2 errors
public ActionForward perform(
          ActionMapping mapping,
          ActionForm form,
          HttpServletRequest request,
          HttpServletResponse response)
          throws Exception {
error is: Exception Exception is not compatible with throws clause in
org.apache.struts.action.Action.Perform()
Another error is shown at :
return mapping.getInputForward();
error is:
method is undefined for typt org.apache.struts.action.ActionMapping
please give me a solution for this watching the code
i have opened the server perspective and started the server.
next i am clicking run on server. There i am getting an error like this:
Error Received while starting the server
Reason:
Launching the server failed:
server port 9080 is in use.
ORB bootstrap port 2809 is in use.
SOAP connector port 8880 is in use.
change each used port number to another unused port on the ports page of the server configuration editor. In case u have another websphere server running , you can try to increase each used port number by one and try again.please solve this problem

Nothing at all to do with struts.
Some of the ports that WSAD wants to use are already in use.
Maybe you have a copy of websphere running already?
If so stop that one, and try running again.

Similar Messages

  • "The Selection is not within a valid module" - unable to run on server

    Hi,
    I have WLP 10.2 portal web and ear projects, but for some reason I am unable to run on server the .portal files or any other resources within the project.
    When I try to run I get the error - The selection is not within a valid module. Does anyone have any idea in what scenarios this might happen?
    Thanks,
    Sid

    never faced this before but came across this eclipse bug
    http://dev.eclipse.org/newslists/news.eclipse.webtools/msg13972.html
    'The current handling of project modules is such that the project name must match the deploy-name in the .settings/org.eclipse.wst.common.component for "everything" to work correctly. If they don't match, I believe the symptom you are experiencing is one of the "things" that goes wrong.'

  • I have programmed a visual basic application using activex controls. WHen I run this application through internet, it appears a message box indicating that the measurement studio is a demo, but I have the correct license. What can I do?

    I run the application in a computer without measurement studio because my application is stored in a web server and I access to the application downloading it from a web page of that server.

    Have you included the lpk file with your control? I've attached the tool you'll need and here is a nice link that goes thru it step by step.
    Hope this helps
    Bilal Durrani
    Bilal Durrani
    NI
    Attachments:
    lpk.zip ‏74 KB

  • Need help with BC4J/Struts application using a Stored Procedure

    Hi,
    I am doing a proof of concept for a new project using JDeveloper, Struts and BC4J. We want to reuse our Business logic that is currently residing in Oracle Stored Procedures. I previously created a BC4J Entity Object based on a stored procedure Using Oracle Stored Procedures but this stored procedure is a bit different in that it returns a ref cursor as one of the paramters. http://radio.weblogs.com/0118231/stories/2003/03/03/gettingAViewObjectsResultRowsFromARefCursor.html
    I tried the above method, but I am having some trouble with it. I keep getting the error ORA-01008: not all variables are bound when I test it using the AppModule tester.
    Here is the store procedure definition:
    CREATE OR REPLACE PACKAGE pprs_test_wrappers IS
    TYPE sn_srch_results IS REF CURSOR;
    PROCEDURE sn_srch_main_test
    (serial_num_in IN OUT VARCHAR2
    ,serial_coll_cd_in IN OUT NUMBER
    ,max_rows_allowed IN OUT NUMBER
    ,total_rows_selected IN OUT NUMBER
    ,message_cd_out IN OUT VARCHAR2
    ,query_results          OUT sn_srch_results
    END pprs_test_wrappers;
    And here is my code:
    package pprs;
    import java.math.BigDecimal;
    import java.sql.CallableStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Timestamp;
    import java.sql.Types;
    import oracle.jbo.JboException;
    import oracle.jbo.domain.Number;
    import oracle.jbo.server.DBTransaction;
    import oracle.jbo.server.ViewObjectImpl;
    import oracle.jbo.server.ViewRowImpl;
    import oracle.jbo.server.ViewRowSetImpl;
    import oracle.jdbc.driver.OracleCallableStatement;
    import oracle.jdbc.driver.OracleTypes;
    // --- File generated by Oracle Business Components for Java.
    public class LienCheckImpl extends ViewObjectImpl
    * This is the PLSQL block that we will execute to retrieve the REF CURSOR
    private static final String SQL =
    "begin ? := pprs_test_wrappers.sn_srch_main_test(?, ?, ?, ?, ?, ?);end;";
    public LienCheckImpl() {}
    * Overridden framework method.
    * Executed when the framework needs to issue the database query for
    * the query collection based on this view object. One view object
    * can produce many related result sets, each potentially the result
    * of different bind variable values. If the rowset in query is involved
    * in a framework-coordinated master/detail viewlink, then the params array
    * will contain one or more framework-supplied bind parameters. If there
    * are any user-supplied bind parameter values, they will PRECEED the
    * framework-supplied bind variable values in the params array, and the
    * number of user parameters will be indicated by the value of the
    * numUserParams argument.
    protected void executeQueryForCollection(Object qc,Object[] params,int numUserParams) {
    * If there are where-clause params (for example due to a view link)
    * they will be in the 'params' array.
    * We assume that if some parameter is present, that it is a Deptno
    * value to pass as an argument to the stored procedure.
    * NOTE: Due to Bug#2828248 I have to cast to BigDecimal for now,
    * ---- but this parameter value should be oracle.jbo.domain.Number type.
    String serialNumIn = null;
    BigDecimal serialCollCdIn = null;
    BigDecimal maxRowsAllowed = null;
    BigDecimal totalRowsSelected = null;
    String messageCdOut = null;
    if (params != null) {
    serialNumIn = (String)params[0];
    serialCollCdIn = (BigDecimal)params[1];
    maxRowsAllowed = (BigDecimal)params[2];
    totalRowsSelected = (BigDecimal)params[3];
    messageCdOut = (String)params[4];
    storeNewResultSet(qc,retrieveRefCursor(qc,serialNumIn,
    serialCollCdIn,
    maxRowsAllowed,
    totalRowsSelected,
    messageCdOut));
    super.executeQueryForCollection(qc, params, numUserParams);
    * Overridden framework method.
    * Wipe out all traces of a built-in query for this VO
    protected void create() {
    getViewDef().setQuery(null);
    getViewDef().setSelectClause(null);
    setQuery(null);
    * Overridden framework method.
    * The role of this method is to "fetch", populate, and return a single row
    * from the datasource by calling createNewRowForCollection() and populating
    * its attributes using populateAttributeForRow().
    protected ViewRowImpl createRowFromResultSet(Object qc, ResultSet rs) {
    * We ignore the JDBC ResultSet passed by the framework (null anyway) and
    * use the resultset that we've stored in the query-collection-private
    * user data storage
    rs = getResultSet(qc);
    * Create a new row to populate
    ViewRowImpl r = createNewRowForCollection(qc);
    try {
    * Populate new row by attribute slot number for current row in Result Set
    populateAttributeForRow(r,0, nullOrNewNumber(rs.getBigDecimal(1)));
    populateAttributeForRow(r,1, nullOrNewNumber(rs.getBigDecimal(2)));
    populateAttributeForRow(r,2, rs.getString(3));
    populateAttributeForRow(r,3, rs.getString(4));
    populateAttributeForRow(r,4, rs.getString(5));
    catch (SQLException s) {
    throw new JboException(s);
    return r;
    * Overridden framework method.
    * Return true if the datasource has at least one more record to fetch.
    protected boolean hasNextForCollection(Object qc) {
    ResultSet rs = getResultSet(qc);
    boolean nextOne = false;
    try {
    nextOne = rs.next();
    * When were at the end of the result set, mark the query collection
    * as "FetchComplete".
    if (!nextOne) {
    setFetchCompleteForCollection(qc, true);
    * Close the result set, we're done with it
    rs.close();
    catch (SQLException s) {
    throw new JboException(s);
    return nextOne;
    * Overridden framework method.
    * The framework gives us a chance to clean up any resources related
    * to the datasource when a query collection is done being used.
    protected void releaseUserDataForCollection(Object qc, Object rs) {
    * Ignore the ResultSet passed in since we've created our own.
    * Fetch the ResultSet from the User-Data context instead
    ResultSet userDataRS = getResultSet(qc);
    if (userDataRS != null) {
    try {
    userDataRS.close();
    catch (SQLException s) {
    /* Ignore */
    super.releaseUserDataForCollection(qc, rs);
    * Return a JDBC ResultSet representing the REF CURSOR return
    * value from our stored package function.
    private ResultSet retrieveRefCursor(Object qc,
    String serialNum,
    BigDecimal serialColCd,
    BigDecimal maxRows,
    BigDecimal totalRows,
    String messageCd ) {
    CallableStatement st = null;
    try {
    st = getDBTransaction().createCallableStatement(SQL,DBTransaction.DEFAULT);
    * Register the first bind parameter as our return value of type CURSOR
    st.registerOutParameter(1,OracleTypes.CURSOR);
    * Set the value of the 2nd bind variable to pass id as argument
    if (serialNum == null) st.setNull(2,Types.CHAR);
    else st.setString(2,serialNum);
    if (serialColCd == null) st.setNull(3,Types.NUMERIC);
    else st.setBigDecimal(3,serialColCd);
    if (maxRows == null) st.setNull(4,Types.NUMERIC);
    else st.setBigDecimal(4,maxRows);
    if (totalRows == null) st.setNull(5,Types.NUMERIC);
    else st.setBigDecimal(5,totalRows);
    if (messageCd == null) st.setNull(6,Types.CHAR);
    else st.setString(6,messageCd);
    st.execute();
    ResultSet rs = ((OracleCallableStatement)st).getCursor(1);
    * Make this result set use the fetch size from our View Object settings
    rs.setFetchSize(getFetchSize());
    return rs ;
    catch (SQLException s) {
    throw new JboException(s);
    finally {try {st.close();} catch (SQLException s) {}}
    * Store a new result set in the query-collection-private user-data context
    private void storeNewResultSet(Object qc, ResultSet rs) {
    ResultSet existingRs = getResultSet(qc);
    // If this query collection is getting reused, close out any previous rowset
    if (existingRs != null) {
    try {existingRs.close();} catch (SQLException s) {}
    setUserDataForCollection(qc,rs);
    hasNextForCollection(qc); // Prime the pump with the first row.
    * Retrieve the result set wrapper from the query-collection user-data
    private ResultSet getResultSet(Object qc) {
    return (ResultSet)getUserDataForCollection(qc);
    * Return either null or a new oracle.jbo.domain.Number
    private static oracle.jbo.domain.Number nullOrNewNumber(BigDecimal b) {
    try {
    return b != null ? new oracle.jbo.domain.Number(b) : null;
    catch (SQLException s) { }
    return null;
    I created the view object in expert mode so there is no entity object. Can someone help? I don't have much time left to finish this.
    Also, could I have done this from the Entity object instead of the view object by registering the ref cursor OUT parameter in handleStoredProcInsert()?
    Thanks
    Natalie

    I was able to get the input parameter by putting the following in my struts actions class
    vo.setWhereClauseParam(0,request.getParameter("row0_SerialNum"));
    The full code is:
    package mypackage2;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import oracle.jbo.html.BC4JContext;
    import oracle.jbo.ViewObject;
    import oracle.jbo.html.struts11.BC4JUtils;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public class LienCheckView1QueryAction extends Action
    public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
    BC4JContext context = BC4JContext.getContext(request);
    // Retrieve the view object instance to work with by name
    ViewObject vo = context.getApplicationModule().findViewObject("LienCheckView1");
    vo.setRangeSize(3);
    vo.setIterMode(ViewObject.ITER_MODE_LAST_PAGE_PARTIAL);
    // Do any additional VO setup here (e.g. setting bind parameter values)
    vo.setWhereClauseParam(0,request.getParameter("row0_SerialNum"));
    // default value for serialCollCd 1 is for Motor Vehicles
    vo.setWhereClauseParam(1,new oracle.jbo.domain.Number(1));
    // Default value for maxRows_allowed
    vo.setWhereClauseParam(2,new oracle.jbo.domain.Number(20));
    return BC4JUtils.getForwardFromContext(context, mapping);
    This doesn't always work properly though. The first time I press the query button, the SerialNum parameter is still null, however if I re-execute the query by pressing the query button again. It will work, and return the rows. I always have to query twice. Also the SerialNum attribute is set to a String in my view object, it is a varchar column in the database, but some serial number I enter give a "Error Message: oracle.jbo.domain.Number ". This happens even though the underlying BC4J is returning values for the query. I also get a "500 Internal Server Error java.lang.ClassCastException: java.lang.String on my View object's code at line 65 which is
    if (params.length>1) serialCollCdIn = (BigDecimal)params[1];
    This is an input paramter to the oracle stored procedure that defaults to a Number value of 1.
    Any idea what the problem is? Here is the full code for my view object:
    package mypackage1;
    import java.math.BigDecimal;
    import java.sql.CallableStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Timestamp;
    import java.sql.Types;
    import oracle.jbo.JboException;
    import oracle.jbo.domain.Number;
    import oracle.jbo.server.DBTransaction;
    import oracle.jbo.server.ViewObjectImpl;
    import oracle.jbo.server.ViewRowImpl;
    import oracle.jbo.server.ViewRowSetImpl;
    import oracle.jdbc.driver.OracleCallableStatement;
    import oracle.jdbc.driver.OracleTypes;
    // --- File generated by Oracle Business Components for Java.
    public class LienCheckViewImpl extends ViewObjectImpl
    * This is the PLSQL block that we will execute to retrieve the REF CURSOR
    private static final String SQL =
    "begin pprs_test_wrappers.sn_srch_main_test(?, ?, ?, ?, ?, ?);end;";
    private BigDecimal totalRows = null;
    private String messageCd = null;
    private BigDecimal serialColCd = null;
    private BigDecimal maxRows = null;
    public LienCheckViewImpl() {}
    * Overridden framework method.
    * Executed when the framework needs to issue the database query for
    * the query collection based on this view object. One view object
    * can produce many related result sets, each potentially the result
    * of different bind variable values. If the rowset in query is involved
    * in a framework-coordinated master/detail viewlink, then the params array
    * will contain one or more framework-supplied bind parameters. If there
    * are any user-supplied bind parameter values, they will *PRECEED* the
    * framework-supplied bind variable values in the params array, and the
    * number of user parameters will be indicated by the value of the
    * numUserParams argument.
    protected void executeQueryForCollection(Object qc,Object[] params,int numUserParams) {
    * If there are where-clause params (for example due to a view link)
    * they will be in the 'params' array.
    * We assume that if some parameter is present, that it is a Deptno
    * value to pass as an argument to the stored procedure.
    * NOTE: Due to Bug#2828248 I have to cast to BigDecimal for now,
    * ---- but this parameter value should be oracle.jbo.domain.Number type.
    String serialNumIn = null;
    BigDecimal serialCollCdIn = null;
    BigDecimal maxRowsAllowed = null;
    BigDecimal totalRowsSelected = null;
    String messageCdOut = null;
    if (params != null) {
    if (params.length>0) serialNumIn = (String)params[0];
    if (params.length>1) serialCollCdIn = (BigDecimal)params[1];
    if (params.length>2) maxRowsAllowed = (BigDecimal)params[2];
    storeNewResultSet(qc,retrieveRefCursor(qc,serialNumIn,
    serialCollCdIn,
    maxRowsAllowed));
    super.executeQueryForCollection(qc, params, numUserParams);
    * Overridden framework method.
    * Wipe out all traces of a built-in query for this VO
    protected void create() {
    getViewDef().setQuery(null);
    getViewDef().setSelectClause(null);
    setQuery(null);
    * Overridden framework method.
    * The role of this method is to "fetch", populate, and return a single row
    * from the datasource by calling createNewRowForCollection() and populating
    * its attributes using populateAttributeForRow().
    protected ViewRowImpl createRowFromResultSet(Object qc, ResultSet rs) {
    * We ignore the JDBC ResultSet passed by the framework (null anyway) and
    * use the resultset that we've stored in the query-collection-private
    * user data storage
    rs = getResultSet(qc);
    * Create a new row to populate
    ViewRowImpl r = createNewRowForCollection(qc);
    try {
    * Populate new row by attribute slot number for current row in Result Set
    //AddedByRegisNum
    populateAttributeForRow(r,0, nullOrNewNumber(rs.getBigDecimal(1)));
    System.out.println("AddedByRegisNum :" + rs.getBigDecimal(1));
    // OrigRegisNum
    populateAttributeForRow(r,1, nullOrNewNumber(rs.getBigDecimal(2)));
    System.out.println("OrigRegisNum :" + rs.getBigDecimal(2));
    // SerialNum
    populateAttributeForRow(r,2, rs.getString(3));
    System.out.println("SerialNum :" + rs.getString(3));
    // SerialNumDesc
    populateAttributeForRow(r,3, rs.getString(4));
    System.out.println("SerialNumDesc :" + rs.getString(4));
    // FlagExactMatch
    populateAttributeForRow(r,4, rs.getString(5));
    System.out.println("FlagExactMatch :" + rs.getString(5));
    // MessageCd
    populateAttributeForRow(r,5, messageCd);
    // TotalRows
    populateAttributeForRow(r,6, totalRows);
    catch (SQLException s) {
    throw new JboException(s);
    return r;
    * Overridden framework method.
    * Return true if the datasource has at least one more record to fetch.
    protected boolean hasNextForCollection(Object qc) {
    ResultSet rs = getResultSet(qc);
    boolean nextOne = false;
    try {
    nextOne = rs.next();
    * When were at the end of the result set, mark the query collection
    * as "FetchComplete".
    if (!nextOne) {
    setFetchCompleteForCollection(qc, true);
    * Close the result set, we're done with it
    rs.close();
    catch (SQLException s) {
    throw new JboException(s);
    return nextOne;
    * Overridden framework method.
    * The framework gives us a chance to clean up any resources related
    * to the datasource when a query collection is done being used.
    protected void releaseUserDataForCollection(Object qc, Object rs) {
    * Ignore the ResultSet passed in since we've created our own.
    * Fetch the ResultSet from the User-Data context instead
    ResultSet userDataRS = getResultSet(qc);
    if (userDataRS != null) {
    try {
    userDataRS.close();
    catch (SQLException s) {
    /* Ignore */
    super.releaseUserDataForCollection(qc, rs);
    * Overridden framework method
    * Return the number of rows that would be returned by executing
    * the query implied by the datasource. This gives the developer a
    * chance to perform a fast count of the rows that would be retrieved
    * if all rows were fetched from the database. In the default implementation
    * the framework will perform a SELECT COUNT(*) FROM (...) wrapper query
    * to let the database return the count. This count might only be an estimate
    * depending on how resource-intensive it would be to actually count the rows.
    public long getQueryHitCount(ViewRowSetImpl viewRowSet) {
    Object[] params = viewRowSet.getParameters(true);
    String serialNumIn = (String)params[0];
    BigDecimal serialCollCdIn = (BigDecimal)params[1];
    BigDecimal maxRowsAllowed = (BigDecimal)params[2];
    CallableStatement st = null;
    try {
    st = getDBTransaction().createCallableStatement(SQL,DBTransaction.DEFAULT);
    * Register the fourth bind parameter as our return value of type NUMERIC
    st.registerOutParameter(4,Types.NUMERIC);
    * Set the value of the 3 bind variables to pass as arguments
    if (serialNumIn == null) st.setNull(1, Types.CHAR);
    else st.setString(1,serialNumIn);
    if (serialCollCdIn == null) st.setNull(2,Types.NUMERIC);
    else st.setBigDecimal(2,serialCollCdIn);
    if (maxRowsAllowed == null) st.setNull(3, Types.NUMERIC);
    else st.setBigDecimal(3, maxRowsAllowed);
    st.execute();
    System.out.println("returning value of :" + st.getLong(4));
    return st.getLong(4);
    catch (SQLException s) {
    throw new JboException(s);
    finally {try {st.close();} catch (SQLException s) {}}
    * Return a JDBC ResultSet representing the REF CURSOR return
    * value from our stored package function.
    private ResultSet retrieveRefCursor(Object qc,
    String serialNum,
    BigDecimal serialColCd,
    BigDecimal maxRows) {
    CallableStatement st = null;
    try {
    st = getDBTransaction().createCallableStatement(SQL,DBTransaction.DEFAULT);
    * Set the value of the bind variables
    System.out.println("SerialNumIn :" + serialNum);
    if (serialNum == null) st.setNull(1,Types.CHAR);
    else st.setString(1,serialNum);
    if (serialColCd == null) st.setNull(2,Types.NUMERIC);
    else st.setBigDecimal(2,serialColCd);
    if (maxRows == null) st.setNull(3,Types.NUMERIC);
    else st.setBigDecimal(3,maxRows);
    st.registerOutParameter(1, Types.CHAR); // serialNum
    st.registerOutParameter(2, Types.NUMERIC); // serialColCd
    st.registerOutParameter(3, Types.NUMERIC); // maxRows
    st.registerOutParameter(4, Types.NUMERIC); // totalRows
    st.registerOutParameter(5, Types.CHAR); // messageCd
    * Register the 6th bind parameter as our return value of type CURSOR
    st.registerOutParameter(6,OracleTypes.CURSOR);
    st.execute();
    ResultSet rs = ((OracleCallableStatement)st).getCursor(6);
    serialColCd = st.getBigDecimal(2);
    System.out.println("SerialColCd= " + serialColCd);
    maxRows = st.getBigDecimal(3);
    System.out.println("maxRows= " + maxRows);
    totalRows = st.getBigDecimal(4);
    System.out.println("totalRows= " + totalRows);
    messageCd = st.getString(5);
    System.out.println("messageCd= " + messageCd);
    * Make this result set use the fetch size from our View Object settings
    rs.setFetchSize(getFetchSize());
    return rs ;
    catch (SQLException s) {
    throw new JboException(s);
    finally {try {st.close();} catch (SQLException s) {}}
    * Store a new result set in the query-collection-private user-data context
    private void storeNewResultSet(Object qc, ResultSet rs) {
    ResultSet existingRs = getResultSet(qc);
    // If this query collection is getting reused, close out any previous rowset
    if (existingRs != null) {
    try {existingRs.close();} catch (SQLException s) {}
    setUserDataForCollection(qc,rs);
    hasNextForCollection(qc); // Prime the pump with the first row.
    * Retrieve the result set wrapper from the query-collection user-data
    private ResultSet getResultSet(Object qc) {
    return (ResultSet)getUserDataForCollection(qc);
    * Return either null or a new oracle.jbo.domain.Number
    private static oracle.jbo.domain.Number nullOrNewNumber(BigDecimal b) {
    try {
    return b != null ? new oracle.jbo.domain.Number(b) : null;
    catch (SQLException s) { }
    return null;
    Natalie

  • Address already in use for oc4j-instance: unable to run a form

    Hi,
    I've an error starting the oc4j-instance of forms.
    it says: address already in use JVM-bind.
    i changed the port number to 8888 (it was 8889) in the devsuit/config/default-web-site.xml.
    running for the first time a form JInitiator was installed, applictaion server installation succesfull, but i see only a grey screen (in stead of my form).
    i changed the prot number to 8889 again.
    how to solve?
    by the way, how to combine all oc4j instances into one?
    (I have one for forms, one for reports, one for mapviewer and one for BIPublisher)
    Leo

    Thank you so much for your help.
    It works when I remove the http://%%20" from address in Internet Explorer. But it doesn't work in preference-&gt;runtime. No matter what address I typed, FormBuilder added http://%%20" in front of the address automatically. I don't know what else I need to change to avoid this problem.
    Thank you.

  • Unable to Run on server..

    I am a tertiary student doing a project using Jdeveloper 11g. I just created a login.jspx and wants to run to see if my application works. Everytime i run the login.jspx, deployment fails.
    starting weblogic with Java version:
    java version "1.6.0_18"
    Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
    Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode)
    Starting WLS with line:
    C:\IPP\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\IPP\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=C:\IPP\WLSERV~1.3 -Dwls.home=C:\IPP\WLSERV~1.3\server -Dweblogic.home=C:\IPP\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\Users\L309C10\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1 -Dcommon.components.home=C:\IPP\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\IPP\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Users\L309C10\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Users\L309C10\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\Users\L309C10\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\Users\L309C10\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Users\L309C10\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=C:\IPP\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\IPP\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\L309C10\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\IPP\patch_wls1033\profiles\default\sysext_manifest_classpath;C:\IPP\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
    <May 14, 2010 12:53:13 PM SGT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 16.0-b13 from Sun Microsystems Inc.>
    <May 14, 2010 12:53:14 PM SGT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >
    <May 14, 2010 12:53:14 PM SGT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <May 14, 2010 12:53:14 PM SGT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <May 14, 2010 12:53:14 PM SGT> <Notice> <LoggingService> <BEA-320400> <The log file C:\Users\L309C10\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <May 14, 2010 12:53:14 PM SGT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Users\L309C10\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00005. Log messages will continue to be logged in C:\Users\L309C10\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
    <May 14, 2010 12:53:14 PM SGT> <Notice> <Log Management> <BEA-170019> <The server log file C:\Users\L309C10\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <May 14, 2010 12:53:17 PM SGT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <May 14, 2010 12:53:19 PM SGT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <May 14, 2010 12:53:20 PM SGT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <May 14, 2010 12:53:22 PM SGT> <Notice> <LoggingService> <BEA-320400> <The log file C:\Users\L309C10\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <May 14, 2010 12:53:22 PM SGT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Users\L309C10\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log00004. Log messages will continue to be logged in C:\Users\L309C10\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log.>
    <May 14, 2010 12:53:22 PM SGT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <May 14, 2010 12:53:23 PM SGT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <May 14, 2010 12:53:23 PM SGT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <May 14, 2010 12:53:23 PM SGT> <Warning> <Server> <BEA-002611> <Hostname "L309C10-PC", maps to multiple IP addresses: 172.20.129.101, fe80:0:0:0:483f:5b54:ec5a:835d%11, fe80:0:0:0:2c91:3ad3:53eb:7e9a%13, 2001:0:4137:9e76:2c91:3ad3:53eb:7e9a>
    <May 14, 2010 12:53:23 PM SGT> <Notice> <Server> <BEA-002613> <Channel "Default[6]" is now listening on 0:0:0:0:0:0:0:1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <May 14, 2010 12:53:23 PM SGT> <Notice> <Server> <BEA-002613> <Channel "Default[5]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <May 14, 2010 12:53:23 PM SGT> <Notice> <Server> <BEA-002613> <Channel "Default[4]" is now listening on fe80:0:0:0:483f:5b54:ec5a:835d:7101 for protocols iiop, t3, ldap, snmp, http.>
    <May 14, 2010 12:53:23 PM SGT> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 172.20.129.101:7101 for protocols iiop, t3, ldap, snmp, http.>
    <May 14, 2010 12:53:23 PM SGT> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on fe80:0:0:0:2c91:3ad3:53eb:7e9a:7101 for protocols iiop, t3, ldap, snmp, http.>
    <May 14, 2010 12:53:23 PM SGT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 2001:0:4137:9e76:2c91:3ad3:53eb:7e9a:7101 for protocols iiop, t3, ldap, snmp, http.>
    <May 14, 2010 12:53:23 PM SGT> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on fe80:0:0:0:0:5efe:ac14:8165:7101 for protocols iiop, t3, ldap, snmp, http.>
    <May 14, 2010 12:53:23 PM SGT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <May 14, 2010 12:53:23 PM SGT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <May 14, 2010 12:53:23 PM SGT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    IntegratedWebLogicServer startup time: 11454 ms.
    IntegratedWebLogicServer started.
    [Running application Ipp_Project on Server Instance IntegratedWebLogicServer...]
    [12:53:24 PM] ---- Deployment started. ----
    [12:53:24 PM] Target platform is (Weblogic 10.3).
    [12:53:24 PM] Retrieving existing application information
    [12:53:24 PM] Running dependency analysis...
    [12:53:24 PM] Deploying 2 profiles...
    [12:53:25 PM] Wrote Web Application Module to C:\Users\L309C10\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\Ipp_Project\Project1WebApp.war
    [12:53:25 PM] Wrote Enterprise Application Module to C:\Users\L309C10\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\Ipp_Project
    [12:53:25 PM] Deploying Application...
    <May 14, 2010 12:53:27 PM SGT> <Error> <HTTP> <BEA-101170> <The servlet Faces Servlet is referenced in servlet-mapping /faces/*, but not defined in web.xml.>
    <May 14, 2010 12:53:27 PM SGT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1273812805458' for task '0'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.management.DeploymentException: [HTTP:101170]The servlet Faces Servlet is referenced in servlet-mapping /faces/*, but not defined in web.xml.
         at weblogic.servlet.internal.WebAppServletContext.registerServletMapping(WebAppServletContext.java:1567)
         at weblogic.servlet.internal.WebAppServletContext.registerServlets(WebAppServletContext.java:1486)
         at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(WebAppServletContext.java:1255)
         at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1188)
         at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:453)
         Truncated. see log file for complete stacktrace
    >
    <May 14, 2010 12:53:27 PM SGT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'Ipp_Project [Version=V2.0]'.>
    <May 14, 2010 12:53:27 PM SGT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.management.DeploymentException: [HTTP:101170]The servlet Faces Servlet is referenced in servlet-mapping /faces/*, but not defined in web.xml.
         at weblogic.servlet.internal.WebAppServletContext.registerServletMapping(WebAppServletContext.java:1567)
         at weblogic.servlet.internal.WebAppServletContext.registerServlets(WebAppServletContext.java:1486)
         at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(WebAppServletContext.java:1255)
         at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1188)
         at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:453)
         Truncated. see log file for complete stacktrace
    >
    [12:53:27 PM] #### Deployment incomplete. ####
    [12:53:27 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application Ipp_Project due to error deploying to IntegratedWebLogicServer.
    [Application Ipp_Project stopped and undeployed from Server Instance IntegratedWebLogicServer]
    may I know how do i solve this issue?? Please and Thanks for your help...

    Can u please post your *"web.xml"* if your application is using JavaServerfaces Shared library then Please paste the WebLogic Specific Deployment descriptors as well.. ""

  • Unable to run sql server 2012 setup

    Hi All,
      I installed SharePoint 2013 on Application Server and Database(Sql Server 2012) on another server. But for reporting application I need to install some components of SQL on Application Server as well. When I try to run the installer it crashes and
    shows this below dialog box. 
    When I debug this I get the below error.
    I saw some suggestions saying it won't work with Remote Desktop so directly connected the monitor to the server and tried to install but nothing works again. Let me know if I am doing anything wrong.
    Thanks,

    Hi,
    Did you install the .net framework 4.0?
    Meanwhile, for the SQL issue, i think you may ask in SQL forums:
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/home?category=sqlserver
    Regards.
    Vivian Wang

  • Very Urgent Unable to Launch Application using Web Start using JDK 1.4.2

    Hi all
    I am very serious issue i have ejb client swing application that uses
    RMI to contact a session bean deployed in JBoss now i want the client app to be installed in the client machine using web start . Also i understand i require security permission to access network resources. so i have signed all the JAR files with same certificate created using self certificate avialiable in JDK by default also in the JNLP file in have included the following tag
    <security>
    <all-permissions/>
    </security>
    Now when I launch my application using Web start it gives an error that " Unsigned application is trying to access local resources"
    I unable to understand what could be the problem . Please help me with the steps to be followed where in client should be able to RMI call to the server
    Thanks in Advance
    Naveen

    You may have tried this already, but you might have to sign the jars via command line, outside any export process from your IDE.
    $ jarsigner {filename}.jar {key from keystore}
    I also had problems using webstart and RMI through an RCP
    Ben

  • ALBPM5.7: Using ALUI with struts application??

    I have a fully functional struts application that uses PAPI to interact with ALBPM5.7. Now I want to Expose all UI screens on the portal server. This need not be portlets, rather using ALUI framework/ EDK to wrap the UI JSPs and expose them in our portal
    Can I reuse my Struts Application with ALUI in some way.
    Thanks.
    Edited by [email protected] at 12/11/2007 9:49 PM

    Ravinder,
    Yes, of course you can bring your struts web application on ALUI portal as a portlet.In general, any web application running either on remote server or ALUI server can be brought up to the ALUI portal.
    If your Struts application is running on the remote server ,here is the steps to view this application on ALUI Portal :
    Login to your ALUI admin ( http://<hostname>:<portnumber >/portal/server.pt(like http://yh759.yashind.com:7001/portal/server.pt) with Administrator as userid(no password required by default)
    Create a Remote server in ALUI where you need to have the info of your Struts application server info
    Create a remote webservice for portlet
    Create a portlet out of that remote webservice
    Put this portlet on any page.
    Alo you can find the online help on ALUI admin conosle for doing all the above steps.
    Thanks
    Bishnu
    Regards
    Bishnu

  • I unable to run ejb with application client using oc4j j2ee container

    Hi,
    I have installe oracle9i (1.0.2.2) oc4j j2ee container.
    I unable to run the ejbs . please help me how to run ejbs with application client and which files are shall configure.
    See the client application is :
    public static void main (String []args)
    try {
    //Hashtable env = new Hashtable();
    //env.put("java.naming.provider.url", "ormi://localhost/Demo");
    //env.put("java.naming.factory.initial", "com.evermind.server.ApplicationClientInitialContextFactory");
    //env.put(Context.SECURITY_PRINCIPAL, "guest");
    //env.put(Context.SECURITY_CREDENTIALS, "welcome");
    //Context ic = new InitialContext (env);
    System.out.println("\nBegin statelesssession DemoClient.\n");
    Context context = new InitialContext();
    Object homeObject = context.lookup("java:comp/env/DemoApplication");
    DemoHome home= (DemoHome)PortableRemoteObject.narrow(homeObject, DemoHome.class);
    System.out.println("Creating Demo\n");
    Demo demo = home.create();
    System.out.println("The result of demoSelect() is.. " +demo.sayHello());
    }catch ( Exception e )
    System.out.println("::::::Error:::::: ");
    e.printStackTrace();
    System.out.println("End DemoClient....\n");
    When I am running client application I got this type of Exception
    java.lang.SecurityException : No such domain/application: sampledemo
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java : 2040)
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java : 1884)
    at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java : 1491)
    at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java : 323)
    at com.evermind.server.rmi.RMIContext.lookup(RMIConext.java : 106)
    at com.evermind.server.administration.LazyResourceFinder.lookup(LazyResourceFinder.java : 59)
    at com.evermind.server.administration.LazyResourceFinder.getEJBHome(LazyResourceFinder.java : 26)
    at com.evermind.server.Application.createContext(Application.java: 653)
    at com.evermind.server.ApplicationClientInitialContext.getInitialContext(ApplicationClientInitialContextFactory.java :179 )
    at javax.naming.spi.NamingManager.getInitialContext(NamingManger.java : 246)
    at javax.naming.InitialContext.getDefaultInitialCtx(InitialContext.java : 246)
    at javax.naming.InitialContext.init(InitialContext.java : 222)
    at javax.naming.InitialContext.<init>(InitialContext.java : 178)
    at DemoClient.main(DemoClient.java : 23)
    .ear file is copied into applications directory.
    I have configured server.xml file like this
    <application name="sampledemo" path="../applications/demos.ear" />
    demos.ear file Contains following files
    application.xml
    demobean.jar
    Manifest.mf
    demobean.jar file contains following files
    application-client.xml
    Demo.class
    DemoBean.class
    DemoHome.class
    ejb-jar.xml
    jndi.properties
    Mainifest.mf
    Please give me your valuable suggestions. Which are shall i configure .
    Thanks & Regards,
    Badri

    Hi Badri,
    ApplicationClientInitialContextFactory is for clients which got deployed inside OC4J container..
    For looking up EJB from a stand alone java client please use RMIInitialContextFactory..So please change ur code....
    Also please check ur server.xml
    Since you have specified your ejb domain as "sampledemo"
    you have to use that domian only for look up..But it seems that you are looking up for "Demo" domain instead of "sampledemo" domain...So change your code to reflect that..
    Code snippet for the same is :
    Hashtable env = new Hashtable();
    env.put("java.naming.provider.url", "ormi://localhost/sampledemo");
    env.put("java.naming.factory.initial", "om.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "guest");
    env.put(Context.SECURITY_CREDENTIALS, "welcome");
    Context ic = new InitialContext (env);
    Hope this helps
    --Venky                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Unable to create a new Central Administration web application using New-SPCentralAdministration

    for some reason the Central administration web application is no more accessible, and i will get the following error when i try accessing it, this problem happened after i delete a web application using the central administration UI:-
    so i open the IIS , and i find that the CA web application exists and also its physical path as follow:-
    so i am not sure why i can not access the CA web application any more. i try running the following command to create a new CA web application :-
    New-SPCentralAdministration -Port 31546 -WindowsAuthPr
    ovider "NTLM"
    but this did not solve the problem. can anyone advice how i can have my CA web application running again?

    now i removed the CA web application from IIS , and then i run the configuration wizard, whch have create a new CA. but when i try accessing it i got the same problem , here is the related logs :-
    7/2014 16:01:47.62 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:http://tgvstg01:31546/default.aspx)). Parent No
    11/27/2014 16:01:47.62 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://tgvstg01:31546/default.aspx) 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=, ClaimsCount=0 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Files ak8dj High UserAgent not available, file operations may not be optimized. at Microsoft.SharePoint.SPFileStreamManager.CreateCobaltStreamContainer(SPFileStreamStore spfs, ILockBytes ilb, Boolean copyOnFirstWrite, Boolean disposeIlb) at Microsoft.SharePoint.SPFileStreamManager.SetInputLockBytes(SPFileInfo& fileInfo, SqlSession session, PrefetchResult prefetchResult) at Microsoft.SharePoint.CoordinatedStreamBuffer.SPCoordinatedStreamBufferFactory.CreateFromDocumentRowset(Guid databaseId, SqlSession session, SPFileStreamManager spfstm, Object[] metadataRow, SPRowset contentRowset, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres) at Microsoft.SharePoint.SPSqlClient.GetDocumentContentRow(Int32 rowOrd, Object ospFileStmMgr, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Files ak8dj High ...) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, ... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Files ak8dj High ...Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbst... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Files ak8dj High ...rRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId) at Microsoft.SharePoint.Library.SPRequest.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion,... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Files ak8dj High ... String& pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId) at Microsoft.SharePoint.SPWeb.GetWebPartPageContent(Uri pageUrl, Int32 pageVersion, PageView requestedView, HttpContext context, Boolean forRender, Boolean includeHidden, Boolean mainFileRequest, Boolean fetchDependencyInformation, Boolean& ghostedPage, String& siteRoot, Guid& siteId, Int64& bytes, ... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Files ak8dj High ...Guid& docId, UInt32& docVersion, String& timeLastModified, Byte& level, Object& buildDependencySetData, UInt32& dependencyCount, Object& buildDependencies, SPWebPartCollectionInitialState& initialState, Object& oMultipleMeetingDoclibRootFolders, String& redirectUrl, Boolean& ObjectIsList, Guid& listId) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.FetchWebPartPageInformationForInit(HttpContext context, SPWeb spweb, Boolean mainFileRequest, String path, Boolean impersonate, Boolean& isAppWeb, Boolean& fGhostedPage, Guid& docId, UInt32& docVersion, String& timeLastModified, SPFileLevel& spLevel, String& masterPageUrl, String& customMasterPageUrl, String& webUrl, String& siteUrl, Guid& siteId, Object& buildDependencySetData, SPWebPartCollectionInitialState& initialState, ... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Files ak8dj High ...String& siteRoot, String& redirectUrl, Object& oMultipleMeetingDoclibRootFolders, Boolean& objectIsList, Guid& listId, Int64& bytes) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.GetFileForRequest(HttpContext context, SPWeb web, Boolean exclusion, String virtualPath) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.InitContextWeb(HttpContext context, SPWeb web) at Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.GetContextWeb(HttpContext context) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PostResolveRequestCacheHandler(Object oSender, EventArgs ea) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IEx... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Files ak8dj High ...ecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompl... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Files ak8dj High ...etion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Files aiv4w Medium Spent 0 ms to bind 5230 byte file stream 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.62 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=5.95222297806006 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation General 8nca Medium Application error when access /default.aspx, Error=Could not load file or assembly 'KWizCom.SharePoint.Foundation, Version=13.3.0.0, Culture=neutral, PublicKeyToken=30fb4ddbec95ff8f' or one of its dependencies. The system cannot find the file specified. at KWizCom.SharePoint.ClipboardManager.CONTROLTEMPLATES.ClipboardManager.RegisterClipboard.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeS... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.63* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation General 8nca Medium ...tagesAfterAsyncPoint) 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Runtime tkau Unexpected System.IO.FileNotFoundException: Could not load file or assembly 'KWizCom.SharePoint.Foundation, Version=13.3.0.0, Culture=neutral, PublicKeyToken=30fb4ddbec95ff8f' or one of its dependencies. The system cannot find the file specified. at KWizCom.SharePoint.ClipboardManager.CONTROLTEMPLATES.ClipboardManager.RegisterClipboard.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPo... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.63* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Runtime tkau Unexpected ...int) 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation General ajlz0 High Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.IO.FileNotFoundException: Could not load file or assembly 'KWizCom.SharePoint.Foundation, Version=13.3.0.0, Culture=neutral, PublicKeyToken=30fb4ddbec95ff8f' or one of its dependencies. The system cannot find the file specified. File name: 'KWizCom.SharePoint.Foundation, Version=13.3.0.0, Culture=neutral, PublicKeyToken=30fb4ddbec95ff8f' at KWizCom.SharePoint.ClipboardManager.CONTROLTEMPLATES.ClipboardManager.RegisterClipboard.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.63* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation General ajlz0 High ...LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.We... 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.63* w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation General ajlz0 High ...b.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation General aat87 Monitorable 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Micro Trace uls4 Medium Micro Trace Tags: 0 adyrv,0 nasq,0 agb9s,4 ak8dj,1 b4ly,8 8nca,0 tkau,0 ajlz0,0 aat87 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x0F20 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://tgvstg01:31546/default.aspx)). Execution Time=19.067157976782 9842d09c-5c06-d003-e007-3ec8b83ab2e5
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x1680 SharePoint Foundation General adyrv High Cannot find site lookup info for request Uri http://localhost:31546/_layouts/15/1033/styles/corev15.css?rev=OqAycmyMLoQIDkAlzHdMhQ==.
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x1060 SharePoint Foundation General adyrv High Cannot find site lookup info for request Uri http://localhost:31546/_layouts/15/1033/styles/Themable/corev15.css?rev=OqAycmyMLoQIDkAlzHdMhQ==.
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x1680 SharePoint Foundation Configuration 8059 Warning Alternate access mappings have not been configured. Users or services are accessing the site http://tgvstg01:31546 with the URL http://localhost:31546. This may cause incorrect links to be stored or returned to users. If this is expected, add the URL http://localhost:31546 as an AAM response URL. For more information, see: http://go.microsoft.com/fwlink/?LinkId=114854"/>
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x1060 SharePoint Foundation Configuration 8059 Warning Alternate access mappings have not been configured. Users or services are accessing the site http://tgvstg01:31546 with the URL http://localhost:31546. This may cause incorrect links to be stored or returned to users. If this is expected, add the URL http://localhost:31546 as an AAM response URL. For more information, see: http://go.microsoft.com/fwlink/?LinkId=114854"/>
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x1680 SharePoint Foundation Micro Trace uls4 Medium Micro Trace Tags: 0 adyrv
    11/27/2014 16:01:47.63 w3wp.exe (0x0AEC) 0x1060 SharePoint Foundation Micro Trace uls4 Medium Micro Trace Tags: 0 adyrv
    11/27/2014 16:01:47.65 w3wp.exe (0x0AEC) 0x1AC0 SharePoint Foundation General adyrv High Cannot find site lookup info for request Uri http://localhost:31546/ScriptResource.axd?d=UuopqMVjxlPyCKB-J3eW7oCZ8X3UkGAybJ_dvoik03YDEq7Zegjt4Rg9aDbicjrfcVKKD4V1RBuG2GzH3AdohtmnM3vg050NGuKmIlPPvv57bGV_m6dHaMqVZD5429U5RSpuui-0diKTzu3l7OHl8wpwz1Bgdsby6l2gbBCMRaMDBhl1a1Xp6nG7Nb3NlGfW0&t=7e632e9f.
    11/27/2014 16:01:47.65 w3wp.exe (0x0AEC) 0x1AC0 SharePoint Foundation Configuration 8059 Warning Alternate access mappings have not been configured. Users or services are accessing the site http://tgvstg01:31546 with the URL http://localhost:31546. This may cause incorrect links to be stored or returned to users. If this is expected, add the URL http://localhost:31546 as an AAM response URL. For more information, see: http://go.microsoft.com/fwlink/?LinkId=114854"/>
    11/27/2014 16:01:47.65 w3wp.exe (0x0AEC) 0x1AC0 SharePoint Foundation Micro Trace uls4 Medium Micro Trace Tags: 0 adyrv
    11/27/2014 16:01:47.65 w3wp.exe (0x0AEC) 0x1B9C SharePoint Foundation General adyrv High Cannot find site lookup info for request Uri http://localhost:31546/_layouts/15/1033/styles/error.css?rev=nc1850SZNy60qTAeQIRxsA==.
    11/27/2014 16:01:47.65 w3wp.exe (0x0AEC) 0x1B9C SharePoint Foundation Configuration 8059 Warning Alternate access mappings have not been configured. Users or services are accessing the site http://tgvstg01:31546 with the URL http://localhost:31546. This may cause incorrect links to be stored or returned to users. If this is expected, add the URL http://localhost:31546 as an AAM response URL. For more information, see: http://go.microsoft.com/fwlink/?LinkId=114854"/>
    11/27/2014 16:01:47.65 w3wp.exe (0x0AEC) 0x1B9C SharePoint Foundation Micro Trace uls4 Medium Micro Trace Tags: 0 adyrv
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x1B9C SharePoint Foundation Runtime afu6a High [Forced due to logging gap, cached @ 11/27/2014 16:01:47.65, Original Level: VerboseEx] No SPAggregateResourceTally associated with thread.
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x1B9C SharePoint Foundation Runtime afu6b High [Forced due to logging gap, Original Level: VerboseEx] No SPAggregateResourceTally associated with thread.
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x1B9C SharePoint Foundation General adyrv High Cannot find site lookup info for request Uri http://localhost:31546/_layouts/15/init.js?rev=rQHvYUfURJXLBpgKnm0dcA==.
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x1B9C SharePoint Foundation Configuration 8059 Warning Alternate access mappings have not been configured. Users or services are accessing the site http://tgvstg01:31546 with the URL http://localhost:31546. This may cause incorrect links to be stored or returned to users. If this is expected, add the URL http://localhost:31546 as an AAM response URL. For more information, see: http://go.microsoft.com/fwlink/?LinkId=114854"/>
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x1B9C SharePoint Foundation Micro Trace uls4 Medium Micro Trace Tags: 0 adyrv
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x0E8C SharePoint Foundation Runtime afu6a High [Forced due to logging gap, cached @ 11/27/2014 16:01:47.65, Original Level: VerboseEx] No SPAggregateResourceTally associated with thread.
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x0E8C SharePoint Foundation Runtime afu6b High [Forced due to logging gap, Original Level: VerboseEx] No SPAggregateResourceTally associated with thread.
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x0E8C SharePoint Foundation General adyrv High Cannot find site lookup info for request Uri http://localhost:31546/ScriptResource.axd?d=7IyzISHOgOSyHIlvXy8QdZcgEzGJDQqGKmJaoQjTOiaBz5VlSWcOLKEUSzu8OULMTnnhbaq_-M0WsBRbRbI4C0hGFySGSjYp5rz_grh3qRY5BTEa8vorG92WxotZwh5JXXg6gAscDxPMYJjtv2xudJ85xIui8hahYynsNIyBIm-8hwWUmX9p1xnMGTP_dupT0&t=7e632e9f.
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x0E8C SharePoint Foundation Configuration 8059 Warning Alternate access mappings have not been configured. Users or services are accessing the site http://tgvstg01:31546 with the URL http://localhost:31546. This may cause incorrect links to be stored or returned to users. If this is expected, add the URL http://localhost:31546 as an AAM response URL. For more information, see: http://go.microsoft.com/fwlink/?LinkId=114854"/>
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x0D68 SharePoint Foundation Runtime afu6a High [Forced due to logging gap, cached @ 11/27/2014 16:01:47.65, Original Level: VerboseEx] No SPAggregateResourceTally associated with thread.
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x0D68 SharePoint Foundation Runtime afu6b High [Forced due to logging gap, Original Level: VerboseEx] No SPAggregateResourceTally associated with thread.
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x0D68 SharePoint Foundation General adyrv High Cannot find site lookup info for request Uri http://localhost:31546/_layouts/15/blank.js?rev=ZaOXZEobVwykPO9g8hq/8A==.
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x0D68 SharePoint Foundation Configuration 8059 Warning Alternate access mappings have not been configured. Users or services are accessing the site http://tgvstg01:31546 with the URL http://localhost:31546. This may cause incorrect links to be stored or returned to users. If this is expected, add the URL http://localhost:31546 as an AAM response URL. For more information, see: http://go.microsoft.com/fwlink/?LinkId=114854"/>
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x0E8C SharePoint Foundation Micro Trace uls4 Medium Micro Trace Tags: 0 adyrv
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x1CF4 SharePoint Foundation Runtime afu6a High [Forced due to logging gap, cached @ 11/27/2014 16:01:47.65, Original Level: VerboseEx] No SPAggregateResourceTally associated with thread.
    11/27/2014 16:01:47.71 w3wp.exe (0x0AEC) 0x1CF4 SharePoint Foundation Runtime afu6b High [Forced due to logging gap, Origin
    can anyone advice on this please , i have spend two days over this without being able to know what is the problem ?

  • Unable to record Flex based Windows application using LR Vugen 12

    Hi,  I am facing issue with LR Vugen 12.0.2 version. when I try to record one  windows based application using flex protocol it does not get launched instead it is shown in  : Task manager process list. I can launch the same application manually and also I have admin privilege for the LR. The application I used to record with 11.52 sometime but with LR 12 I am not. Using : Prorocol: FlexRecording mode: WinInet  Thanks

    Hi
    Every thing was working fine till today and i just found out that the network guys has updated the Windows security and also the Service Pack on the Server and i think this is causing the whole issue.now my Question is that if i uninstall all the security updates and the SP2 will the issue be solved.
    also i need one confirmation that the Windows OS we need SP1 instead of SP2 please re-confirm this.
    Thanks
    Aleem

  • Unable to run struts project from jdeveloper 10.1.3

    Hi,
    I have created a struts-based application project using jdeveloper 10.1.3(build JDEVADF_10.1.3.1.0_NT..) by importing an ear file .The project seems to be built fine as i get no errors in compiling the entire project.I have included the Struts runtime library as well in the project.
    But when i try to run the login.jsp from the struts-config.xml,i get the :
    The page cannot be displayed message in the browser.
    I dont see any errors in the Embedded OC4J log except few warnings lik dis:
    [Another instance of the server is still running.  JDeveloper will shut it down and then restart the server.]
    Process exited.
    [Starting OC4J using the following ports: HTTP=8898, RMI=23899, JMS=9235.]
    D:\jdevr12\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\config>
    D:\jdevr12\jdevbin\jdk\bin\javaw.exe -client -classpath D:\jdevr12\jdevbin\j2ee\home\oc4j.jar;D:\jdevr12\jdevbin\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config D:\jdevr12\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    25-Jul-2007 18:46:28 com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    25-Jul-2007 18:46:28 com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    WARNING: Code-source D:\jdevr12\jdevbin\jdev\appslibrt\xml.jar (from <library> in /D:/jdevr12/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml) has the same filename but is not identical to /D:/jdevr12/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\jdevr12\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source D:\jdevr12\jdevbin\jdev\appslibrt\jazn.jar (from <library> in /D:/jdevr12/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml) has the same filename but is not identical to /D:/jdevr12/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in D:\jdevr12\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source D:\jdevr12\jdevbin\jdev\appslibrt\jazncore.jar (from manifest of /D:/jdevr12/jdevbin/jdev/appslibrt/jazn.jar) has the same filename but is not identical to /D:/jdevr12/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in D:\jdevr12\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source D:\jdevr12\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib\uix2.jar (from WEB-INF/lib/ directory in D:\jdevr12\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib) has the same filename but is not identical to /D:/jdevr12/jdevbin/jdev/appslibrt/uix2.jar (from <library> in /D:/jdevr12/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader datatags.web.webapp:0.0.0.
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 26766 ms.
    pls help me out on what could be the problem.This application wsa running fine in Eclipse but i am unable to run it using Jdeveloper.

    Is this new develop page ?
    you check these points for this issue.
    1. Check JDEV_USER_HOME
    2. Design a Test PG and test it first.
    3. Your OAF patch level: is 12.0.4 ? Are you running with r12?
    Thanks

  • Menu Bar for Struts application

    Hi All,
    We are developing the Struts based Web Application using Hibernate and for this we need the Menu Bar for all the pages in the application.But we are unable to write the code for the menu bar using java classes.
    If possible please send the code for the issue.
    Thanking you.
    Ram

    tsith wrote:
    georgemc wrote:
    ramachandrarao_bandaru009 wrote:
    We are developing the Struts based Web Application using Hibernate and for this we need the Menu Bar for all the pages in the application.But we are unable to write the code for the menu bar using java classes.Then you probably shouldn't have applied for a job that required Struts experience
    Right, I'm off to post in some Neurosurgery forum, see how far I can blag my way in that profession:
    >
    I am attempting to remove a cerebral tumour but I don't know one end of a gamma knife from the other. If anyone knows how to do this please detail the exact steps in laymans terms below
    >1) open up head
    2) locate tumor (note correct spelling ;-)
    3) remove tumor - be careful not to remove good stuff
    4) close head
    5) ???
    6) profitYou spelt tumour wrong :p

  • Integrating an existing struts application

    Sorry if this has been discussed before but I tried searching the newsgroup with
    no success. tia.
    I am trying to integrate the struts application found in the struts-example.war
    file that I extracted from the jakarta-struts-1.1.zip file from jakarta.apache.org.
    (I have successfully deployed and tested this war file to the weblogic server
    so I know the application works.)
    I unzip the war file into a temp directory and follow the instructions found in
    "e-docs.bea.com/workshop/docs81/doc/en/portal/buildportals/appIntegratingStruts.html"
    After creating a struts portlet using the wizard and putting the portlet into
    my test portal, when I try to run the portal using debug in Workshop, I get:
    <Error> <netuix> <BEA-420599> <Unable to perform action [example/begin] for Struts
    module [example]. Please ensure that both module and action are correct.>
    <Error> <netuix> <BEA-420037> <There was an error loading the requested URI /example/mainMenu.jsp.>
    <Error> <netuix> <BEA-423012> <There was an error while running a lifecycle stage
    Lifecycle: UIControl.render :: for the control :: null ::.com.bea.netuix.nf.UIControlException:
    No ActionResult returned for action [example/begin] in Struts module [example].
    Please ensure that both module and action are correct in portlet StrutsContent
    element.
    at com.bea.netuix.servlets.controls.content.StrutsContent.preRender(StrutsContent.java:399)
    at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:388)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:619)
    I've tried changing the struts action and content uri with no success. I've tried
    changing the
    struts-auto-config-<module name>.xml file with even less success.
    Help would be greatly appreciated. tia.

    Have anyone got the answer from BEA ...
    I am also having the same problem.
    Pl. post if you have any answers.
    Thanks
    Kicha
    "Julien De Santis-Caron" <[email protected]> wrote:
    >
    Hi,
    I have the same problem and I can't find any way for correcting this.
    Please, help-us with this issue because integration of existing Struts
    applications
    into a portlet is a critical issue for choosing a Portal solution.
    thanks
    Julien De Santis-Caron
    "Dean Saiki" <[email protected]> wrote:
    Sorry if this has been discussed before but I tried searching the newsgroup
    with
    no success. tia.
    I am trying to integrate the struts application found in the struts-example.war
    file that I extracted from the jakarta-struts-1.1.zip file from jakarta.apache.org.
    (I have successfully deployed and tested this war file to the weblogic
    server
    so I know the application works.)
    I unzip the war file into a temp directory and follow the instructions
    found in
    "e-docs.bea.com/workshop/docs81/doc/en/portal/buildportals/appIntegratingStruts.html"
    After creating a struts portlet using the wizard and putting the portlet
    into
    my test portal, when I try to run the portal using debug in Workshop,
    I get:
    <Error> <netuix> <BEA-420599> <Unable to perform action [example/begin]
    for Struts
    module [example]. Please ensure that both module and action are correct.>
    <Error> <netuix> <BEA-420037> <There was an error loading the requested
    URI /example/mainMenu.jsp.>
    <Error> <netuix> <BEA-423012> <There was an error while running a lifecycle
    stage
    Lifecycle: UIControl.render :: for the control :: null ::.com.bea.netuix.nf.UIControlException:
    No ActionResult returned for action [example/begin] in Struts module
    [example].
    Please ensure that both module and action are correct in portlet StrutsContent
    element.
    at com.bea.netuix.servlets.controls.content.StrutsContent.preRender(StrutsContent.java:399)
    at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:388)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:619)
    I've tried changing the struts action and content uri with no success.
    I've tried
    changing the
    struts-auto-config-<module name>.xml file with even less success.
    Help would be greatly appreciated. tia.

Maybe you are looking for