!!!! Urgent Database Control Not working, Plz help !!!!!
Hi,
I have a webservice and in the same server(weblogic 9.2) a data source(cgAppSource) is configured. the database control is not instanciating properly, it is always remains null despite the calling of webservice. I am getting NullPointerException in the webservice. First time I am using annotation to execute a SQL query. It is urgent.can anyone please help me. what code change I have to do in both the files.
SampleDatabaseControl.java -
package control;
import java.sql.SQLException;
import org.apache.beehive.controls.api.bean.ControlBean;
import org.apache.beehive.controls.system.jdbc.JdbcControl;
@org.apache.beehive.controls.api.bean.ControlExtension
@JdbcControl.ConnectionDataSource(jndiName="java:comp/env/jdbc/cgAppSource")
public interface SampleDatabaseControl extends JdbcControl ,ControlBean{
static final long serialVersionUID = 1L;
@JdbcControl.SQL(statement="SELECT SYSDATE FROM DUAL")
public String returnSysDate() throws SQLException;
The webservice : ControlWebservice.java
package service;
import javax.jws.WebService;
import javax.jws.WebMethod;
import javax.jws.soap.SOAPBinding;
import weblogic.jws.WLHttpTransport;
import org.apache.beehive.controls.api.bean.Control;
import control.SampleDatabaseControl;
@WebService(name="ControlWebservicePortType", serviceName="ControlWebservice",
targetNamespace="localhost")
@SOAPBinding(style=SOAPBinding.Style.DOCUMENT,
use=SOAPBinding.Use.LITERAL,
parameterStyle=SOAPBinding.ParameterStyle.WRAPPED)
@WLHttpTransport(contextPath="ControlWebserviceProj", serviceUri="ControlWebservice",
portName="ControlWebservicePort")
public class ControlWebservice {
@Control
private SampleDatabaseControl SampleDatabaseControl;
@WebMethod()
public String returnDate()
String returnValue = null;
try{
returnValue = "This message sent date :" + SampleDatabaseControl.returnSysDate(); // getting null pointer Exception here.
catch(Exception e)
e.printStackTrace();
return returnValue;
}
Hi james,
In that link it says to 'Create a Beehive-enabled Server Domain' in which On the second page(named <strong>Select Domain Source</strong>), I need to place a check in the <strong>Apache Beehive</strong> checkbox . But in my machine when I follow the steps I dont find any such checkbox in the (named <strong>Select Domain Source</strong>) page. Is this the problem? I can see only two check boxes. The page looks like......
Generate a domain configured automatically to support the following product. // radio select
Weblogic Server (Required) //check box
Workshop for Weblogic Platform // check box
Base this domain on an existing domain. //radio select
Templatelocation .... // a browse option
Do I need to do some other configuration to make beehive check box active in the page? All the beehive jars are present in the instalation. And as far as I remember I did the full instalation of Weblogic 9.2 after downloading from the bea site. and I am giving the beehive related jar
<p>
beehive-controls.jar,beehive-jdbc-control.jar,weblogic-jdbc-control.jar in the lib folder wnder WEB-INF and deploying.
</p>
Similar Messages
-
IN Clause with Ampersand(Lexical Parameters) not working plz help
hi
I m writing the following query but it is not working. plz help how can i apply ampersend(lexical parameter) with IN clause.
select * from emp where to_number(empno) IN (&p_1);
thnxHi,
Try to change the query as
SELECT <field_list> FROM EMP &P_1and in the AFTER PARAMETER FORM trigger write the WHERE condition including the WHERE clause, Column_Name etc.
Hope this helps.
Regards,
Manu. -
My vibraton not work plz help me
my vibraton not work plz help me
Well you do one thing!
Download the latest version of iTunes and install it! Here's the link : http://www.apple.com/itunes/download/
After you download iTunes, you connect your iPhone to the computer and sync it once. After that right click on the iPhone under the devices in the sidebar on the left and hit backup. After it's done. Hit the restore button. It will download the latest version of iOS and it's gonna take a while to download it. After download is completed, it will start restoring your iPhone with the latest iOS, it will take few minutes, and you're done installing the latest iOS in your iPhone.
This should solve your problem anyhow -
hi i installed wrong iousbfamily on osx and now my login screen is frozen, keyboard and mouse not working plz help
How and why did you install that? What steps did you take in that process. I can then help with some steps to undo them.
-
Plz help my ipad mini is just bringing the apple logo again and again and it is not working plz help
plz help my ipad mini is just bringing the apple logo again and again and it is not working plz help
If the reset doesn't work, you have to force iPad into Recovery Mode
1. Turn off iPad
2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
3. Plug USB cable into computer's USB port
4. Hold Home button down and plug the other end of cable into docking port.
DO NOT RELEASE BUTTON until you see picture of iTunes and plug
5. Release Home button.
ON COMPUTER
6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
7. Select "Restore iPad"...
Note:
1. Data will be lost if you do not have backup
2. You must follow step 1 to step 4 VERY CLOSELY.
3. Repeat the process if necessary. -
My i phone4 camera not work plz help
my i phone4 camera not work plz help
Reset your phone by holding the power/lock button at the top and your home button at the bottom until you see the Apple logo on the screen.
Once phone is fully rebooted try again. -
My iphone's setting menu is not working.plz help me
When i enter into the setting tab all the menu is not working i cant eneter to any item there or even i cant scroll down.plz help me
Try hard resetting the phone.
Hold down the sleep/wake button and the home button at the same time until the apple appears and let the phone reset itself.
Let me know if you've already tried this or if it works. -
Premiere Pro CC Source and Program Playback Controls not working.. help please.
Hi,
Need your help to find out why none of the Premiere Pro CC Source and Program Playback Controls are working.. I can do playback using spacebar, but not clicking on the controls... same goes the rest.
Thank you,
MauroDear Mark,
Thank you for the hint/link, reseting the toolbar did the trick.
Regards,
Mauro -
Code for radio button is not working plz help
checkboxes are working fine but when i put radio code submit button does nothing
plz help
thanks in advance
<%@ page language="java" contentType ="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" import= "java.sql.*,java.io.*,com.anaghan.MyBeans.CmsConnection"%>
<jsp:useBean id="obj" scope="request" class="com.anaghan.MyBeans.DepartmentBean"/>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script language="javascript" >
function cmdOnSelect()
var deptcode=document.DepartmentPage.cmdSelect.value;
DepartmentPage.method="post";
DepartmentPage.action="./vsnlemployee_calldatasheetcallhistory.jsp?flag=select&cmdSelect="+deptcode;
DepartmentPage.submit();
function validate()
var user_etime = document.DepartmentPage.etime.value;
var etime_length = document.DepartmentPage.etime.value.length;
var user_edate = document.DepartmentPage.edate.value;
var edate_length = document.DepartmentPage.edate.value.length;
var user_calltype = document.DepartmentPage.calltype.value;
var calltype_length = document.DepartmentPage.calltype.value.length;
var user_callstatus = document.DepartmentPage.callstatus.value;
var callstatus_length = document.DepartmentPage.callstatus.value.length;
if( edate_length==0 )
alert("Please enter the call date");
return false;
else if( calltype_length==0 )
alert("Please enter the call type");
return false;
else if( callstatus_length==0 )
alert("Please enter the call status");
return false;
else if( etime_length==0 )
alert("Please enter the call timing");
return false;
else if(etime_length!=0 && etime_length!=4)
alert("Entered timing is invalid");
return false;
else if (etime_length!=0)
for (var i = 0; i < etime_length; i++)
valid_characters = new RegExp ("[0-9]", "g");
var part_user_etime = user_etime.charAt (i);
if (!valid_characters.test (part_user_etime))
alert("Special characters like '" + part_user_etime + "' are not allowed in timing" );
return false;
valid_characters = null;
return true;
else
return true;
function cmdOnClick()
if (validate())
DepartmentPage.method="post";
DepartmentPage.action="/anaghan/CallSheet?flag=call";
DepartmentPage.submit()
</script>
<script language="javascript" src="calendar1.js">
</script>
</head>
<body>
<%
String uname=(String)session.getAttribute("employeeName");
if(uname==null)
response.sendRedirect("/Error.jsp?login=Login Session Problem");
%>
<%
String date1="";
String date2="";
%>
<%!
ResultSet rs=null;
Connection con =null;
String conStr="sun.jdbc.odbc.JdbcOdbcDriver";
String tableStr="jdbc:odbc:Anaghan";
%>
<%
String companycode=request.getParameter("cmdSelect");
HttpSession hs = request.getSession();
hs.setAttribute("companycode",companycode);
System.out.println("CALLLLL="+companycode);
%>
<%
String flag="";
String deptcode="";
String commissioningdate="";
String closuredate="";
%>
<%
String a2="";String a1="";
%>
<form name="DepartmentPage" >
<TABLE cellSpacing=0 cellPadding=0 width="100%" border="0" >
<TR>
<TD align=CENTER>
<h2> CALL DATA SHEET </h2>
</TD>
</TR>
<TR>
<div>
<FONT face="Arial " color=#000000 size=2>
<TD valign="top">
<TABLE cellSpacing=15 cellPadding=0 width="100%" border="0">
<TD width="50%" vAlign="top" align=CENTER height=24 bgcolor=#F8F8F8 >
<tr>
<TD align=RIGHT>Select Company - </TD>
<td><SELECT name="cmdSelect" size="1" onChange="cmdOnSelect();">
<OPTION SELECTED></OPTION>
<%
deptcode=request.getParameter("cmdSelect");
response.setContentType("text/html");
ResultSet rs = obj.onSelect();
while(rs.next())
String tempName=rs.getString(2);
%>
<OPTION id= "a<%=tempName %>" value= "<%=tempName%>"> <%=tempName %></OPTION>
<%}%>
</SELECT></td>
</TR>
</TD>
</TABLE>
<TABLE cellSpacing=15 cellPadding=0 width="100%" border="0">
<TR>
<TD>
<table align="center" width="90%" cellspacing="2" cellpadding="2">
<tr>
<td align="center"><h2>Contact Person</h2></td>
</tr>
</table>
<table align="center" width="90%" border="1" cellspacing="2" cellpadding="2">
<tr><th>Name</th><th>Landline</th><th>Mobile</th><th>Fax</th><th>E-mail</th></tr>
<%!
ResultSet result=null;
%>
<%
response.setContentType("text/html");
try{
Connection con = DriverManager.getConnection("jdbc:odbc:Anaghan");
Statement stmt=con.createStatement();
result =stmt.executeQuery("select * from enquiry_details where companycode='"+deptcode+"' ");
while(result.next())
%>
<tr>
<OL><td align ="center"><%=result.getString(9) %></td>
<td align ="center"><%=result.getString(10) %></td>
<td align ="center"><%=result.getString(11) %></td>
<td align ="center"><%=result.getString(12) %></td>
<td align ="center"><%=result.getString(13) %></td></OL>
<tr>
<OL><td align ="center"><%=result.getString(14) %></td>
<td align ="center"><%=result.getString(15) %></td>
<td align ="center"><%=result.getString(16) %></td>
<td align ="center"><%=result.getString(17) %></td>
<td align ="center"><%=result.getString(18) %></td></OL>
<%}
catch(Exception e)
e.printStackTrace();
}%>
</tr></table>
</TD>
</TR>
<TR>
<TD>
<table align="center" width="90%" cellspacing="2" cellpadding="2">
<tr>
<td align="center"><h2>Call History</h2></td>
</tr>
</table>
<table align="center" width="90%" border="1" cellspacing="2" cellpadding="2">
<tr><th>Call Type</th><th>Call Status</th><th>Service Type</th><th>Feedback</th><th>Next Visit</th><th>Call Date</th></tr>
<%!
ResultSet result1=null;
%>
<%
response.setContentType("text/html");
try{
result1=obj.onSelectCallHistory(deptcode);
while(result1.next())
%>
<tr>
<OL><td align ="center"><%=result1.getString(3) %></td>
<td align ="center"><%=result1.getString(4) %></td>
<td align ="center"><%=result1.getString(6) %></td>
<td align ="center"><%=result1.getString(7) %></td>
<td align ="center"><%=result1.getString(9) %></td>
<td align ="center"><%=result1.getString(8) %></td>
</OL>
<%}}
catch(Exception e)
e.printStackTrace();
}%>
</tr></table>
</TD>
</TR>
<TABLE cellSpacing=15 cellPadding=0 width="100%" border="0">
<TD width="50%" vAlign="top" align=CENTER height=24 bgcolor=#F8F8F8 >
<TR>
<TD></TD>
</TR>
<TR></TR>
<TR>
<TD align=RIGHT>
Type of Call - </TD>
<td>
<input type = radio name=calltype value=personal/>personal
<input type = radio name=calltype value=email/>Email</td>
<!-- <TD><SELECT name="calltype" size="1" >
<OPTION SELECTED></OPTION>
<OPTION id= "s" value= "personal"> Personal </OPTION>
<OPTION id= "s" value= "telephonic"> Telephonic </OPTION>
<OPTION id= "s" value= "email"> E-mail </OPTION>
<OPTION id= "s" value= "meeting"> Meeting </OPTION>
</SELECT>
</TD>-->
</TR>
<TR>
<TD align=RIGHT>
Status of Call - </TD>
<TD>
<SELECT name="callstatus" size="1" >
<OPTION SELECTED></OPTION>
<OPTION id= "s" value= "cold"> Cold </OPTION>
<OPTION id= "s" value= "warm"> Warm </OPTION>
<OPTION id= "s" value= "hot"> Hot </OPTION>
<OPTION id= "s" value= "closed"> Connection Executed </OPTION>
<OPTION id= "s" value= "upgrade"> Upgrade </OPTION>
<OPTION id= "s" value= "downgrade"> Downgrade </OPTION>
<OPTION id= "s" value= "shiftingoflocation"> Shifting of Location </OPTION>
<OPTION id= "s" value= "connectionterminated"> Connection Terminated </OPTION>
</SELECT>
</TD>
</TR>
<TR>
<TD align=RIGHT>Date - </TD>
<TD><input type="text" readonly name="edate" id="edate" size="10" value="<%=date1 %>">
<img src="./cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the date">
</TD>
</TR>
<TR>
<TD align=RIGHT>
Time - </TD>
<TD><input type="text" size="4" name="etime" maxlength="4"></TD>
</TR>
<TR>
<TD align=RIGHT>
</TD>
<TD>(Write timing in 0000 - 2400 in this format only)</TD>
</TR>
<TR><TD align=CENTER> INFRASTRUCTURE DETAILS
</TD></TR>
<TR></TR>
<TR>
<TD align=RIGHT bgcolor=#00CCFF>
<font color="#CC6600" size=4>Details of service </font></TD>
<TD></TD>
</TR>
<TR>
<TD align=RIGHT>
Circuit Specification - </TD>
<TD><SELECT name="servicetype" size="1" >
<OPTION SELECTED>---Services---</OPTION>
<OPTION id= "s" value= "IPLC"> IPLC </OPTION>
<OPTION id= "s" value= "VPN"> VPN </OPTION>
<OPTION id= "s" value= "ILL"> ILL </OPTION>
<OPTION id= "s" value= "VoIP"> VoIP </OPTION>
<OPTION id= "s" value= "ISDN"> ISDN </OPTION>
<OPTION id= "s" value= "IDC"> IDC </OPTION>
<OPTION id= "s" value= "V-IPLC"> V-IPLC </OPTION>
<OPTION id= "s" value= "contactcenter"> Contact Center </OPTION>
</SELECT>
</TD>
</TR>
<TR>
<TD align=RIGHT vAlign=TOP>
Feedback Details - </TD>
<TD><TEXTAREA wrap="virtual" name="feedback" rows=5 cols=30 MAXLENGTH=100></TEXTAREA></TD>
</TR>
<TR>
<TD align=RIGHT>Next Visit Scheduled - </TD>
<TD><input type="text" readonly name="nextvisit" id="nextvisit" size="10" value="<%=date2 %>">
<img src="./cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the date">
</TD>
</TR>
<TR></TR>
<TR>
<TD></TD>
<TD>
<input type="button" name="bill" value="SUBMIT" onClick="cmdOnClick();">
<input type="reset" name="reset" value="RESET" >
</TD>
</TR>
</FONT>
</div>
</TD>
</TR>
</TABLE>
</TD>
<TD vAlign=TOP bgcolor=#FFFFFF>
</TD>
</TR></TABLE>
</form>
<script language="JavaScript">
var cal1 = new calendar1(document.forms['DepartmentPage'].elements['edate']);
var cal2 = new calendar1(document.forms['DepartmentPage'].elements['nextvisit']);
</script>
<script language="javascript">
document.getElementById('a<%=request.getParameter("cmdSelect")%>').selected=true;
</script>
<BR><BR>
<jsp:include page="index-end.jsp"/>
</body>
</html>If the reset doesn't work, you have to force iPad into Recovery Mode
1. Turn off iPad
2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
3. Plug USB cable into computer's USB port
4. Hold Home button down and plug the other end of cable into docking port.
DO NOT RELEASE BUTTON until you see picture of iTunes and plug
5. Release Home button.
ON COMPUTER
6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
7. Select "Restore iPad"...
Note:
1. Data will be lost if you do not have backup
2. You must follow step 1 to step 4 VERY CLOSELY.
3. Repeat the process if necessary. -
Formula not working, Plz help
Hi all i have one scenario for formula$
I am calculatingYTD value in period dim and one more dime CATGORY and INDICATOR
scenario is wen indicator member is ID3 we have to calculate ytd values and we have to displaythe values for ytd crossing(which is in cat dim)
Structure$
TIME
2009
YTD09
CATOGORy
....Mtd
....;;YtD(formula)
......y_tech
indicator
Id12
....ID121
....ID123
..........1231
..........1232
ID3
....ID31(+)
....ID123(/)(sheredmember)
iam using formula
iif([INDICATOR].currentmember=[ID-3],[Ytd09],[y_tech]) , its validating
but its not working , I am new to mdx formulas , plz can any one help on this
can any one give the link for mdx formulas syntax and sample formulas
Thanks
Edited by: user8815661 on 26 mars 2010 06:19
Edited by: user8815661 on 26 mars 2010 06:33I am not sure what your complete formula looks like,
But in your IIF = condition, use OR instead of commas - pretty basic, dont know for sure if it will work.
post your formula if you need more help -
Oracle database control not working
hi,
I have configure database control using below command on oracle 11g database , but unable to start database control.
emca -config dbcontrol db -repos create
-bash-3.2$ emctl status dbconsole
OC4J Configuration issue. /db0/app/oracle/product/11.2.0.3/db_1/oc4j/j2ee/OC4J_DBConsole_zainbi.zainiq.com_DB11G not found.
tail -100 /db0/app/oracle/cfgtoollogs/emca/db11g/emca_2012_09_27_14_23_37.log
Sep 27, 2012 2:41:32 PM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
CONFIG: Value for env var 'LANG' is 'null', discarding the same
Sep 27, 2012 2:41:32 PM oracle.sysman.emcp.util.PlatformInterface getEnvProps
CONFIG: Returning env array from cache
Sep 27, 2012 2:41:32 PM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [CLASSPATH=/db0/app/oracle/product/11.2.0.3/db_1/jlib/emca.jar:/db0/app/oracle/product/11.2.0.3/db_1/jlib/srvm.jar:/db0/app/oracle/product/11.2.0.3/db_1/jlib/srvmasm.jar:/db0/app/oracle/product/11.2.0.3/db_1/jlib/cvu.jar:/db0/app/oracle/product/11.2.0.3/db_1/jlib/emConfigInstall.jar:/db0/app/oracle/product/11.2.0.3/db_1/jlib/ldapjclnt11.jar:/db0/app/oracle/product/11.2.0.3/db_1/jlib/ldap.jar:/db0/app/oracle/product/11.2.0.3/db_1/jlib/share.jar:/db0/app/oracle/product/11.2.0.3/db_1/jlib/srvmhas.jar:/db0/app/oracle/product/11.2.0.3/db_1/jlib/netcfg.jar:/db0/app/oracle/product/11.2.0.3/db_1/jlib/http_client.jar:/db0/app/oracle/product/11.2.0.3/db_1/lib/http_client.jar:/db0/app/oracle/product/11.2.0.3/db_1/lib/xmlparserv2.jar:/db0/app/oracle/product/11.2.0.3/db_1/assistants/jlib/assistantsCommon.jar:/db0/app/oracle/product/11.2.0.3/db_1/sysman/jlib/emCORE.jar:/db0/app/oracle/product/11.2.0.3/db_1/sysman/jlib/emagentSDK.jar:/db0/app/oracle/product/11.2.0.3/db_1/oui/jlib/OraInstaller.jar:/db0/app/oracle/product/11.2.0.3/db_1/oui/jlib/OraPrereq.jar:/db0/app/oracle/product/11.2.0.3/db_1/inventory/prereqs/oui/OraPrereqChecks.jar:/db0/app/oracle/product/11.2.0.3/db_1/oui/jlib/OraPrereqChecks.jar:, DYLD_LIBRARY_PATH=/db0/app/oracle/product/11.2.0.3/db_1/lib:, HOME=/export/home/oracle, LC_COLLATE=en_US.ISO8859-1, LC_CTYPE=en_US.ISO8859-1, LC_MESSAGES=C, LC_MONETARY=en_US.ISO8859-1, LC_NUMERIC=en_US.ISO8859-1, LC_TIME=en_US.ISO8859-1, LD_LIBRARY_PATH=/db0/app/oracle/product/11.2.0.3/db_1/jdk/jre/lib/sparcv9/server:/db0/app/oracle/product/11.2.0.3/db_1/jdk/jre/lib/sparcv9:/db0/app/oracle/product/11.2.0.3/db_1/jdk/jre/../lib/sparcv9:/db0/app/oracle/product/11.2.0.3/db_1/lib:/db0/app/oracle/product/11.2.0.3/db_1/perl/lib:/db0/app/oracle/product/11.2.0.3/db_1/network/lib:, LIBPATH=/db0/app/oracle/product/11.2.0.3/db_1/lib:, LOGNAME=oracle, MAIL=/usr/mail/oracle, NEED_EXIT_CODE=1, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, OLDPWD=/db0/app/oracle/product/11.2.0.3/db_1, ORACLE_BASE=/db0/app/oracle, ORACLE_HOME=/db0/app/oracle/product/11.2.0.3/db_1, ORACLE_HOSTNAME=zainbi.zainiq.com, ORACLE_SID=db11g, ORACLE_UNQNAME=db11g, PATH=/db0/app/oracle/product/11.2.0.3/db_1/bin:/usr/bin:/bin, PWD=/db0/app/oracle/product/11.2.0.3/db_1/oc4j/j2ee, SHELL=/bin/bash, SHLIB_PATH=/db0/app/oracle/product/11.2.0.3/db_1/lib:, SHLVL=1, SSH_CLIENT=10.50.32.99 53969 22, SSH_CONNECTION=10.50.32.99 53969 10.50.7.70 22, SSH_TTY=/dev/pts/22, TERM=xterm, TMP=/tmp, TMPDIR=/tmp, TZ=Asia/Baghdad, USER=oracle, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, _=/db0/app/oracle/product/11.2.0.3/db_1/bin/emca]
Sep 27, 2012 2:41:32 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /db0/app/oracle/product/11.2.0.3/db_1/bin/emctl start dbconsole
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 0
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Execution of /db0/app/oracle/product/11.2.0.3/db_1/bin/emctl start dbconsole completed successfully
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
https://zainbi.zainiq.com:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ....... started.
Logs are generated in directory /db0/app/oracle/product/11.2.0.3/db_1/zainbi.zainiq.com_db11g/sysman/log
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.util.PlatformInterface isPre112Home
CONFIG: oracleHome: /db0/app/oracle/product/11.2.0.3/db_1 isPre112Home: false
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: null
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: null
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.EMDBPostConfig addUrl
CONFIG: Updating file /db0/app/oracle/product/11.2.0.3/db_1/install/readme.txt ...
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /db0/app/oracle/product/11.2.0.3/db_1/install/readme.txt to /db0/app/oracle/product/11.2.0.3/db_1/install/readme.txt.emca.util.tmp
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /db0/app/oracle/product/11.2.0.3/db_1/install/readme.txt has been copied to /db0/app/oracle/product/11.2.0.3/db_1/install/readme.txt.emca.util.tmp
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.EMDBPostConfig addUrl
CONFIG: Writing the selected url to readme.txt
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.EMDBPostConfig addUrl
CONFIG: Removing existing entries from readme.txt Enterprise Manager Database Control URL - (db11g) :
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /db0/app/oracle/product/11.2.0.3/db_1/install/readme.txt.emca.util.tmp to /db0/app/oracle/product/11.2.0.3/db_1/install/readme.txt
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.EMDBPostConfig addUrl
CONFIG: File /db0/app/oracle/product/11.2.0.3/db_1/install/readme.txt is successfully updated
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: null
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.util.PlatformInterface isPre112Home
CONFIG: oracleHome: /db0/app/oracle/product/11.2.0.3/db_1 isPre112Home: false
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: null
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://zainbi.zainiq.com:1158/em <<<<<<<<<<<
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.util.DBControlUtil prepareEmkeyCmdList
CONFIG: Value of EMKEY_LOCATION : null/emkey.ora
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
CONFIG: Value for env var 'DISPLAY' is 'null', discarding the same
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
CONFIG: Value for env var 'NLS_LANG' is 'null', discarding the same
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
CONFIG: Value for env var 'LANG' is 'null', discarding the same
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.util.PlatformInterface getEnvProps
CONFIG: Returning env array from cache
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [CLASSPATH=/db0/app/oracle/product/11.2.0.3/db_1/jlib/emca.jar:/db0/app/oracle/product/11.2.0.3/db_1/jlib/srvm.jar:/db0/app/oracle/product/11.2.0.3/db_1/jlib/srvmasm.jar:/db0/app/oracle/product/11.2.0.3/db_1/jlib/cvu.jar:/db0/app/oracle/product/11.2.0.3/db_1/jlib/emConfigInstall.jar:/db0/app/oracle/product/11.2.0.3/db_1/jlib/ldapjclnt11.jar:/db0/app/oracle/product/11.2.0.3/db_1/jlib/ldap.jar:/db0/app/oracle/product/11.2.0.3/db_1/jlib/share.jar:/db0/app/oracle/product/11.2.0.3/db_1/jlib/srvmhas.jar:/db0/app/oracle/product/11.2.0.3/db_1/jlib/netcfg.jar:/db0/app/oracle/product/11.2.0.3/db_1/jlib/http_client.jar:/db0/app/oracle/product/11.2.0.3/db_1/lib/http_client.jar:/db0/app/oracle/product/11.2.0.3/db_1/lib/xmlparserv2.jar:/db0/app/oracle/product/11.2.0.3/db_1/assistants/jlib/assistantsCommon.jar:/db0/app/oracle/product/11.2.0.3/db_1/sysman/jlib/emCORE.jar:/db0/app/oracle/product/11.2.0.3/db_1/sysman/jlib/emagentSDK.jar:/db0/app/oracle/product/11.2.0.3/db_1/oui/jlib/OraInstaller.jar:/db0/app/oracle/product/11.2.0.3/db_1/oui/jlib/OraPrereq.jar:/db0/app/oracle/product/11.2.0.3/db_1/inventory/prereqs/oui/OraPrereqChecks.jar:/db0/app/oracle/product/11.2.0.3/db_1/oui/jlib/OraPrereqChecks.jar:, DYLD_LIBRARY_PATH=/db0/app/oracle/product/11.2.0.3/db_1/lib:, HOME=/export/home/oracle, LC_COLLATE=en_US.ISO8859-1, LC_CTYPE=en_US.ISO8859-1, LC_MESSAGES=C, LC_MONETARY=en_US.ISO8859-1, LC_NUMERIC=en_US.ISO8859-1, LC_TIME=en_US.ISO8859-1, LD_LIBRARY_PATH=/db0/app/oracle/product/11.2.0.3/db_1/jdk/jre/lib/sparcv9/server:/db0/app/oracle/product/11.2.0.3/db_1/jdk/jre/lib/sparcv9:/db0/app/oracle/product/11.2.0.3/db_1/jdk/jre/../lib/sparcv9:/db0/app/oracle/product/11.2.0.3/db_1/lib:/db0/app/oracle/product/11.2.0.3/db_1/perl/lib:/db0/app/oracle/product/11.2.0.3/db_1/network/lib:, LIBPATH=/db0/app/oracle/product/11.2.0.3/db_1/lib:, LOGNAME=oracle, MAIL=/usr/mail/oracle, NEED_EXIT_CODE=1, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, OLDPWD=/db0/app/oracle/product/11.2.0.3/db_1, ORACLE_BASE=/db0/app/oracle, ORACLE_HOME=/db0/app/oracle/product/11.2.0.3/db_1, ORACLE_HOSTNAME=zainbi.zainiq.com, ORACLE_SID=db11g, ORACLE_UNQNAME=db11g, PATH=/db0/app/oracle/product/11.2.0.3/db_1/bin:/usr/bin:/bin, PWD=/db0/app/oracle/product/11.2.0.3/db_1/oc4j/j2ee, SHELL=/bin/bash, SHLIB_PATH=/db0/app/oracle/product/11.2.0.3/db_1/lib:, SHLVL=1, SSH_CLIENT=10.50.32.99 53969 22, SSH_CONNECTION=10.50.32.99 53969 10.50.7.70 22, SSH_TTY=/dev/pts/22, TERM=xterm, TMP=/tmp, TMPDIR=/tmp, TZ=Asia/Baghdad, USER=oracle, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, _=/db0/app/oracle/product/11.2.0.3/db_1/bin/emca]
Sep 27, 2012 2:42:10 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /db0/app/oracle/product/11.2.0.3/db_1/bin/emctl config emkey -remove_from_repos
Sep 27, 2012 2:42:13 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 0
Sep 27, 2012 2:42:13 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Execution of /db0/app/oracle/product/11.2.0.3/db_1/bin/emctl config emkey -remove_from_repos completed successfully
Sep 27, 2012 2:42:13 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Please enter repository password:
The Em Key has been removed from the Management Repository.
Make a backup copy of OH/sysman/config/emkey.ora file and store it on another machine.
WARNING: Encrypted data in Enterprise Manager will become unusable if the emkey.ora file is lost or corrupted.
Sep 27, 2012 2:42:13 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: stty: : No such device or address
stty: : No such device or address
Sep 27, 2012 2:42:13 PM oracle.sysman.emcp.util.DBControlUtil secureEmkey
CONFIG: Succesfully removed Em Key from Management Repository.
Sep 27, 2012 2:42:13 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Sep 27, 2012 2:42:13 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: null
Sep 27, 2012 2:42:13 PM oracle.sysman.emcp.EMDBPostConfig invoke
WARNING:
************************ WARNING ************************
Management Repository has been placed in secure mode wherein Enterprise Manager data will be encrypted. The encryption key has been placed in the file: /db0/app/oracle/product/11.2.0.3/db_1/zainbi.zainiq.com_db11g/sysman/config/emkey.ora. Ensure this file is backed up as the encrypted data will become unusable if this file is lost.
Sep 27, 2012 2:42:13 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to /db0/app/oracle/product/11.2.0.3/db_1/oui
Edited by: user12137804 on Sep 27, 2012 5:17 AMhi,
Thanks for your reply, when i try to connect db control from my browser using link https://zainbi.zainiq.com:1158/em it will show me below message
can't establish a connection to the server at zainbi.zainiq.com:1158.
When i check the status: emctl status dbconsole
EM Configuration issue. /db0/app/oracle/product/11.2.0.3/db_1/zainbi.zainiq.com_DB11G not found.
when i check the path i found the last folder with sid name in lower case /db0/app/oracle/product/11.2.0.3/db_1/zainbi.zainiq.com_db11g.
I have rename the directory with /db0/app/oracle/product/11.2.0.3/db_1/zainbi.zainiq.com_DB11G.
Then i execute emctl status dbconsole command it show running state and i have successfully connected to my enterpirse manager.
So moral of the story is : use the same case for database sid in tnsname and database installation other wise face problem in configuring oracle enterprise manager repository.
Thanks
Zeeshan
Businness Analytics Islamabad
Edited by: user12137804 on Sep 28, 2012 3:57 AM -
I used to use this Java Scrip before updating my FireFox
now its not working, the script is as under
javascript:%20void%200
this script open more then 50 pages in sequence as per the http addresses given on few web pages.
please helpAll I am trying to do is enable "one click" functions for downloading gifts on Farmtown. I am on Windows Vista; have upgraded to Firefox5; updated Java today. When I try to download stuff from www.farmtown-links.com, a tab appears with "javascript:%20void%200" I have NO IDEA what this all means...I need an easy fix, PLEASE. I know a lot of FT people are going to this site. I have also added this addon: http://www.grizzlyape.com/addons/multilinks/. Still no luck. Even though some claim Chrome works better, I am still a happy camper w/Firefox and hardly ever use IE.
-
Tiger to Leopard transition- user name and password not working. plz help!
Hi all. Last year I purchased a MacBook Pro with Tiger OSX. Anyways I wanted to switch to leopard, so I did. Now when I want to install updates, as usual it requires my user name and password. But after I installed leopard, my old user name and password does not work (my login name does not even show up in the box anymore). I can not install any new software on my computer because of this so called "new password." Any assistance would be greatly appreciated because this is very frustrating since I just purchased an iPhone and I can't sync it because I need the new version of itunes.
can you log in at all as another user? if not activate root and log in as root using [these instructions|http://support.apple.com/kb/TS1278]. then look in the /Users folder at the top level of the hard drive. do you see the home directory with your old username there? post back with what you find.
-
Can not understand why it is not working, plz help.
I am a student trying to understand flex builder 3, but it is very hard and when something is going wrong I think that I will never undersand how is it working.
Hete is my program and do not see a problem. Maybe someone could help me?
MAIN APLICATION :
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" horizontalAlign="left"
xmlns:omp="components.*" themeColor="#444444"
backgroundGradientAlphas="[1.0, 1.0]" backgroundGradientColors="[#686868, #111111]"
initialize="klaseServ.send(),mokinysServ.send()"
xmlns:comp="components.*">
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.rpc.events.ResultEvent;
[Bindable] private var klaseArray:ArrayCollection;
[Bindable] private var mokinysArray:ArrayCollection;
// PRIVATE -------------------------------------------------------------------------
private function resultKl(event:ResultEvent):void{
klaseArray=event.result.ROWSET.ROW;
private function resultMo(event:ResultEvent):void{
mokinysArray=event.result.ROWSET.ROW;
// PUBLIC ---------------------------------------------------------------
]]>
</mx:Script>
<mx:HTTPService id="klaseServ"
url="data/vkklase.xml"
result="resultKl(event)" />
<mx:HTTPService id="mokinysServ"
url="data/vkmokinys.xml"
result="resultMo(event)" />
<mx:VBox x="0" y="0" width="100%" verticalGap="0">
<mx:Canvas height="70" width="100%">
<mx:Panel title="{horizontalList.selectedItem.PAVADINIMAS}"
height="70" width="100%" layout="horizontal">
<mx:HorizontalList id="horizontalList"
labelField="PAVADINIMAS"
dataProvider="{klaseArray}"
itemRenderer="icon"
columnCount="10"
columnWidth="30"
rowCount="1"
rowHeight="30"
horizontalScrollPolicy="on" />
</mx:Panel>
</mx:Canvas>
<mx:VBox height="90" width="100%">
<mx:Panel height="90" layout="horizontal" title="Asmuo" width="100%" backgroundAlpha="1.0">
<mx:HorizontalList height="50" width="100%" dataProvider="mokinysArray"/>
</mx:Panel>
</mx:VBox>
<mx:HBox height="15" color="#FFFFFF" width="100%" backgroundColor="#636161">
<mx:Label id="vardasLab" text="Vardas" />
<mx:Label id="pavardeLab" text="Pavardė" />
<mx:Label id="amziusLab" text="Amžius" />
</mx:HBox>
<mx:HBox>
<mx:VBox width="60" verticalGap="0">
<mx:Image source="icons/photoIco.jpg" height="60" width="60"/>
<mx:Image source="icons/photoIco.jpg" height="60" width="60"/>
<mx:Image source="icons/photoIco.jpg" height="60" width="60"/>
<mx:Image source="icons/photoIco.jpg" height="60" width="60"/>
<mx:Image source="icons/photoIco.jpg" height="60" width="60"/>
<mx:Image source="icons/photoIco.jpg" height="60" width="60"/>
</mx:VBox>
<mx:Canvas>
</mx:Canvas>
</mx:HBox>
</mx:VBox>
</mx:Application>
ICON.MXML
<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2008/02/15/creating-a-simple-image-gallery-with-the-flex-hori zontallist-control/ -->
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml"
horizontalAlign="center"
verticalAlign="middle">
<mx:Label text="{data.PAVADINIMAS}" />
<mx:Label text="{data.KIEKMOKINIU}" />
</mx:VBox>
data/vkklase.xml
<?xml version="1.0" ?>
- <ROWSET>
- <ROW>
<ID>2</ID>
<PAVADINIMAS>7B</PAVADINIMAS>
<KIEKMOKINIU>1</KIEKMOKINIU>
</ROW>
- <ROW>
<ID>1</ID>
<PAVADINIMAS>1A</PAVADINIMAS>
<KIEKMOKINIU>2</KIEKMOKINIU>
</ROW>
- <ROW>
<ID>3</ID>
<PAVADINIMAS>7C</PAVADINIMAS>
<KIEKMOKINIU>3</KIEKMOKINIU>
</ROW>
</ROWSET>
data/vkmokinys.xml
<?xml version="1.0" ?>
- <ROWSET>
- <ROW>
<ID>2</ID>
<KLASE>1A</KLASE>
<VARDAS>Paulius</VARDAS>
<PAVARDE>Paulauskas</PAVARDE>
<GIMMETAI>2002</GIMMETAI>
<GIMMEN>12</GIMMEN>
<GIMDIEN>20</GIMDIEN>
</ROW>
- <ROW>
<ID>3</ID>
<KLASE>1A</KLASE>
<VARDAS>Saulius</VARDAS>
<PAVARDE>Saulenas</PAVARDE>
<GIMMETAI>2003</GIMMETAI>
<GIMMEN>1</GIMMEN>
<GIMDIEN>12</GIMDIEN>
</ROW>
- <ROW>
<ID>1</ID>
<KLASE>7B</KLASE>
<VARDAS>Antanas</VARDAS>
<PAVARDE>Antanavicius</PAVARDE>
<GIMMETAI>1997</GIMMETAI>
<GIMMEN>2</GIMMEN>
<GIMDIEN>1</GIMDIEN>
</ROW>
- <ROW>
<ID>5</ID>
<KLASE>7C</KLASE>
<VARDAS>Stasys</VARDAS>
<PAVARDE>Stasevicius</PAVARDE>
<GIMMETAI>1997</GIMMETAI>
<GIMMEN>3</GIMMEN>
<GIMDIEN>18</GIMDIEN>
</ROW>
- <ROW>
<ID>6</ID>
<KLASE>7C</KLASE>
<VARDAS>Bronius</VARDAS>
<PAVARDE>Broniavicius</PAVARDE>
<GIMMETAI>1996</GIMMETAI>
<GIMMEN>12</GIMMEN>
<GIMDIEN>30</GIMDIEN>
</ROW>
- <ROW>
<ID>4</ID>
<KLASE>7C</KLASE>
<VARDAS>Mantas</VARDAS>
<PAVARDE>Mantavicius</PAVARDE>
<GIMMETAI>1996</GIMMETAI>
<GIMMEN>11</GIMMEN>
<GIMDIEN>3</GIMDIEN>
</ROW>
</ROWSET>Something wrong with ITEMRENDERER.... I dont know what is wrong, but it is just isnt working when i try to compile.. =(
-
Hi My name is Priya
I installed OBIEE 10.1.3.4.2 sucessfully on windows 7 ultimate OS and database Oracle 11g R2 11.2.0.1.0
but when I tried to Import SH schema from OBIEE Admin Tool the SH schema is not appearing in the select data source under connection type ODBC 3.5.
I can see only DSN:Analyticsweb and Driver:Oracle BI server in select datasource under ODBC 3.5.
and even I cannot see the SH schema under any connection types(ODBC 2.0,DB2 CLI(unicode),XML,OCI 10g/11g.
but when I checked System DSN in ODBC Data Source Administrator even the SH schema was added as (Name:SH Driver:Oracle in OraDb11g_home1).
everything looks ok,but still I dont understand why SH schema is not appearing when am trying to Import it from Database in Oracle BI Administration.
Please help me I tried everywhere but no one is able to resolve my issue.
even you can email your responses at [email protected]
waiting for your replies with eagerHi,
Thanks for your reply I really appreciate it.
I checked in SQL with the query select table_name from all_tables where owner='SH';
but it came with has no rows selected message
and also I tried to download the schema from the link which you have sent(http://gerardnico.com/wiki/database/oracle/sample_schemas)
but when I clicked the link it took me to Oracle Database - Sample Schemas and there under SH I clicked on ■Installation of the Oracle® Database Sample Schemas
but when I clicked on that the page says Http 400 bad request and the webpage cannot be found.
and also I clicked ■Oracle® Database Sample Schemas under reference,here also the page says samething.
and also I downloaded SH.zip under OBIEE,but here once I open the SH folder and opened sh in this folder 'SH' directly Oracle BI Administration tool is opening.
In this tool I can see the SH schema under presentation,Buisness model & mapping,Physical layers,but again when I start the OBIEE Administration tool under Oracle Business Intelligence from All programs and trying to import from database the SH is not appearing under ODBC 3.5 in select datasource.
I dont understand where Iam going wrong,please help me.
Maybe you are looking for
-
Java core dump on AIX5.2 / J2RE 1.4.1
I'm running a program on AIX 5.2.0.0 which fails after two minuts whith a Java core file.... This is the content of this file ; does anyone know how to read this ?? NULL ------------------------------------------------------------------------ 0SECTIO
-
Dear Consultants, We have taken a Z Copy of ME2N to add a few fields. Now we are not able display the report in ALV . But the ALV view is displayed in standard ME2N transaction. Kindly advise. Regards Irfan Ahmed
-
hey all gots a odd question. i just installed 10.3.4 and when i started it up and entered my info. the finder is not staying open. if you dont have any apps open the finder opens stays for about 5 seconds and then closes, reapeat. or if i have apps o
-
My podcast won't appear on the Podcast app. Why?
My podcast can be found via iTunes and via browser, but it suddenly stopped appearing altogether on the Podcast app. In comparions to a previous version I have of the feed, everything seems in order. What on earth could have happened to the feed that
-
Habe Probleme bei der Installation von Photoshop Elements 13 - Kann mir jemand helfen?
Ich habe mir das Upgrade Auf Photoshop Elements 13 gegönnt und heruntergeladen. Bei der Installation erhalte ich folgende Meldung Exit Code: 7 Please see specific errors below for troubleshooting. For example, ERROR: ------------------------------