Facing problem while using Thread analyzer in Sunstudio 12
Hello all
I am new in Sunstudio 12. I am using Linux RedHat enterprise 5 (*Hardware configuration: Intel Pentium 4 , 2.40GHz, 1GB RAM*)
I am trying run a sample program for deadlock detection as described in [http://docs.sun.com/app/docs/doc/820-0619/6ncbk8g78?a=view|http://docs.sun.com/app/docs/doc/820-0619/6ncbk8g78?a=view]
I used the following commands:
*./cc din_Philo.c -mt -g*
*./collect -r deadlock a.out*
But I got the following message:
WARNING: Linux-32-bit, 1 CPUs, RH_Server_5 system localhost is not supported by the Performance tools.
WARNING: Data collection may fail: system is not properly configured or is unsupported.
Creating experiment database tha.1.er ...
execvp of a.out failed: No such file or directory
What is the problem?? Is it related to operating system?? or Is it related hardware??
Any idea??
Thanks in advance
Nasif
Sun Studio 12 is supported on RedHat Enterprise 4, but you have version 5. So yes, it is related to the operating system.
Some (or even all) components on Sun Studio might work on an unsupported system, but they are not guaranteed to and besides, might fail in some situations. Collector and dbx are most OS-sensitive components on Sun Studio, so I'd expect you are likely to run into compatibility problems when using collector on RHat 5.
From the other hand, your immediate problem might not be related to OS compatibility. It looks like the system simply refuses to look for a.out in current directory.
Try changing the second command to
./collect -r deadlock ./a.out(BTW, do you really keep a.out inside Sun Studio's installation directory? It must be really inconvenient as you might accidentally delete some parts of Sun Studio instead of your build's scratch files).
Similar Messages
-
Facing problem while using apps world and games
Hi ,
i bought blackberry z3 1 week ago, when i want to download apps from blackberry world its show a message that " AN ERROR OCCURED WHILE PROCESSING YOUR REQUEST "
AND OTHER PROBLEM WHILE GOING TO GAMES APPS IT SHOWS THAT "AN ERROR OCCURED.PLEASE TRY AGAIN LATER( SC_HTTP_server_ERROR).
PLS HELP ME AS SOON AS POSSIBLE.
THANK YOUHi and Welcome to the Community!
First:
http://kathrynvercillo.hubpages.com/hub/What-People-Think-When-You-Type-in-All-Caps
Now, please try this process.
With a strong carrier network signal (e.g., not merely WiFi), I suggest the following steps, in order, even if they seem redundant to what you have already tried (step 1 should result in a message coming to your BB...please wait for that before proceeding to the next step):
1) Register HRT
KB00510 How to register a BlackBerry smartphone with the wireless network
Please wait for one "registration" message to pop up
2) Reboot
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 a harsher method by holding down the up/down volume keys together until the device has fully shut down.
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.
Hopefully that will get things going again for you.
Good luck and let us know!
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 -
Facing problem while using aggregate functions.
I am trying to use aggregate functions such as sum, count in my CQL query.
It is not giving me an error but i am unable to get the correct output out of that.
Query is:
<?xml version="1.0" encoding="UTF-8"?>
<wlevs:config xmlns:wlevs="http://www.bea.com/ns/wlevs/config/application"
xmlns:jdbc="http://www.oracle.com/ns/ocep/config/jdbc">
<processor>
<name>APL_EFW_CostEvent_Processor</name>
<rules>
<view id="CostEventView"
schema="eventName eventType eventId opportunityStatusId opportunity_cost APL_Event_Inbound"><![CDATA[
SELECT X.eventName, X.eventType,
X.eventId, X.opportunityStatusId,
X.opportunity_cost,X.APL_Event_Inbound
from APL_EFW_Master_Inbound_Channel
XMLTable (
'/' PASSING BY VALUE APL_EFW_Master_Inbound_Channel.APL_Event_Inbound as "."
COLUMNS
eventId char(256) PATH 'fn:data(Event/EventHeader/eventId)',
eventName char(256) PATH 'fn:data(Event/EventHeader/eventName)',
eventType char(256) PATH 'fn:data(Event/EventHeader/eventType)',
opportunityStatusId char(256) PATH 'fn:data(Event/ApplicationDataArea/opportunity/opportunity_details/opportunity_status)',
opportunity_cost char(256) PATH 'fn:data(Event/ApplicationDataArea/opportunity/opportunity_details/opportunity_cost)',
APL_Event_Inbound xmltype path '/'
) AS X
]>
</view>
<query id="CostEventQuery">
<![CDATA[
SELECT
XMLELEMENT("opportunity",
XMLELEMENT("cost_opportunity",
XMLFOREST(X.opportunity_cost))) as APL_Event_Inbound
FROM CostEventView
MATCH_RECOGNIZE (
MEASURES
A.opportunity_cost as opportunity_cost
PATTERN (B A+) within 30000 milliseconds
DEFINE
A as sum(A.opportunity_cost)> 1000 )
as X
]]>
</query>
</rules>
</processor>
</wlevs:config>
The problem i am getting is when the value is getting compared with the opportunity cost rather than with the sum of oppCost
A as sum(A.opportunityCost)>1000
A as A.opportunityCost >1000
Both the cases are treated as same .It would help if you could provide sample input data and associated output that illustrates the problem
-
Facing problem while using JDBC Storage option in FileStoreProvider
HI all,
We are using oracle 11.1.1.6.0 version and 11.2.0.1.0 of Oracle Database 11g Enterprise Edition.
In order to use the JDBC storage option , we are follwing the below steps:
1. On your Content Server instance, install and enable the FileStoreProvider component.
2. Configure FileStoreProvider to create a JDBC storage rule as desired.
3. Upon restart of Content Server, FileStoreProvider will create the table to store files.
4. Log into the database instance for Content Server
5. Drop the filestorage table created by FileStoreProvider (which uses Basic LOBs)
6. Recreate the filestorage table to leverage SecureFiles.
Here is a *sample*
CREATE script: CREATE TABLE filestorage ( DID number(38), DRENDITIONID VARCHAR2(30), DLASTMODIFIED TIMESTAMP(6), DFILESIZE NUMBER(38), DISDELETED VARCHAR2(1), BFILEDATA BLOB, CONSTRAINT PK_FILESTORAGE PRIMARY KEY (DID, DRENDITIONID)) LOB(BFILEDATA) STORE AS SECUREFILE TABLESPACE ;
Now when we checked in a new item in the content server, the details of the content is not getting updated in the DB.
Please provide your inputs. Do we need to do any other configuration changes?
Thanks in advance,Could you please specify what you mean by "the details of the content is not getting updated in the DB"?
Does it mean that the checkin service fails? Or, it succeeds (you can verify from gui that both metadata and content were updated), but you cannot find updates in the database? -
Facing problem while using the objects
hi im new user here . and i have download the so many objects. but i dont know how to use them in dreamweaver and where i shud paste them to use in my website kindly someone help me in this regard i will be really thankfull to you. i will wait for your kind replies
Please post in the Dreamweaver forum.
-
i am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g
hi TimoHahn,
i am getting following exception in JDeveloper(11g release 2) Studio Edition Version 11.1.2.4.0 but it works perfectly fine in JDeveloper 10.1.2.1.0
Root cause of ServletException.
java.lang.NullPointerException
at java.util.PropertyResourceBundle.handleGetObject(PropertyResourceBundle.java:136)
at java.util.ResourceBundle.getObject(ResourceBundle.java:368)
at java.util.ResourceBundle.getString(ResourceBundle.java:334)
at org.rbi.cefa.master.actionclass.UserAction.execute(UserAction.java:163)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) -
Facing Problems while Browsing.
Hello Everyone,
I'm facing problems while browsing anything through my BlackBerry Brower. The error I get is: Hello Everyone,
I'm facing problem while browsing anything through BlackBerry Brower. The error I get is: “Timeout occurred while processing the operation.”
Mainly I open is Facebook, Twitter and Google and I get this error everytime.
Model: Curve 9360
OS: 7.1
Regards,
JasbirHi and Welcome to the Community!!
I suggest the following steps, in order, even if they seem redundant to what you have already tried (steps 1 and 2 each should result in a message coming to your BB...please wait for that before proceeding to the next step):
1) Register HRT
KB00510 How to register a BlackBerry smartphone with the wireless network
Please wait for one "registration" message to arrive to your Messages app
2) Resend Service Books
KB02830 Send the service books for the BlackBerry Internet Service
Please wait for "Activation" Messages, one per already configured email account, to arrive in your Messages. If you have no already configured email accounts, please wait 1 hour.
3) Batt Pull Reboot
Anytime random strange behavior or sluggishness creeps in, the first thing to do is a battery pop reboot. 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. 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.
Hopefully that will get things going again for you! If not, then you should contact your mobile service provider for formal support.
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 -
Facing problem while going to catch return result from web-services.
Hi everybody,
I am new to BPEL. I am facing problem while going to catch the attributes of resultsets returning from web-services(QAS). As far as my knowledge, two types of results it should return - XML entities and another is attributes which is coming as the part of XML entitites. I am able to catch the XML entities, but can't catch the attributes under it. Even, I am not able to see whether web-services returning something within that field.
When, I tried to catch the attribute and store to a temporary varilable using the following code:
*<assign name="AssignQASDoGetAddress1">*
*<copy>*
*<from variable="InvokeQAS_DoSearch_OutputVariable"*
part="body"
query="/ns6:QASearchResult/ns6:QAPicklist/ns6:PicklistEntry/@PostcodeRecoded"/>
*<to variable="temp"/>*
*</copy>*
*</assign>*
but, I am facing the following selectionFailure errors after running it:
*"{http://schemasxmlsoap.org/ws/2003/03/business-process/}selectionFailure" has been thrown.*
-<selectionFailure xmlns="http://schemasxmlsoap.org/ws/2003/03/business-process/">
-<part name="summary">
*<summary>*
empty variable/expression result.
xpath variable/expression expression "bpws:getVariableData('InvokeQAS_DoSearch_OutputVariable', 'body', '/ns6:QASearchResult/ns6:QAPicklist/ns6:PicklistEntry/@PostcodeRecoded')" is empty at line 269, when attempting reading/copying it.
Please make sure the variable/expression result "bpws:getVariableData('InvokeQAS_DoSearch_OutputVariable', 'body', '/ns6:QASearchResult/ns6:QAPicklist/ns6:PicklistEntry/@PostcodeRecoded')"is not empty.
*</summary>*
*</part>*
*</selectionFailure>*
Getting this error it seems to me that web-service is returning nothing, but, it returns something as it has been catched using a method called isPostcodeRecoded() Java Code in Oracle ADF. This method has been used as it should return boolean whereas for catching the xml entities using java code we used the method like getPostcode(), getMoniker().
For your information, we are using Jdeveloper as the development tool for building the BPEL process.
Am I doing any syntax error. Please consider it as urgent and provide me asolution.
Thanks in advance.
Chandrachur.Thanks Dave and Marc, for your suggestions. Actually what I found is QAS web-service is returning nothing as attributes when the attributes are set to the default value. For example, following is the part of the wsdl of the result which QAS webservice returns.
<xs:element name="QASearchResult">
- <xs:complexType>
- <xs:sequence>
<xs:element name="QAPicklist" type="qas:QAPicklistType" minOccurs="0" />
<xs:element name="QAAddress" type="qas:QAAddressType" minOccurs="0" />
</xs:sequence>
<xs:attribute name="VerifyLevel" type="qas:VerifyLevelType" default="None" />
</xs:complexType>
</xs:element>
<xs:complexType name="QAPicklistType">
- <xs:sequence>
<xs:element name="FullPicklistMoniker" type="xs:string" />
<xs:element name="PicklistEntry" type="qas:PicklistEntryType" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="Prompt" type="xs:string" />
<xs:element name="Total" type="xs:nonNegativeInteger" />
</xs:sequence>
<xs:attribute name="AutoFormatSafe" type="xs:boolean" default="false" />
<xs:attribute name="AutoFormatPastClose" type="xs:boolean" default="false" />
<xs:attribute name="AutoStepinSafe" type="xs:boolean" default="false" />
<xs:attribute name="AutoStepinPastClose" type="xs:boolean" default="false" />
<xs:attribute name="LargePotential" type="xs:boolean" default="false" />
<xs:attribute name="MaxMatches" type="xs:boolean" default="false" />
<xs:attribute name="MoreOtherMatches" type="xs:boolean" default="false" />
<xs:attribute name="OverThreshold" type="xs:boolean" default="false" />
<xs:attribute name="Timeout" type="xs:boolean" default="false" />
</xs:complexType>
<xs:complexType name="PicklistEntryType">
- <xs:sequence>
<xs:element name="Moniker" type="xs:string" />
<xs:element name="PartialAddress" type="xs:string" />
<xs:element name="Picklist" type="xs:string" />
<xs:element name="Postcode" type="xs:string" />
<xs:element name="Score" type="xs:nonNegativeInteger" />
</xs:sequence>
<xs:attribute name="FullAddress" type="xs:boolean" default="false" />
<xs:attribute name="Multiples" type="xs:boolean" default="false" />
<xs:attribute name="CanStep" type="xs:boolean" default="false" />
<xs:attribute name="AliasMatch" type="xs:boolean" default="false" />
<xs:attribute name="PostcodeRecoded" type="xs:boolean" default="false" />
<xs:attribute name="CrossBorderMatch" type="xs:boolean" default="false" />
<xs:attribute name="DummyPOBox" type="xs:boolean" default="false" />
<xs:attribute name="Name" type="xs:boolean" default="false" />
<xs:attribute name="Information" type="xs:boolean" default="false" />
<xs:attribute name="WarnInformation" type="xs:boolean" default="false" />
<xs:attribute name="IncompleteAddr" type="xs:boolean" default="false" />
<xs:attribute name="UnresolvableRange" type="xs:boolean" default="false" />
<xs:attribute name="PhantomPrimaryPoint" type="xs:boolean" default="false" />
</xs:complexType>
here the attributes like FullAddress, PostcodeRecodedare , etc. are not being return by the web-service when it is getting the default value false. But, if it gets true then , it is being displayed at the BPEL console.
Do you have any idea how can I catch the attributes and its value even when it gets the default value which is already set. Previously, it was returning(it was not being displayed at the console).
Thanks once again for your valuable suggestions...!!!
Chandrachur. -
i am facing problems while openin an application in facebook and other places.when i go to the application,an error shows and firefox closes autmatically either i send error reports or dont.....plz help
Notes:
1) Please use the code tags when posting code or JNLP/HTML. It helps to retain indentation and avoids asterisks and plus sings being interpreted as formatting marks. To do that, select the code/JNLP etc. and click the CODE button seen on the Plain Text tab of the message posting form.
2) That launch file is invalid. You might check it (and the project in general) using JaNeLA.
3) The only place that SimpleSerial class could be, that the JRE would find, is in the root of aeon.jar. Is it actually there? -
Hi Experts , I am currently facing problems while running restricted version copy in sap apo .. The log says 0 location products copied and that the process has timed out. the error message is " /SAPAPO/MVM_INT_SVC_CO_VER_LCW reported exception in task DP00014 " , then ending in time limit exceeded. could anyone explain why this happens. please note even if the log says 0 location products copied , in reality they have have been partially copied.
Regards
JerelHi, thank you for your replies, I found out few things about my servlet, and its portability
and i have few questions, although i marked this topic as answered i guess its ok to post
I am using javax.servlet.context.tempdir to store my files in that servletcontext temporary directory. But i dont know how to give hyperlink
of the modified files to the user for them to download the modified files.
What i am using to get the tempdir i will paste
File baseurl = (File)this.getServletContext().getAttribute("javax.servlet.context.tempdir");
System.out.println(baseurl);
baseurl = new File(baseurl.getAbsolutePath()+File.separator+"temp"+File.separator+"files");
baseurl.mkdirs();so i am storing my files in that temp/files folder and the servlet processes them and modifies them, then how to present them as
links to the user for download ?
and as the servlet is multithreaded by nature, if my servlet gets 2 different requests with same file names, i guess one of them will be overwritten
And i want to create unique directory for each request made to the servlet , so file names dont clash.
one another thing is that i want my servlet to be executed by my <form action> only, I dont want the user to simply type url and trigger the servlet
Reply A.S.A.P. please..
Thanks and regards,
Mihir Pandya -
Facing problems while mapping fields in LSMW.
Hi Friends,
i got a requirement to upload the address. Address is in
flat file.requirement is to use LSMW with object 0602 and the
standard report program is RSADRLSM02.This standard report
program uses the structures for uploading are ADR_LSM0 to
ADR_LSM6.But i have some fields in the source structure are
not at all related to the fields in destination structure(i.e ADR_LSM0 to ADR_LSM6)therefore i am facing problem while
mapping the source and destination fields.is there any other
way to map the fields.Please help me it's very urgent.
Thanks in advance.
Regards,
Sumiti Gupta.Thanks for the reply santosh.
GIS FIELD SAP LOCATION
ADDR_GID(10char) EXADR-KUNNR
STR_NO(10) ADR_LSM0-STRT_CODE
STR_NAME (42) ADR_LSM0-STREET
ADDRESS_UNIT(7) ADR_LSM0-HOUSENUM_H
and
ADR_LSM0-HOUSENUM_L
ADDRESS_UNIT_TYPE(5) EVBSD-VBSART
POST_CODE (10) ADR_LSM0-POST_CODE
MUNI_NAME (40) EXADR-APPLDATA
MAILING_CITY(60) ADR_LSM0-CITY_NAME
MAP_PAGE(4) EADRSTRTGRID_GRID_ID
EVAC_ZONE(1) EVBSD-ZEVAC
PIN_NUM (18) EHAUD-PLTXT
in the above fields the structure with ADR_LSM0 are found with the other fields i m not able to find the similar fields in the destination structure.Please help me.
Regards,
Sumiti Gupta. -
Problem while using trigger from line of 6534
I have faced some problems while using triggering with 6534. They are listed below. Please provide solution me.
1. ) i was using pattern input with triggering(buffered) in which i am using the example given in library buffered pattern input-triggered.vi
Now i am using port 0 to take input. From line 0 of port 2 i want to generate a pulse which can trigger the operation & start acquisition. For that i am using write to single line.vi . My DPULL is open so bydefault the line will be at low level & by vi i will make it high which will trigger the operation.
In normal condition if we use write to a single line.vi it will write the given status on that line within a fraction of second and abort execution. But when i am usin
g it for trigger in following manner, it did not work.
First i started the VI buffered pattern input-triggered.vi.I have configured the start trigger with leading edge trigger. I have set the time limit properly.Synchronous operation is set at the front panel of vi.
Now if start the write to a single line.vi to give start trigger, nether it triggered the operation,nor it abort execution of single line write vi.When time out occured in triggered vi, then both vis stopped simultaneously. Why this happened?
2.) Similar problem i faced when i wanted to perform the change detection.vi Port 0 is configured for input.Line 1 to 7 are fixed with some status by connecting them to Vcc or GND. I have connected port 0 line 0 with port 2 line 0. So when i change status of line 0 of port 2 change detection should be occured o port 0. i am changing the status of line 0 of port 2 by write to a single line.vi But here i faced same problem as first that it was not writing to port 0 line 0. And bo
th process stopped when time limit occured in change detection vi.
So what can be the problem? Please help me.Hi Vishal,
1) You should check to see that when you are writting a static 1 to line 0 you see a pulse high. You should also make sure that you wire this line to the STARTTRIG for group 0.
2) If you solve question 1 you will also have question 2 solved.
It might be helpful to create a program that configures both programs (pattern I/O on port 0 and static I/O on port 2) in the same program and then starts both groups. I would do a little testing to see exactly what signals you do or do not see.
Ron -
Problem while using h:selectOneMenu tag
Hello All,
I am facing a problem while using the <h:selectOneMenu in my JSP.
My requirement is as below,
I am having a list of manager in the select box.
User will select any of the manager and click a command link to assign the manager.
On click of this command link backerbean method should be invoked.
My problem is,
I am able to display the list box without any problem.
But Once I select any value from the list box the command link is not working.
That is click on the command link is not invoking the backer bean method.
My code look as below,
JSP
<td>
<h:selectOneMenu value="#pc_EmployeeDetailsView.assignedMgrPositionId}" id="assignedMgrPositionId" style="width: 170px">
<f:selectItems value="#{pc_EmployeeDetailsView.managerList}" />
</h:selectOneMenu>
</td><td>�</td>
<td><h:commandLink action="#pc_EmployeeDetailsView.assignManager}" onmousedown="setEditAction('assign');">
<h:outputText value="Assign"></h:outputText>
</h:commandLink></td>Backer Bean
SelectItem managerSelectItem = new SelectItem("0","Select Manager");
ArrayList managerSelectItemList = new ArrayList();
managerSelectItemList.add(managerSelectItem);
int managerListSize = managerSearchList.size();
for (int i=0; i<managerListSize; i++) {
Employee manager = (Employee) managerSearchList.get(i);
managerSelectItem = new SelectItem(StringUtils.isNotEmpty(manager.getOrgInfo().getPositionNumber())?manager.getOrgInfo().getPositionNumber():"",StringUtils.isNotEmpty(manager.getFullDisplayName())?manager.getFullDisplayName():"");
managerSelectItemList.add(managerSelectItem);
setManagerList(managerSelectItemList);Please help me on this.
Thanks In AdvanceI have solved this problem by putting the list in portlet session and allowing the get method to get the SelectItem from the session
-
Volume problem while using headphone
when I use my headphone I have no problem while talking on phone but when I try to listen to music or watch you tube I cannot hear the left side. I restored iphone and got replacement but same problem. I changed headphones but that wasent the problem as well. please help!
s. laxnars wrote:
I am facing some problem while using preparedStatement.setNull while using Bea's Orale XA Driver, the same code works fine with oracle XA driver,
Can any one plz help on this.
Here the code
String insertIntoTestRequestQuery = "Insert into A values(?,?,?)";
PreparedStatement dbInsertStatement = connection.prepareStatement(insertIntoTestRequestQuery);
dbInsertStatement.setLong(1, 3L);
dbInsertStatement.setString(2,"test");
dbInsertStatement.setNull(3,java.sql.Types.NULL);
I am using Weblogic 9.2 with Oracle 9i
here the Spy Log
spy>> PreparedStatement[163].setNull(int parameterIndex, int sqlType)
spy>> parameterIndex = 1
spy>> sqlType = 0
spy>> java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver. ErrorCode=0 SQLState=HY004
java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver.
at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
at weblogic.jdbc.base.BasePreparedStatement.validateSqlType(Unknown Source)
at weblogic.jdbc.base.BasePreparedStatement.setObjectInternal(Unknown Source)
at weblogic.jdbc.base.BasePreparedStatement.setNull(Unknown Source)
at weblogic.jdbcx.base.BasePreparedStatementWrapper.setNull(Unknown Source)
at weblogic.jdbcspy.SpyPreparedStatement.setNull(Unknown Source)
at weblogic.jdbc.wrapper.PreparedStatement.setNull(PreparedStatement.java:491)Hi. This is a known issue. Call official BEA support and open a case
so you will be notified when a new driver will have the fix. In the
meantime, if you set the Type to correspond to the DBMS's column type,
it will work. In fact, I'll bet that if you just set the Type to VARCHAR
it will work, regardless of the actual column type...
Joe -
Problem while using BEA's Oracle Driver
I am facing some problem while using preparedStatement.setNull while using Bea's Orale XA Driver, the same code works fine with oracle XA driver,
Can any one plz help on this.
Here the code
String insertIntoTestRequestQuery = "Insert into A values(?,?,?)";
PreparedStatement dbInsertStatement = connection.prepareStatement(insertIntoTestRequestQuery);
dbInsertStatement.setLong(1, 3L);
dbInsertStatement.setString(2,"test");
dbInsertStatement.setNull(3,java.sql.Types.NULL);
I am using Weblogic 9.2 with Oracle 9i
here the Spy Log
spy>> PreparedStatement[163].setNull(int parameterIndex, int sqlType)
spy>> parameterIndex = 1
spy>> sqlType = 0
spy>> java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver. ErrorCode=0 SQLState=HY004
java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver.
at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
at weblogic.jdbc.base.BasePreparedStatement.validateSqlType(Unknown Source)
at weblogic.jdbc.base.BasePreparedStatement.setObjectInternal(Unknown Source)
at weblogic.jdbc.base.BasePreparedStatement.setNull(Unknown Source)
at weblogic.jdbcx.base.BasePreparedStatementWrapper.setNull(Unknown Source)
at weblogic.jdbcspy.SpyPreparedStatement.setNull(Unknown Source)
at weblogic.jdbc.wrapper.PreparedStatement.setNull(PreparedStatement.java:491)s. laxnars wrote:
I am facing some problem while using preparedStatement.setNull while using Bea's Orale XA Driver, the same code works fine with oracle XA driver,
Can any one plz help on this.
Here the code
String insertIntoTestRequestQuery = "Insert into A values(?,?,?)";
PreparedStatement dbInsertStatement = connection.prepareStatement(insertIntoTestRequestQuery);
dbInsertStatement.setLong(1, 3L);
dbInsertStatement.setString(2,"test");
dbInsertStatement.setNull(3,java.sql.Types.NULL);
I am using Weblogic 9.2 with Oracle 9i
here the Spy Log
spy>> PreparedStatement[163].setNull(int parameterIndex, int sqlType)
spy>> parameterIndex = 1
spy>> sqlType = 0
spy>> java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver. ErrorCode=0 SQLState=HY004
java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver.
at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
at weblogic.jdbc.base.BasePreparedStatement.validateSqlType(Unknown Source)
at weblogic.jdbc.base.BasePreparedStatement.setObjectInternal(Unknown Source)
at weblogic.jdbc.base.BasePreparedStatement.setNull(Unknown Source)
at weblogic.jdbcx.base.BasePreparedStatementWrapper.setNull(Unknown Source)
at weblogic.jdbcspy.SpyPreparedStatement.setNull(Unknown Source)
at weblogic.jdbc.wrapper.PreparedStatement.setNull(PreparedStatement.java:491)Hi. This is a known issue. Call official BEA support and open a case
so you will be notified when a new driver will have the fix. In the
meantime, if you set the Type to correspond to the DBMS's column type,
it will work. In fact, I'll bet that if you just set the Type to VARCHAR
it will work, regardless of the actual column type...
Joe
Maybe you are looking for
-
I downloaded the new version of itunes and when i plug my phone into the computer and try and do something in itunes it wont let me because my device is synced to another itunes library. how do i get my old itunes back? or how can i sync my stuff int
-
If I open a new document in Photoshop CS4 11.0 or 11.0.1 for Windows (on Windows XP SP3 home edition) and then try to save it, Photoshop window disappears (I guess the program crashes, although no Widows crash dialogue is displayed). Workaround: If I
-
How can I active my iPhone 4?
I bought an iPhone 4 in VietNam along time ago. I don't know where was it sold and which carrier is it belonged. So i can't active it. Anyone tells me which carrier is it belonged, please. Its model is MC319LL/A (I tried to active with an AT&T sim bu
-
The inspector stopped working after update
The inspector stopped working after an update. When I click on the inspector button it says "An unexpected error has occured. Please quit and reopen Keynote." Quitting and reopening Keynote does not fix the problem. Inspector does not work in Pages e
-
I've had CS5 since around when it first came out and this is the second time I've gotten a project requiring me to get deep into Photoshop. It has been quite frustrating this time as I am finding bugs (in InDesign too but I already posted about that)