Inner join query not working properly
Hi everyone,
It does not gives any error, but it is not fetching any values...but when i dont include fourth table CSKT AND THE FIELD LTEXT it is fetching the values.
SELECT SINGLE
T1~PERNR
T1~BEGDA
T1~ENAME
T1~PLANS
T1~KOSTL
T2~STRAS
T2~PSTLZ
T2~ORT01
T3~PLSTX
T4~LTEXT
INTO FS_TAB
FROM PA0001 AS T1
INNER JOIN PA0006 AS T2 ON T1PERNR eq T2PERNR
INNER JOIN T528T AS T3 ON T1PLANS EQ T3PLANS
INNER JOIN CSKT AS T4 ON T1KOSTL EQ T4KOSTL
WHERE T1~PERNR eq p_pernr.
Change like this
SELECT SINGLE
T1~PERNR
T1~BEGDA
T1~ENAME
T1~PLANS
T1~KOSTL
T2~STRAS
T2~PSTLZ
T2~ORT01
T3~PLSTX
T4~LTEXT
INTO FS_TAB
FROM PA0001 AS T1
INNER JOIN PA0006 AS T2 ON T1~PERNR eq T2~PERNR
INNER JOIN T528T AS T3 ON T1~PLANS EQ T3~PLANS
LEFT OUTER JOIN CSKT AS T4 ON T1~KOSTL EQ T4~KOSTL
WHERE T1~PERNR eq p_pernr.
OR
SELECT SINGLE
T1~PERNR
T1~BEGDA
T1~ENAME
T1~PLANS
T1~KOSTL
T2~STRAS
T2~PSTLZ
T2~ORT01
T3~PLSTX
T4~LTEXT
INTO FS_TAB
FROM PA0001 AS T1
LEFT OUTER JOIN PA0006 AS T2 ON T1~PERNR eq T2~PERNR
LEFT OUTER JOIN T528T AS T3 ON T1~PLANS EQ T3~PLANS
LEFT OUTER JOIN CSKT AS T4 ON T1~KOSTL EQ T4~KOSTL
WHERE T1~PERNR eq p_pernr.
as long as the table is not used in where condition, u can use left outter join.
Similar Messages
-
List of Character which cause Query not work properly
I want the List of characters and resolution which can leads the SQL query to not work properly
LIKE
Problem: Single Quotes " ' " in SQL query.
Solution: Use one more single Quotes
Example: Select 'D''Sa'as EName from dual;
Please provide all Such special cases so I take care while developing my application.That's what I ment by 'copied to every other iBook I have to create in this series' ( I mean 'linked in ePub export pop up').
I use a small CSS file containing what I need and have no surprises anymore. I learned a lot this weeks...
And concerning InDesign (as I always say in the IT-world): For every solution there is a problem...
Cees
information designer -
Link for BUT000 table and ADRC in CRM and inner join is not working in PCUI
Hi Gurus,
Please tell me the link btween BUT000 and ADRC table. and i wrote one inner join between BUT000 and BUT0id table but it not working. I m in CRM 4.0 version working with PCUI.
select but000partner but000name_org1 but000name_org2 but000bus_sort1 but0id~parnter1
but0ididnumber from but000 inner join but0id on but0idpartner = but000~parnter
into corresponding fields of table it_result where partner in s_partner.
It is giving error as partner unknown from but000 table. I delcared everything and tried with alias names also.
please clarify me.
regards,
Ramakrishna.Hi Frederic,
thanks a lot. But is inner join between BUT000 and BUT0ID will work. for me it is not working. plesae see this code.
tables : but000,
but0id,
crmm_but_custno,
adrc.
types : begin of typ_but000,
partner type bu_partner,
name_org1 type BU_NAMEOR1,
name_org2 type BU_NAMEOR2,
bu_sort1 type BU_SORT1,
idnumber type BU_ID_NUMBER,
partner1 type bu_partner,
end of typ_but000.
data: lt_but000 type table of typ_but000,
ls_but000 like line of lt_but000.
*select-options : s_partnr for but000-partner.
start-of-selection.
select but000partner but000name_org1 but000name_org2 but000bu_sort1 but0id~parnter1
but0id~idnumber into corresponding fields of table lt_but000 from but000
inner join but0id on but0idpartner = but000parnter. " where partner in s_partner.
it is giving error as but000-partner is not know or but0id-partner not known.
So, i think if it not works then i should write two select stmts.
please clarify me.
i gave u rating.
thanks
ramakrishna. -
Hi All,
I don't know whether this is the right forum to post this topic...
I am very new to Hibernate. I have written the following query.
query = session.createQuery(" SELECT a.userId FROM com.myhibernatetrials.vo.UserVO a left join ArtifactVO b where a.roleId='B' and a.userId = b.qaReviewerId group by a.userId order by count(b.artifactNum)");
When I run the application I am getting the error 'Path expected for join! '
Please see the detailed message below.
org.hibernate.hql.ast.QuerySyntaxException: Path expected for join! [ SELECT a.userId FROM com.myhibernatetrials.vo.UserVO a left join ArtifactVO b where a.roleId='B' and a.userId = b.qaReviewerId group by a.userId order by count(b.artifactNum)]
at org.hibernate.hql.ast.QuerySyntaxException.convert(QuerySyntaxException.java:31)
at org.hibernate.hql.ast.QuerySyntaxException.convert(QuerySyntaxException.java:24)
at org.hibernate.hql.ast.ErrorCounter.throwQueryException(ErrorCounter.java:59)
at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:235)
at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:160)
at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:77)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:56)
at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72)
at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133)
at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112)
at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1623)
at com.myhibernatetrials.dao.CreateArtifactDAO.createArtifact(CreateArtifactDAO.java:23)
at com.myhibernatetrials.action.SelectReviewerAction.execute(SelectReviewerAction.java:32)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)
Please help to resolve this.
Thanks
NeelambaryChange like this
SELECT SINGLE
T1~PERNR
T1~BEGDA
T1~ENAME
T1~PLANS
T1~KOSTL
T2~STRAS
T2~PSTLZ
T2~ORT01
T3~PLSTX
T4~LTEXT
INTO FS_TAB
FROM PA0001 AS T1
INNER JOIN PA0006 AS T2 ON T1~PERNR eq T2~PERNR
INNER JOIN T528T AS T3 ON T1~PLANS EQ T3~PLANS
LEFT OUTER JOIN CSKT AS T4 ON T1~KOSTL EQ T4~KOSTL
WHERE T1~PERNR eq p_pernr.
OR
SELECT SINGLE
T1~PERNR
T1~BEGDA
T1~ENAME
T1~PLANS
T1~KOSTL
T2~STRAS
T2~PSTLZ
T2~ORT01
T3~PLSTX
T4~LTEXT
INTO FS_TAB
FROM PA0001 AS T1
LEFT OUTER JOIN PA0006 AS T2 ON T1~PERNR eq T2~PERNR
LEFT OUTER JOIN T528T AS T3 ON T1~PLANS EQ T3~PLANS
LEFT OUTER JOIN CSKT AS T4 ON T1~KOSTL EQ T4~KOSTL
WHERE T1~PERNR eq p_pernr.
as long as the table is not used in where condition, u can use left outter join. -
I have a simple inventory query where the user can input a
search term, and a price span in 2 text boxes, named p1 and p2, the
search box is named s.
When I just change the price boxes and submit, it works
perfectly, but if I put anything in the search text box, it always
returns 0 records, even though I know it should be returning
hundreds of records. The real kicker here is that when I copy the
query submitted to the db in the debugging section, and I paste it
directly into the access database, it runs perfect.
What could make it run perfect in the db directly, but not
return any records when sent via CF?
Any suggestions would be helpful, thank you, and the CF code
is listed below, then below that the code found in the debugger
with my sample search.Welcome to the world of non-standard SQL. ANSI standard SQL
is a myth. Trial and error and experience is the only solution. Not
only are things vastly different between the database players (even
those that purport to be ANSI compliant), things are even different
amongst the different drivers (ODBC, JDBC, OLE, Native, etc.) that
you can use to go against those databases. Typically Database
differences will simply crash. With Driver differences, anything
can happen, although they are typically more restrictive. They will
often not allow certain keywords or constructs to pass through even
though the DB supports it. -
Migrated 3.x query not working properly
Hi All,
I am migrating existing 3.x queries in system to BI 7. Some queries are showing strange behaviour like when i am executing them in analyzer the results are perfect. When i am executing same queries on web through query designer or through a web template all the Key figures are coming completely balnk.
What may be the reason?? pls guide.
Regards:
Jitendra
Edited by: Jitendra Gupta on Apr 22, 2010 4:09 PMWelcome to the world of non-standard SQL. ANSI standard SQL
is a myth. Trial and error and experience is the only solution. Not
only are things vastly different between the database players (even
those that purport to be ANSI compliant), things are even different
amongst the different drivers (ODBC, JDBC, OLE, Native, etc.) that
you can use to go against those databases. Typically Database
differences will simply crash. With Driver differences, anything
can happen, although they are typically more restrictive. They will
often not allow certain keywords or constructs to pass through even
though the DB supports it. -
Help with Inner Join query in SQL
Hope someone can help with this, as this is quite an involved project for me, and I'm just about there with it.
My table structure is :
table_packages
packageID
package
packageDetails
etc
table_destinations
destinationID
destination
destinationDetails
etc
table_packagedestinations
packageID
destinationID
..so nothing that complicated.
So the idea is that I can have a package details page which shows the details of the package, along any destinations linked to that package via the packagedestinations table.
So this is the last part really - to get the page to display the destinations, but I'm missing something along the way....
This is the PHP from the header, including my INNER JOIN query....
PHP Code:
<?php
$ParampackageID_WADApackages = "-1";
if (isset($_GET['packageID'])) {
$ParampackageID_WADApackages = (get_magic_quotes_gpc()) ? $_GET['packageID'] : addslashes($_GET['packageID']);
$ParamSessionpackageID_WADApackages = "-1";
if (isset($_SESSION['WADA_Insert_packages'])) {
$ParamSessionpackageID_WADApackages = (get_magic_quotes_gpc()) ? $_SESSION['WADA_Insert_packages'] : addslashes($_SESSION['WADA_Insert_packages']);
$ParampackageID2_WADApackages = "-1";
if (isset($_GET['packageID'])) {
$ParampackageID2_WADApackages = (get_magic_quotes_gpc()) ? $_GET['packageID'] : addslashes($_GET['packageID']);
mysql_select_db($database_connPackages, $connPackages);
$query_WADApackages = sprintf("SELECT packageID, package, costperpax, duration, baselocation, category, dateadded, agerange, hotel, educational_tours, field_trips, corporate_outings, plant_visits, budget_package, rollingtours, teambuilding, description, offer FROM packages WHERE packageID = %s OR ( -1= %s AND packageID= %s)", GetSQLValueString($ParampackageID_WADApackages, "int"),GetSQLValueString($ParampackageID2_WADApackages, "int"),GetSQLValueString($ParamSessionpackageID_WADApackages, "int"));
$WADApackages = mysql_query($query_WADApackages, $connPackages) or die(mysql_error());
$row_WADApackages = mysql_fetch_assoc($WADApackages);
$totalRows_WADApackages = mysql_num_rows($WADApackages);
$colname_educationalDestinations = "1";
if (isset($_GET['PackageID'])) {
$colname_educationalDestinations = (get_magic_quotes_gpc()) ? packageID : addslashes(packageID);
mysql_select_db($database_connPackages, $connPackages);
$query_educationalDestinations = sprintf("SELECT * FROM destinations INNER JOIN (packages INNER JOIN packagedestinations ON packages.packageID = packagedestinations.packageID) ON destinations.destinationID = packagedestinations.destinationID WHERE packages.packageID = %s ORDER BY destination ASC", GetSQLValueString($colname_educationalDestinations, "int"));
$educationalDestinations = mysql_query($query_educationalDestinations, $connPackages) or die(mysql_error());
$row_educationalDestinations = mysql_fetch_assoc($educationalDestinations);
$totalRows_educationalDestinations = mysql_num_rows($educationalDestinations);
?>
And where I'm trying to display the destinations themselves, I have :
<table>
<tr>
<td>Destinations :</td>
</tr>
<?php do { ?>
<tr>
<td><?php echo $row_educationalDestinations['destination']; ?></td>
</tr>
<?php } while ($row_educationalDestinations = mysql_fetch_assoc($educationalDestinations)); ?>
</table>
If anyone could have a quick look and help me out that would be much appreciated - not sure if its my SQL at the top, or the PHP in the page, but either way it would be good to get it working.
Thanks.First off, you need to get the database tables so that there is a relationship between them.
In fact, if there is a one to one relationship, then it may be better to store all of your information in one table such as
table_packages
packageID
package
packageDetails
destination
destinationDetails
etc
If there is a one to many relationship, then the following would be true
packages
packageID
package
packageDetails
etc
destinations
destinationID
packageID
destination
destinationDetails
etc
The above assumes that there are many destinations to one package with the relationship coloured orange.
Once you have the above correct you can apply your query as follows
SELECT *
FROM packages
INNER JOIN destinations
ON packages.packageID = destinations.packageID
WHERE packages.packageID = %s
ORDER BY destination ASC
The above query will show all packages with relevant destinations -
Oracle date parameter query not working?
http://stackoverflow.com/questions/14539489/oracle-date-parameter-query-not-working
Trying to run the below query, but always fails even though the parameter values matches. I'm thinking there is a precision issue for :xRowVersion_prev parameter. I want too keep as much precision as possible.
Delete
from CONCURRENCYTESTITEMS
where ITEMID = :xItemId
and ROWVERSION = :xRowVersion_prev
The Oracle Rowversion is a TimestampLTZ and so is the oracle parameter type.
The same code & query works in Sql Server, but not Oracle.
Public Function CreateConnection() As IDbConnection
Dim sl As New SettingsLoader
Dim cs As String = sl.ObtainConnectionString
Dim cn As OracleConnection = New OracleConnection(cs)
cn.Open()
Return cn
End Function
Public Function CreateCommand(connection As IDbConnection) As IDbCommand
Dim cmd As OracleCommand = DirectCast(connection.CreateCommand, OracleCommand)
cmd.BindByName = True
Return cmd
End Function
<TestMethod()>
<TestCategory("Oracle")> _
Public Sub Test_POC_Delete()
Dim connection As IDbConnection = CreateConnection()
Dim rowver As DateTime = DateTime.Now
Dim id As Decimal
Using cmd As IDbCommand = CreateCommand(connection)
cmd.CommandText = "insert into CONCURRENCYTESTITEMS values(SEQ_CONCURRENCYTESTITEMS.nextval,'bla bla bla',:xRowVersion) returning ITEMID into :myOutputParameter"
Dim p As OracleParameter = New OracleParameter
p.Direction = ParameterDirection.ReturnValue
p.DbType = DbType.Decimal
p.ParameterName = "myOutputParameter"
cmd.Parameters.Add(p)
Dim v As OracleParameter = New OracleParameter
v.Direction = ParameterDirection.Input
v.OracleDbType = OracleDbType.TimeStampLTZ
v.ParameterName = "xRowVersion"
v.Value = rowver
cmd.Parameters.Add(v)
cmd.ExecuteNonQuery()
id = CType(p.Value, Decimal)
End Using
Using cmd As IDbCommand = m_DBTypesFactory.CreateCommand(connection)
cmd.CommandText = " Delete from CONCURRENCYTESTITEMS where ITEMID = :xItemId and ROWVERSION = :xRowVersion_prev"
Dim p As OracleParameter = New OracleParameter
p.Direction = ParameterDirection.Input
p.DbType = DbType.Decimal
p.ParameterName = "xItemId"
p.Value = id
cmd.Parameters.Add(p)
Dim v As OracleParameter = New OracleParameter
v.Direction = ParameterDirection.Input
v.OracleDbType = OracleDbType.TimeStampLTZ
v.ParameterName = "xRowVersion_prev"
v.Value = rowver
v.Precision = 6 '????
cmd.Parameters.Add(v)
Dim cnt As Integer = cmd.ExecuteNonQuery()
If cnt = 0 Then Assert.Fail() 'should delete
End Using
connection.Close()
End Sub
Schema:
-- ****** Object: Table SYSTEM.CONCURRENCYTESTITEMS Script Date: 1/26/2013 11:56:50 AM ******
CREATE TABLE "CONCURRENCYTESTITEMS" (
"ITEMID" NUMBER(19,0) NOT NULL,
"NOTES" NCHAR(200) NOT NULL,
"ROWVERSION" TIMESTAMP(6) WITH LOCAL TIME ZONE NOT NULL)
STORAGE (
NEXT 1048576 )
Sequence:
-- ****** Object: Sequence SYSTEM.SEQ_CONCURRENCYTESTITEMS Script Date: 1/26/2013 12:12:48 PM ******
CREATE SEQUENCE "SEQ_CONCURRENCYTESTITEMS"
START WITH 1
CACHE 20
MAXVALUE 9999999999999999999999999999still not comming...
i have one table each entry is having only one fromdata and one todate only
i am running below in sql it is showing two rows. ok.
select t1.U_frmdate,t1.U_todate ,ISNULL(t2.firstName,'')+ ',' +ISNULL(t2.middleName ,'')+','+ISNULL(t2.lastName,'') AS NAME, T2.empID AS EMPID, T2.U_emp AS Empticket,t2.U_PFAcc,t0.U_pf
from [@PR_PRCSAL1] t0 inner join [@PR_OPRCSAL] t1
on t0.DocEntry = t1.DocEntry
inner join ohem t2
on t2.empID = t0.U_empid where t0.U_empid between '830' and '850' and t1.U_frmdate ='20160801' and t1.u_todate='20160830'
in commond promt
select t1.U_frmdate,t1.U_todate ,ISNULL(t2.firstName,'')+ ',' +ISNULL(t2.middleName ,'')+','+ISNULL(t2.lastName,'') AS NAME, T2.empID AS EMPID, T2.U_emp AS Empticket,t2.U_PFAcc,t0.U_pf
from [@PR_PRCSAL1] t0 inner join [@PR_OPRCSAL] t1
on t0.DocEntry = t1.DocEntry
inner join ohem t2
on t2.empID = t0.U_empid where t0.U_empid between {?FromEmid} and {?ToEmid} and t1.U_frmdate ={?FDate} and t1.u_todate={?TDate}
still not showing any results.. -
Copy Function is Not Working properly In Order Management
Hi,
Description-
When an order with remnant model is copied, it copied only the topple model line and they include items attached to the top model line. It doesn’t copy the
option class lines and the option item lines (unshipped and shipped).
Example-
Enter an order with for pd-pto-model. See order#21231.The ordered quantities and structure of the model is shown below:
pd-pto-model 5 qty
pd-std-item1 (included item) 5 qty
pd-pto-oc (option class) 5 qty
pd-std-item1 (included item with rfr checked) 5 qty
pd-std-item2 (option item with rfr checked) 5 qty
pd-std-item3 (option item) 5 qty
Booked the order and pick relased the order. While shipconfirming only shipped 5 qty of pd-std-item3 and staged the rest. On querying the sales order, the line status is seen correctly as follows:
pd-pto-model Closed
pd-std-item1 (included item) Picked
pd-pto-oc (option class) Closed
pd-std-item1 (included item with rfr checked) Picked
pd-std-item2 (option item with rfr checked) Picked
pd-std-item3 (option item) Partially Interfaced to receivables
Copied this order from the order header. The new order# is 21232.On querying the order, I see only 2 lines as follows:pd-pto-model.
Anyone can help me on this issue.
Thanks,
Chinnahaisrig wrote:
Hi ,
We are facing an issue with select() in Solaris 10. we had written a sample program to this issue.
Program name :- sel.cpp
int main()
struct timeval sleeptime;
sleeptime.tv_sec = 60;
printf("1\n");
select(0,NULL,NULL,NULL,&sleeptime);
printf("2");
return 0;
When i run this program in Solaris 9, its printing 1 and after one minute its printing 2.
When i run this program on Solaris 10, its printing 1 and 2 without waiting for 60 seconds.
When i tried to print tv_usec, its printing as 0 in solaris 9 and some garbage values in solaris 10.
I think because of that the above select function is not working properly in solaris 10.
Why the tv_usec is not taking 0 as default values in Solaris 10?
We are using our legacy code for past 20 years. So, before going to do any changes we are trying to find why this happenig like this.Hi
It sounds to me that you've been lucky for 20 years then.
Local POD variables on the stack that aren't explicitly initialized can contain any value. Here's what I see in your app with dbx
(dbx) run
Running: sel
stopped in main at line 9 in file "sel.cpp"
9 sleeptime.tv_sec = 60;
(dbx) print sleeptime
sleeptime = {
tv_sec = -4198732
tv_usec = 0
}That's on a Solaris 10 SPARC machine. If I try it on a Solaris 10 x86 box then I get
(dbx) print sleeptime
sleeptime = {
tv_sec = -830490588
tv_usec = 134510556
and I see the behaviour that you describe.
Paul -
Dears
I have installed CRS 11.2.0.1 on vmware 1 at redhat 5.3 .
CRS has installed sucessfully without any error. but when execute
[oracle@RAC1 grid]$ ./runcluvfy.sh stage -post crsinst -n RAC1,RAC2 -verbose
Checking if Clusterware is installed on all nodes...
Check of Clusterware install passed
Checking if CTSS Resource is running on all nodes...
Check: CTSS Resource running on all nodes
Node Name Status
RAC2 passed
RAC1 passed
Result: CTSS resource check passed
Querying CTSS for time offset on all nodes...
Result: Query of CTSS for time offset passed
Check CTSS state started...
Check: CTSS state
Node Name State
RAC2 Active
RAC1 Active
CTSS is in Active state. Proceeding with check of clock time offsets on all nodes...
Reference Time Offset Limit: 1000.0 msecs
Check: Reference Time Offset
Node Name Time Offset Status
RAC2 -4700.0 failed
RAC1 0.0 passed
Result: PRVF-9661 : Time offset is NOT within the specified limits on the following nodes:
"[RAC2]"
PRVF-9652 : Cluster Time Synchronization Services check failed
Post-check for cluster services setup was unsuccessful on all the nodes.
[oracle@RAC1 grid]$ After That I checked on RAC1
[oracle@RAC1 ~]$ crsctl check ctss
CRS-4701: The Cluster Time Synchronization Service is in Active mode.
CRS-4702: Offset (in msec): 0
[oracle@RAC1 ~]$
and on RAC2
[oracle@RAC2 ~]$ crsctl check ctss
CRS-4701: The Cluster Time Synchronization Service is in Active mode.
CRS-4702: Offset (in msec): -4700
[oracle@RAC2 ~]$ But when some time ago i checked it was
oracle@RAC1 ~]$
[oracle@RAC1 ~]$ cluvfy comp clocksync -n all
Verifying Clock Synchronization across the cluster nodes
Checking if Clusterware is installed on all nodes...
Check of Clusterware install passed
Checking if CTSS Resource is running on all nodes...
CTSS resource check passed
Querying CTSS for time offset on all nodes...
Query of CTSS for time offset passed
Check CTSS state started...
CTSS is in Active state. Proceeding with check of clock time offsets on all nodes...
Check of clock time offsets passed
Oracle Cluster Time Synchronization Services check passed
Verification of Clock Synchronization across the cluster nodes was successful.
[oracle@RAC1 ~]$
[oracle@RAC1 ~]$
[oracle@RAC1 ~]$ crsctl check ctss
CRS-4701: The Cluster Time Synchronization Service is in Active mode.
CRS-4702: Offset (in msec): 0
[oracle@RAC1 ~]$
[oracle@RAC1 ~]$
and on RAC2 is was
[oracle@RAC2 ~]$ crsctl check ctss
CRS-4701: The Cluster Time Synchronization Service is in Active mode.
CRS-4702: Offset (in msec): -800
[oracle@RAC2 ~]$
[oracle@RAC2 ~]$ crsctl check ctss
CRS-4701: The Cluster Time Synchronization Service is in Active mode.
CRS-4702: Offset (in msec): -800
[oracle@RAC2 ~]$
[oracle@RAC2 ~]$ crsctl check ctss
CRS-4701: The Cluster Time Synchronization Service is in Active mode.
CRS-4702: Offset (in msec): -900
[oracle@RAC2 ~]$
[oracle@RAC2 ~]$ crsctl check ctss
CRS-4701: The Cluster Time Synchronization Service is in Active mode.
CRS-4702: Offset (in msec): -900
[oracle@RAC2 ~]$
[oracle@RAC2 ~]$ crsctl check ctss
CRS-4701: The Cluster Time Synchronization Service is in Active mode.
CRS-4702: Offset (in msec): -1000
[oracle@RAC2 ~]$ So, I am seeing that in RAC2, CTSS is not working properly . I don't know why it's time Offset is increasing ?
Thanks&Regards
Muhammad Abdul Halim
http://halimdba.blogspot.comDears
I have installed CRS 11.2.0.1 on vmware 1 at redhat 5.3 .
CRS has installed sucessfully without any error. but when execute
[oracle@RAC1 grid]$ ./runcluvfy.sh stage -post crsinst -n RAC1,RAC2 -verbose
Checking if Clusterware is installed on all nodes...
Check of Clusterware install passed
Checking if CTSS Resource is running on all nodes...
Check: CTSS Resource running on all nodes
Node Name Status
RAC2 passed
RAC1 passed
Result: CTSS resource check passed
Querying CTSS for time offset on all nodes...
Result: Query of CTSS for time offset passed
Check CTSS state started...
Check: CTSS state
Node Name State
RAC2 Active
RAC1 Active
CTSS is in Active state. Proceeding with check of clock time offsets on all nodes...
Reference Time Offset Limit: 1000.0 msecs
Check: Reference Time Offset
Node Name Time Offset Status
RAC2 -4700.0 failed
RAC1 0.0 passed
Result: PRVF-9661 : Time offset is NOT within the specified limits on the following nodes:
"[RAC2]"
PRVF-9652 : Cluster Time Synchronization Services check failed
Post-check for cluster services setup was unsuccessful on all the nodes.
[oracle@RAC1 grid]$ After That I checked on RAC1
[oracle@RAC1 ~]$ crsctl check ctss
CRS-4701: The Cluster Time Synchronization Service is in Active mode.
CRS-4702: Offset (in msec): 0
[oracle@RAC1 ~]$
and on RAC2
[oracle@RAC2 ~]$ crsctl check ctss
CRS-4701: The Cluster Time Synchronization Service is in Active mode.
CRS-4702: Offset (in msec): -4700
[oracle@RAC2 ~]$ But when some time ago i checked it was
oracle@RAC1 ~]$
[oracle@RAC1 ~]$ cluvfy comp clocksync -n all
Verifying Clock Synchronization across the cluster nodes
Checking if Clusterware is installed on all nodes...
Check of Clusterware install passed
Checking if CTSS Resource is running on all nodes...
CTSS resource check passed
Querying CTSS for time offset on all nodes...
Query of CTSS for time offset passed
Check CTSS state started...
CTSS is in Active state. Proceeding with check of clock time offsets on all nodes...
Check of clock time offsets passed
Oracle Cluster Time Synchronization Services check passed
Verification of Clock Synchronization across the cluster nodes was successful.
[oracle@RAC1 ~]$
[oracle@RAC1 ~]$
[oracle@RAC1 ~]$ crsctl check ctss
CRS-4701: The Cluster Time Synchronization Service is in Active mode.
CRS-4702: Offset (in msec): 0
[oracle@RAC1 ~]$
[oracle@RAC1 ~]$
and on RAC2 is was
[oracle@RAC2 ~]$ crsctl check ctss
CRS-4701: The Cluster Time Synchronization Service is in Active mode.
CRS-4702: Offset (in msec): -800
[oracle@RAC2 ~]$
[oracle@RAC2 ~]$ crsctl check ctss
CRS-4701: The Cluster Time Synchronization Service is in Active mode.
CRS-4702: Offset (in msec): -800
[oracle@RAC2 ~]$
[oracle@RAC2 ~]$ crsctl check ctss
CRS-4701: The Cluster Time Synchronization Service is in Active mode.
CRS-4702: Offset (in msec): -900
[oracle@RAC2 ~]$
[oracle@RAC2 ~]$ crsctl check ctss
CRS-4701: The Cluster Time Synchronization Service is in Active mode.
CRS-4702: Offset (in msec): -900
[oracle@RAC2 ~]$
[oracle@RAC2 ~]$ crsctl check ctss
CRS-4701: The Cluster Time Synchronization Service is in Active mode.
CRS-4702: Offset (in msec): -1000
[oracle@RAC2 ~]$ So, I am seeing that in RAC2, CTSS is not working properly . I don't know why it's time Offset is increasing ?
Thanks&Regards
Muhammad Abdul Halim
http://halimdba.blogspot.com -
Mouse is not working properly on a one month old HP Pavillion 15-NO28US
I'm sure it's already been talked about on here, but I haven't found a successful fix or the same exact problem as I'm having. I went thru the latest Windows 8.1 update recently (at least I think it was the update) and when I restarted my computer yesterday the mouse was not working properly. Like a lot of other people who are complaining about it, the two-finger scrolling and other similar features are not working, but what really bothers me is the the mouse is almost acting like it was changed to a left handed mouse. I've checked the settings and it is still set on right-handed, but when I click the left mouse button the small window opens up next to where I clicked, which has the copy, delete and paste options (and other regular options) in it. When I click the right mouse button, nothing happens. Double tapping on the touchpad doesn't do anything either. I downloaded and install the latest synaptic drivers and nothing happened. I even performed a system recovery last night to reset all setting and it's still not working. This really sucks because I've only had this computer for about a month and I've already lost everything I've put on it...most importantly all of my school work and music apps. Is there anything to fix this or can anyone tell me what's going on with this stuff, before I have to call into HP and have a melt down?
Hi Kevin3047,
Thank you for your query, I will do my best to assist you!!
I understand that after updating from Windows 8 to 8.1 your mouse is not performing correctly. You have tried the built in troubleshooter but to no avail.
You checked the settings and they appear ok, but when you click the left mouse button the small window opens up next to where you clicked, which has the copy, delete and paste options (and other regular options) in it. When you click the right mouse button, nothing happens. Double tapping on the touchpad doesn't do anything either. I grasp that you did a recovery but it did not help. You also stated you lost your data once, and that in itself is extremely aggravating, I agree.
Here is a step that may help.
Go to the Command Prompt and right click on it to run as Administrator
type sfc /scannow and press enter. This will scan for corrupted files and try to repair them.
Here are links to two documents that may aid with this process.
Troubleshooting Mouse Problems (Windows 8)
Using and Troubleshooting the TouchPad or ClickPad (Windows 8)
Would you also please try a clean boot to see if it persists. Here is a Windows document to assist you.
How to perform a clean boot in Windows
If none of this has alleviated the issue, I suggest you do a Refresh Your PC to Resolve Problems (Windows 8).
If the issue still pesists, I would do a recovery again. You will be prompted during the recovery to backup your personal files to prevent data loss. I would suggest you choose yes, to prevent data loss.
Performing an HP System Recovery (Windows 8)
Restoring Files that were Backed Up Using HP Recovery Manager (Windows 8)
This will take it back to factory. Here is a document on Updating Windows 8 to 8.1 to assist you with doing the update again.
If you are still experiencing the issue, as @visruth stated I would contact HP support for assistance. They are able to remotely log onto your system to help with this difficulty.
Please call HP technical support at 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region HP Technical Support Sitemap.
Good Luck!!
Sparkles1
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping! -
ESS is not working properly after upgrade from 4.7 to ECC6.0
ESS Scenario in 4.7
4.7 Scenario:
The IMG configuration u201CWork and Life Eventsu201D is done to map them with the PZM3 service (Home Page) to get them as different folders/links on the home page as given below:
List of Services used to set up ESS:
Sl.No Functionality Service/EWT/URL Name Standard/ Customized Type
1 Home Page PZM3 Standard Service
2 Inbox BWSP Standard Service
3 Calendar BWCA Standard Service
4 Whou2019s Who PZ01 Standard Service
5 CPF Display http://192.168.0.2:7070/omcpf NA URL
6 Payslip Display ZPAYSLIP_USER Customized Service
7 Section 80C PZ88 Standard EWT
8 Section 80 PZ80 Standard EWT
9 Form 16 HRESSIN_F16 Standard EWT
10 Address PZ02 Standard EWT
11 Bank Information PZ03 Standard Service
12 Open Appraisals Not Available NA Service
13 Emergency Address PZ05 Standard EWT
14 Family/Dependents PZ12 Standard EWT
15 Personal Data PZ13 Standard EWT
16 Previous Employers PZ28 Standard EWT
17 Apply Leave WS20000081 Standard Service
18 Leave Overview WS01000109 Standard Service
19 Leave Balance PZ09 Standard Service
20 Loan Application ZLOAN Customized Service
ECC6.0 Scenario:
In ECC6.0, flow based services are no more supported by ECC6.0 and Dynpro based services are supported.PZM3 (Home Page) is a flow based service.
There is no replacement provided for PZM3 service, so the IMG configuration is not possible for u201CWork and Life Eventsu201D.
OSS ticket raised, but no solution for IMG u201CWork and Lifeu201D events.
List of Services would be used to set up ESS:
Sl.No Functionality Service/EWT/URL Name Standard/ Customized Type
1 Home Page PZM3 Standard service
1)this service is not available
2)SAP does not provide any replacement.
3)PZM3 is not supported in Integrated ITS. No direct solution proposed.
4)Given reference of few notes.
5) A dynpro (module pool screen) based IAC needs to be created and links need to be provided on that screen. Generated HTML page is modified to access the services via URL or by OKCODE.
Screenshot attached below.
2 Whou2019s Who PZ01 Standard Service
1)this service Available
2)Not Working properly.
3) The problem may be because of the dependency with SAP Query. Either Query is missing in the new system or not having the proper authorization. Needs to be debugged and finalized.
7 Section 80C PZ88 Standard EWT Available
8 Section 80 PZ80 Standard EWT Available
9 Form 16 HRESSIN_F16 Standard EWT Available
10 Address PZ02 Standard EWT Available Only EWT Available. Service needs to be created to access the EWT.
11 Bank Information PZ03 Standard Service Available EWT Available. Service needs to be created to access the EWT.
12 Open Appraisals Not Available NA Service EWT Available. Service needs to be created to access the EWT.
13 Emergency Address PZ05 Standard EWT Available EWT Available. Service needs to be created to access the EWT.
14 Family/Dependents PZ12 Standard EWT EWT Available. Service needs to be created to access the EWT.
15 Personal Data PZ13 Standard EWT EWT Available. Service needs to be created to access the EWT.
16 Previous Employers PZ28 Standard EWT Service Available
17 Apply Leave WS20000081 Standard Service Available, but not working No solution is proposed yet.
18 Leave Overview WS01000109 Standard Service Available, but not working No solution is proposed yet.
19 Leave Balance PZ09 Standard Service Available, but not working No solution is proposed yet.Ya ramakrishna,
Even easier is for you to send us the mail ID of your client. We will do the work, then send them an idoc of message type INVOICE and for you a post card of course.
Please do the needfull,
Julius -
Browser is not working properly
default browser is not working properly .....
closed on few second !!!!!!!
what the solution?Hi and Welcome to the Community!
Anytime random strange behavior or sluggishness shows up, the first thing to try is a proper reboot:
Pre-BB10 Devices ONLY. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes.
BB10 Devices. Hold the top button down until the counter reaches zero. Wait for the device to be fully shut down (e.g., nothing at all displayed on the screen, no LED lights, etc.). Hold the top button until the red LED is lit. Wait through the full boot-up process. If this fails, you can attempt the battery-pull method above, but it is normally NOT recommended unless nothing else works.
See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
Good luck!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Hi,
In the 12.1.8 SP 05, when the iGrid cell values set through the java script, the rendering part is not working.
For example,
The data set returned by iCommand has 25 rows.
Java script sets the values in the iGrid from each row.
The application was working well with 12.1.8 SP02. The same application is not working properly now.
the error from the java script show this as java.lang.NullPointerException.
For the same set of data, this error is occurring sometimes at the third row, sometimes in the middle and sometimes in the end.
The java console is quite consistent. The same error occurs multiple times.
I have given the error in the end.
After the grid loaded, the script tries to set the cell values. some time only a single line has values and some time 4 to 5 lines has values for the same data set. The lines are not shown to the user. When he moves away from that page and comes back all the 25 lines are seen, mostly without values.
Is anyone working with 12.1.8 SP05 patch? The Xacute Query string output size is 64K in the SP02. In SP04 and SP05 this issue is fixed. This needs to be implemented. But in SP 03, IGrid functionality is refactored.
The SAP notes number: Note 1566572 - MII 12.1 SP08 Patch03 says,
Re-factored iGrid to improve datatype handling
Notes number for SP04: Note 1581779 - MII 12.1 SP08 Patch04
Notes number for SP05: Note 1586551 - MII 12.1 SP08 Patch05
If you have upgraded into the latest version of 12.1, are you facing the similar problem?
The java Console error:
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
at com.sap.xmii.applet.grid.renderers.MultiLineRenderer.setValue(MultiLineRenderer.java:60)
at com.sap.lhcommon.gui.table.TableMultiLineCellRenderer.getTableCellRendererComponent(TableMultiLineCellRenderer.java:129)
at javax.swing.JTable.prepareRenderer(Unknown Source)
at com.sap.lhcommon.gui.table.BaseTable.prepareRenderer(BaseTable.java:560)
at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
at javax.swing.plaf.ComponentUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(Unknown Source)
at com.sap.xmii.applet.grid.base.types.BaseGrid.paintComponent(BaseGrid.java:947)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JViewport.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Thanks and Regards,
Kishore kumar P SHi Jamie,
SAP has proposed a solution not to check the word wrap in the Grid.
The iCommand data call was happening with Creation event of iGrid.
Now changed to FirstUpdateEvent. This works fine.
Thanks and Regards,
Kishore kumar P S
problem resolved
Edited by: kishore kumar on Jul 12, 2011 3:33 PM -
Hello
First of all I new to weblogic world and started using it recently, the issue which we are facing is that we had a doc given by our client to create a weblogic JMS uniform distributed destination with queue. We followed it and everything came up properly. In our test env we have 2 Physical Machines on which each machine has a one node in a cluster and then we created JMS servers, connection factory with UDD. We started the nodes everything comes up properly.
But the issue starts when we tested it for the load balancing which I believe is a feature of UDD is not working properly. All the messages are going to the same node. The same documentation has been used by our client several times and it works fine for them.
What is the issue with our configuration? I have gone through the doc many times but cant find the issue.
Please help us.Hi,
I think there might be some issue with the communication between the 2 machines, check that out also check if you have disabled the Server Affinity Enabled
Below links might help you in your issue.
Topic: JMS Demo using WebLogic Uniform Distributed Queue (UDQ)
http://middlewaremagic.com/weblogic/?p=3759
Topic: Steps to Configure Uniform Distributed Queue (UDQ) on Weblogic Server
http://middlewaremagic.com/weblogic/?p=3747
Hope this would help you.
Regards,
Ravish Mody
http://middlewaremagic.com/weblogic/
Come, Join Us and Experience The Magic…
Maybe you are looking for
-
Dear All, I am trying to delete a bex query using tcode RSZDELETE and i also tried deleting directly from table RSZCOMPDIR. i am unable to delete.....is there any other option??????????/ Regards, SV BHALAJI
-
My emails are not coming through to my blackberry phone....
My emails are not coming through to my blackberry phone. I think it is because I changed my password to my email?
-
IPhone 6 plus videos won't clear
Hello All, My son's iPhone 6 plus shows 408 videos and his storage shows full however we've deleted all photo's and videos from his device. He's on iOS 8.2 He uses the GoPro app for most of his videos. We've deleted the app and the folder under his
-
I select image in LR2.7 to edit in PS6. It launches PS6 but image does not come through. It comes up with message "the file could not be edited because CS6 could not be launched" when in fact it has launched CS6 but not the image. I have uninstalle
-
Selection screen: Mandatory fields
Hi, As we all know, If the fields in a selection screen are mandatory, there will be a small tick box inside that field. Suppose if a field is not mandatory(obligatory), can we still push a tick box symbol to those fields. Is there a way to push the