Error While trying to Float a Portlet
I am trying to float a JSR 168 Portlet by creating a Standalone Portlet Url tag
< a href="<render:standalonePortletUrl/>" id="floaturl">Float</a >
the url formed is something like this...
http://emagwsd02.corpny.csfb.com:1156/bPortal/portlets/customizedReporting/ReportingPlatformPortlet.portlet?_windowLabel=ReportingPlatformPortlet_5&
portlet.title=%3Cspan+id%3D%27Ct_ReportingPlatformPortlet_5%27%3EReporting+Platform+Portlet%3C%2Fspan%3E&
_portlet.skeleton=UNO&
_portlet.skeletonPath=%2Fframework%2Fskeletons&
_portlet.skin=UNO&
portlet.skinPath=%2Fframework%2Fskins%2F&portlet.themeName=borderless_crystal&
_portlet.themeAltSkeleton=true&
_portlet.themeAltSkin=true&
portlet.themeSkeletonPath=%2Fframework%2Fskeletons%2FUNO%2Fborderlesscrystal&
portlet.themeSkinPath=%2Fframework%2Fskins%2FUNO%2Fborderlesscrystal
The problem that I am facing is that, when I try to open the url,
the Page throws a Java script error ( Object Required ) at the following line
< span class="bea-portal-theme-borderless_crystal" >
in the JSP.
any help or info on this is appreciated.
Thanks
GVS
Message was edited by:
gvsc
JavaScript != javareplace or redirect ??
Similar Messages
-
Errors while trying to deploy email portlet
Hi,
I am using Oracle JDeveloper 10.1.3. I am trying to register a portlet. The provider validation was unsuccessful. When trying to run it I get the following error messages:
XML processing error: unable to create object of type edu.umt.portal.custom.CustomRenderCSS due to the following exception: oracle.classloader.util.AnnotatedClassNotFoundException: Missing class: edu.umt.portal.custom.CustomRenderCSS Dependent class: oracle.portal.utils.xml.v2.DefaultNodeHandler Loader: current-workspace-app.web.ceaiWebmailWeb:0.0.0 Code-Source: /C:/jdev/jdev/mywork/ceaiWebmail/ceaiWebmailWeb/public_html/WEB-INF/lib/ptlshare.jar Configuration: WEB-INF/lib/ directory in C:\jdev\jdev\mywork\ceaiWebmail\ceaiWebmailWeb\public_html\WEB-INF\lib This load was initiated at current-workspace-app.web.ceaiWebmailWeb:0.0.0 using the Class.forName() method. The missing class is not available from any code-source or loader in the system.
can you help me in figuring out what is the problem.
Thanks
AbhishekHi Democritos,
Often this kind of error appears when you are trying to deploy to the PDA target something that the PDA does not support.
I would start from this two document.
Why Do I Receive An Unknown Error When Building a LabVIEW VI For PDA?
How Can I Tell What Features for Controls and Indicators are Supported in the LabVIEW PDA Module?
Another source of the same cryptic error message can be an improper installation of all the module needed to build PDA application, the first document suggested above point in this direction too.
I would check the PDA module manual and verify the proper installation order.
LabVIEW 8.0 PDA Module Help
I hope you can dig out a solution from these documents.
Write if you need further help
FiloP
It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong.
Richard P. Feynman -
NotSerializable error while trying to write arraylist
I am getting a NotSerializable error while trying to write an arraylist to a file.
Here's the part of the code causing problem
File temp = fileOpenerAndSaver.getSelectedFile(); // fileOpenerAndSaver is a JFileChooser object which has been created and initialized and was already used to select a file with
currentWorkingFile = new File (temp.getAbsolutePath() + ".gd"); // currentWorking file is a file object
try
ObjectOutput output = new ObjectOutputStream (new BufferedOutputStream(new FileOutputStream(currentWorkingFile)));
output.writeObject(nodeList); // <-- This is the line causing problem (it is line 1475 on which exception is thrown)
output.writeObject(edgeList);
output.writeObject(nodesWithSelfLoop);
output.writeObject(nextId);
output.writeUTF(currentMessage);
output.close();
catch (Exception e2)
JOptionPane.showMessageDialog (graphDrawer, "Unknown error writing.", "Error", JOptionPane.ERROR_MESSAGE);
e2.printStackTrace();
} As far as what nodeList is -- it's an arraylist of my own class Node which has been serialized and any object used inside the class has been serialized as well.
Here is the declaration of nodeList:
private ArrayList <Node> nodeList; // ArrayList to hold a list all the nodesLet me show you whats inside the node class:
private class Node implements Serializable
private static final long serialVersionUID = -4625153386839971250L;
/* edgeForThisNodeList holds all the edges that are between this node and another node
* nodesConnected holds all the nodes that are connected (adjacent) to this node
* p holds the top left corner coordinate of this node. The centre. of this node is at (p.x + 5, p.y + 5)
* hasSelfLoop holds whether this node has a self loop.
* **NOTE**: ONLY ONE SELF LOOP IS ALLOWED FOR A NODE.
ArrayList <Edge> edgeForThisNodeList = new ArrayList <Edge> ();
ArrayList <Node> nodesConnected = new ArrayList <Node> ();
Point p;
boolean hasSelfLoop = false;
int index = -1;
BigInteger id;
... some methods following this....
}Here is the edge class
private class Edge implements Serializable
private static final long serialVersionUID = -72868914829743947L;
Node p1, p2; // The two nodes
Line2D line;
* Constructor:
* Assigns nodes provided as appropriate.
* Also calls the addEdge method on each of the two nodes, and passes
* "this" edge and the other node to the nodes, so that
* this edge and the other node can be added to the
* data of the node.
public Edge (Node p1, Node p2)
this.p1 = p1;
this.p2 = p2;
line = new Line2D.Float(p1.p.x+5,p1.p.y+5,p2.p.x+5,p2.p.y+5);
p1.addEdge(this, p2, true);
p2.addEdge(this, p1, false);
}Here is the error I am getting:
java.io.NotSerializableException: javax.swing.plaf.metal.MetalFileChooserUI
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at MyPanel.save(MyPanel.java:1475)
at GraphDrawer.actionPerformed(GraphDrawer.java:243)
I inentionally did not write the whole error stack because it was way too long and I ran out of characters. But line 1475 is where I do the writeObject call. I also goet some weird not serialized exceptions before on some other classes that are not being written to the file or are not part of the object that I am writing. I serialized those classes and now it's this unknown object that's causing problems.
Edit: The problem may be due to the JFileChooser I am using to select the file as it is a non-serializable object. But I am not trying to write it to the file and in fact am just writing the arrayLists and BigInteger as objects to the file.
Edited by: Cricket_struck on Dec 21, 2009 1:25 PM
Edited by: Cricket_struck on Dec 21, 2009 1:32 PM
Edited by: Cricket_struck on Dec 21, 2009 2:16 PMjava.io.NotSerializableException: javax.swing.plaf.metal.MetalFileChooserUIThat's a Swing component and it is clearly related to the JFileChooser.
I also get some weird not serialized exceptions before on some other classes that are not being written to the file or are not part of the object that I am writing.That's a contradiction in terms. If you get NotSerialzableException it means the objects are being written. So they are reachable from the objects you're writing.
Edit: The problem may be due to the JFileChooser I am using to select the file as it is a non-serializable object.JFileChooser implements Serializable, but you're right, you shouldn't try to serialize it. But clearly this is the current problem. Somewhere you have a reference to it reachable via the object(s) you are serializing.
I suspect that Node and Edge inner classes and that you aren't aware that inner classes contain a hidden reference to their containing class. The solution for serializaition purposes is to make them static nested classes, or outer classes. -
SQL Error while trying to createMarkupDefinition
We upgraded wls portal schem from 8.1 to 10 and when we tried to deploy the app we had issues inserting the MarkupDefinition. Attached is the error. The error also complains that there might be Possible markup duplication of [MrkupDefinition] <appname>. Any help is appreciated
vax.ejb.EJBException: SQL Error while trying to createMarkupDefinition: SQL [insert into PF_MARKUP_DEFINITION ( MARKUP_DEFINITION_ID, MARKUP_NAME, MARKUP_TYP
WEBAPP_NAME, MARKUP_FILE) values (?,?,?,?,?)] database error code [1,400] SQL state [23000]. Possible markup duplication of [
rkupDefinition:
webAppName = km
type = LookAndFeel
name = bighornXHTMLLookAndFeel
file = /framework/markup/lookandfeel/bighorn-xhtml.laf
beginXml = <netuix:lookAndFeel skin="bighorn" skeleton="bighorn-xhtml" $(definitionLabel) $(definitionId) $(markupType) $(markupName)><netuix:titlebarButtonO
r><netuix:otherButtons/><netuix:namedButton name="float"/><netuix:namedButton name="edit"/><netuix:namedButton name="help"/><netuix:namedButton name="minimiz
/><netuix:namedButton name="maximized"/><netuix:namedButton name="delete"/></netuix:titlebarButtonOrder></netuix:lookAndFeel>
endXml = null
MarkupDefinitionId = null].; nested exception is: java.sql.SQLException: ORA-01400: cannot insert NULL into ("WLPDEV"."PF_MARKUP_DEFINITION"."BEGIN_XML")
at com.bea.netuix.application.manager.persistence.jdbc.MarkupDefinitionDelegate.createMarkupDefinition(MarkupDefinitionDelegate.java:812)
at com.bea.netuix.application.manager.persistence.jdbc.MarkupDefinitionManagerImpl.createMarkupDefinition(MarkupDefinitionManagerImpl.java:161)
at com.bea.netuix.application.manager.persistence.jdbc.MarkupDefinitionManager_twpn9c_EOImpl.createMarkupDefinition(MarkupDefinitionManager_twpn9c_EOIm
java:418)
at com.bea.netuix.servlets.repository.LookAndFeelFilePersistenceManager.onNewFile(LookAndFeelFilePersistenceManager.java:170)
at com.bea.netuix.servlets.repository.LookAndFeelFilePersistenceManager.createUpdateLookAndFeelDefinitions(LookAndFeelFilePersistenceManager.java:262)
at com.bea.netuix.servlets.repository.LookAndFeelFilePersistenceManager.startupSync(LookAndFeelFilePersistenceManager.java:521)
at com.bea.netuix.servlets.repository.AbstractFilePersistenceManager$StartupSync.run(AbstractFilePersistenceManager.java:155)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSu
ct;Ljava.security.PrivilegedExceptionAction;)Ljava.lang.Object;(Unknown Source)
at com.bea.netuix.servlets.repository.AbstractFilePersistenceManager.startup(AbstractFilePersistenceManager.java:97)
at com.bea.netuix.servlets.repository.LookAndFeelFilePersistenceManager.onNewFiles(LookAndFeelFilePersistenceManager.java:103)
at com.bea.netuix.poller.FrameworkPoller.newFiles(FrameworkPoller.java:226)
at com.bea.netuix.poller.NetuixFilePoller.start(NetuixFilePoller.java:153)
at com.bea.netuix.servlets.manager.PortalServlet.reinitInternal(PortalServlet.java:359)
at com.bea.netuix.servlets.manager.PortalServlet.initInternal(PortalServlet.java:241)
at com.bea.netuix.servlets.manager.PortalServlet.access$100(PortalServlet.java:120)
at com.bea.netuix.servlets.manager.PortalServlet$ServletLifecycleListenerImpl.init(PortalServlet.java:1874)
at com.bea.netuix.util.ServletLifecycleListener.initOrReinitInternal(ServletLifecycleListener.java:131)
at com.bea.netuix.util.ServletLifecycleService.addServletLifecycleListener(ServletLifecycleService.java:251)
at com.bea.netuix.util.ServletLifecycleService.addServletLifecycleListener(ServletLifecycleService.java:182)
at com.bea.netuix.servlets.manager.PortalServlet.init(PortalServlet.java:229)
at com.bea.netuix.servlets.manager.PortalServlet.init(PortalServlet.java:209)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSu
ct;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1830)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1807)
nested exception is:
javax.ejb.EJBException: SQL Error while trying to createMarkupDefinition: SQL [insert into PF_MARKUP_DEFINITION ( MARKUP_DEFINITION_ID, MARKUP_NAME, MA
P_TYPE, WEBAPP_NAME, MARKUP_FILE) values (?,?,?,?,?)] database error code [1,400] SQL state [23000]. Possible markup duplication of [
rkupDefinition:
webAppName = km
type = LookAndFeel
name = bighornXHTMLLookAndFeel
file = /framework/markup/lookandfeel/bighorn-xhtml.laf
beginXml = <netuix:lookAndFeel skin="bighorn" skeleton="bighorn-xhtml" $(definitionLabel) $(definitionId) $(markupType) $(markupName)><netuix:titlebarButtonO
r><netuix:otherButtons/><netuix:namedButton name="float"/><netuix:namedButton name="edit"/><netuix:namedButton name="help"/><netuix:namedButton name="minimiz
/><netuix:namedButton name="maximized"/><netuix:namedButton name="delete"/></netuix:titlebarButtonOrder></netuix:lookAndFeel>
endXml = null
MarkupDefinitionId = null].; nested exception is: java.sql.SQLException: ORA-01400: cannot insert NULL into ("WLPDEV"."PF_MARKUP_DEFINITION"."BEGIN_XML")
thrown while trying to do task [create] in class [com.bea.netuix.servlets.repository.LookAndFeelFilePersistenceManager].
vax.transaction.TransactionRolledbackException: EJB Exception: : javax.ejb.EJBException: SQL Error while trying to createMarkupDefinition: SQL [insert into P
ARKUP_DEFINITION ( MARKUP_DEFINITION_ID, MARKUP_NAME, MARKUP_TYPE, WEBAPP_NAME, MARKUP_FILE) values (?,?,?,?,?)] database error code [1,400] SQL state [23000
Possible markup duplication of [Hi,
Are you able to resolve ths problem? I am also getting the same problem when I upgraded wls portal schem from 8.1 to 10 and tried to deploy the app.
Any help is greatly appreciated.
Thanks -
Excel service and OWA - getting ERROR while trying to open/edit Excel documents
Hi All,
We have configured SharePoint 2013 with Excel Service and OWA (Office Web Apps).
After configuring, we are able to view/edit Word or PowerPoint documents from the browser (as OWA is configured). But we are getting errors while trying to open/edit Excel documents.
We are not able to view/edit the excel workbook from the browser (through OWA).
To open the excel in the browser, decision has to be taken at the farm level on what to be used – Excel Service or OWA Server? Is it possible to do setting at site collection level?
Error details are given below:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 3/25/2013 1:29:08 PM
Event time (UTC): 3/25/2013 7:59:08 AM
Event ID: fc2e0530f493493896e6c8b6297a0423
Event sequence: 10
Event occurrence: 3
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/2/ROOT/x-1-130086717598089315
Trust level: Full
Application Virtual Path: /x
Application Path: C:\Program Files\Microsoft Office Web Apps\ExcelServicesWfe\
Machine name: VHYDMANTHSTP-02
Process information:
Process ID: 1252
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: ArgumentException
Exception message: An entry with the same key already exists.
at System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item)
at System.Collections.Generic.SortedDictionary`2..ctor(IDictionary`2 dictionary, IComparer`1 comparer)
at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.GetInstalledUICultures()
at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.IsUICultureSupported(String cultureTag, CultureInfo& cultureInfo)
at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICulture(String cultureTag, Boolean useOleo, Boolean allowCustomFallback)
at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICultureFromFrontEnd(String uiCultureTag, Boolean allowFallback)
at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentCulturesFromFrontEnd(String uiCultureTag, String dataCultureTag)
at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.SetCurrentCulturesFromContext(HttpContext context)
at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.PreProcessRequest(HttpContext context)
at Microsoft.Office.Excel.WebUI.XlPreview.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Request information:
Request URL:
http://mysrevr/x/_layouts/xlpreview.aspx?ui=en-US&rs=en-US&WOPISrc=http://myservernames1/_vti_bin/wopi.ashx/files/f36d669ceb814d67bdad0e1e1f98e466&wdSmallView=1
Request path: /x/_layouts/xlpreview.aspx
User host address: 10.81.138.92
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 13
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item)
at System.Collections.Generic.SortedDictionary`2..ctor(IDictionary`2 dictionary, IComparer`1 comparer)
at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.GetInstalledUICultures()
at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.IsUICultureSupported(String cultureTag, CultureInfo& cultureInfo)
at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICulture(String cultureTag, Boolean useOleo, Boolean allowCustomFallback)
at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICultureFromFrontEnd(String uiCultureTag, Boolean allowFallback)
at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentCulturesFromFrontEnd(String uiCultureTag, String dataCultureTag)
at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.SetCurrentCulturesFromContext(HttpContext context)
at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.PreProcessRequest(HttpContext context)
at Microsoft.Office.Excel.WebUI.XlPreview.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)I have the same issue while opening the file , i have checked every thing twice. but unable to fix this thing . can any one help.
One more thing which is i am wondering none of the MS representative replied on this post which is originally posted on March 27-2013.
is microsoft alive??
Imran Bashir Network Administrator MCP, JNCIA-EX,ER,JNIOUS +92-333-4330176 -
"Error while trying to sync Audio and Midi"
"Error while trying to sync Audio and Midi" I have been having this problem now and then for some time. Now, I can't run any audio files without a lot of popping. I tried all the suggestions on the support document for this issue. I even downloaded new drivers from Motu for my Express XT Midi interface and my 828MK11 Audio interface. There has been no change. HEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEELP!!!!!!
Also, I have tried reseting the 828 to factory default and that does not help.
Jonathan JenkinsHi,
I solved my own problem by resetting the factory presets:
Follow these steps to restore the MOTU 828mkII to Factory Default Settings.
Disconnect the firewire cable from the 828mkII
Press the Setup knob
Turn the Setup knob all the way to the right
Press the Select knob
Press the Value knob
Power off the interface and plug the firewire cable back in
Power the interface back on
The same steps can be followed to restore the Factory Default Settings on a Traveler.
-Robert -
"Error While Trying To Synchronise Audio And Midi"...non-tempo event found
"Error While Trying To Synchronise Audio And Midi"...non-tempo event found
now when I shutdown Logic And relaunch the Project, the notes hang and "WHAT THE FRIIGIN"
(this was a bug way back when Logic7 was first released)
this is bad!
SvKThanks Steven.
big help. In our session we keep getting this problem where the song counter stops, the music keeps playing and we get an error message saying:
Non Tempo-Event found in Sync Reference
We looked in the tempo list and somehow there was a tempo event of 0.00 tempo in there.
We deleted it, got the same error message, but the prob seems to be fixed.
Apple, please fix this!
Thanks
Felix -
Error while trying to save layout:Console layout (Access is denied)
Got an error while trying to save changes made in the layout,
The error message is
1) 'Preference.properties' (Access is denied), In the details button 'java.io.FileNotFoundException...'
2) and on continuing futher, another message displayed is - 'Error while trying to save layout:Console layout (Access is denied)
There is no Oracle Error Number associated with this message. It is a Oracle Warehouse Builder Error
I have checked that
1) this file exist in owb home/owb/bin/admin/Preference.properties
2) It is not read only
3) tried to set a parameter REPOS_DB_VERSION_ALLOWED=Oracle 10g
as specified in the Installation and Admin Guide
Please can you help?Also, not that you shouldn't get to the bottom of this, but you should be aware that any of your development or mapping changes are likely still being saved to the respository.
In other words, you could continue working and just ignore these errors. We ran into this situation (it was indeed simply file permissions on the owb directories), but we noticed right away that at least our actual OWB work was in fact still being committed to the respository every time. -
When trying to sign in to iCloud, I always get the message, iCloud has encountered a error while trying to connect to the server. How do I get in????
Hello,
Try following step and check if issue gets resolved or not.
Find Acrobat.exe on your computer. Right click the program and click 'Troubleshoot Compatibility'. Set the compatibility to Windows XP service pack 3.
Regards,
Anoop -
Error while trying to retrieve text for error ORA-12154
Hello,
I try to install php 5.1.2 on a WIN2003 server and IIS6 with the OCi8 extension without success from several days.
On my server I've a 920 oracle client and the 10.1 instant client, I copy the tnsnames.ora in the instant client's directory.
I've declare many environnement variables :
- NLS_LANG : AMERICAN_AMERICA.WE8MSWIN1252
- TNS_ADMIN : E:\...\oracle\instantclient_10_1
- ORA_NLS33 : E:\..\oracle\920\ocommon\nls\ADMIN\DATA
With the php command line the oci_connect function correctly works : the php command line use the instant client's tnsnames.ora. I can query with success my database.
When I try to load a web php script (the same as the php command line script) I have the following error " Error while trying to retrieve text for error ORA-12154" ( oci_connect( $user , $pass, $sid ) . The $sid variable have the value of an alias declared in the tnsnames.ora.
If I replace the sid's alias by something like this " (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xx.xx.xx.xx)(PORT=1521)))(CONNECT_DATA=(SID=xx)" in the oci_connect function, I have another error : Error while trying to retrieve text for error ORA-12705.
A web page with the phpinfo function displays the following messages about oci8 extension : It seems to be correct.
oci8
OCI8 Support enabled
Revision $Revision: 1.269.2.8 $
Active Persistent Connections 0
Active Connections 0
Temporary Lob support enabled
Collections support enabled
Do you have any idea ? Thanks a lotThe web server is not seeing the Oracle environment correctly. You need to set PATH to the instant client libraries. ORA_NLS33 is not used for Oracle 10g clients. Perhaps you have some library conflict with two versions of Oracle on the machine?
These may help:
http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#envvars
http://blogs.oracle.com/opal/2006/05/01 -
Error while trying to create tree using same EMP how to tutorial
Hi,
I get the following error while trying to create a sample tree similar to the one
posted in the how-tos web page.
The final query that creates the tree is also as follows
The Current Query shown in my apex window and the one on the howtos tutorial is as follows
select "EMPNO" id,
"MGR" pid,
"ENAME" name,
null link,
null a1,
null a2
from "RJOSEEMPCLUB"."EMP"
where DEPTNO = 1
The error is as follows
ORA-06502: PL/SQL: numeric or value error: character to number conversion error
Debug:
1: begin
2: wwv_flow_wiz_confirm.create_tree (
3: p_flow_id => :FB_FLOW_ID,
4: p_region_template => replace(:F4000_P112_REGION_TEMPLATE,'%'||'null%',null),
5: p_start_option => :F4000_P112_START_OPTION,
6: p_owner => :F4000_P112_OWNER,
7: p_table_name => :F4000_P112_TABLE,
8: p_id => :F4000_P112_ID,
9: p_pid => :F4000_P112_PID,
10: p_name => :F4000_P112_NAME,
11: p_link_option => :F4000_P112_LINK_OPTION,
12: p_link_page_id => :F4000_P112_LINK_PAGE_ID,
13: p_link_item => :F4000_P112_LINK_ITEM,
14: p_where => :F4000_P112_WHERE,
15: p_order_by => :F4000_P112_ORDER_BY,
16: p_page_id => :F4000_P112_PAGE_ID,
17: p_page_name => :F4000_P112_PAGE_NAME,
18: p_tab_set => :F4000_P112_TAB_SET,
19: p_tab_text => :F4000_P112_TAB_TEXT,
20: p_region_name => :F4000_P112_REGION_NAME,
21: p_tree_name => :F4000_P112_TREE_NAME,
22: p_tree_type => :F4000_P112_TREE_TYPE,
23: p_max_levels => :F4000_P112_MAX_LEVELS);
24: end;Hi Kart,
If you have the sample EMP table, the DEPTNO values are 10, 20 or 30.
Did you specify a root value for the tree?
Regards
Andy -
Error while trying to remove an object with dsrm command
hello,
i get an error while trying to delete an object computer with the command line tool, DSRM. i get this view:
actually, it's a one of hundreds of commands, that help cleaning the active directory of the obsolete objects. it is saying : "Access Denied" (in french, accès refusé). i say that the account used to execute this command, is a member of domain
admins group, and enterprise admins group too. so i cannot believe it's a mater of some missing rights... :/
thanks in advance, for your help,
regards
Lotfi BOUCHERITHi,
I was able to reproduce your issue when using a non-elevated command prompt in a 2008R2 box. So please try to elevate your command prompt and your command will most likely go through.
In addition to above, I'd suggest you look in to PowerShell instead, which in most cases is more effective.(and doesn't need to run in an elevated prompt to make AD-Changes)
The same as above could be done with the powershell cmdlet Remove-AdComputer.
Remove-AdComputer -Identity "Distinguishedname"
Hope this helps you!
Microsoft Certified Trainer
MCSE: Desktop, Server, Private Cloud, Messaging
Blog: http://365lab.net -
"error while trying to synchronize Audio and MIDI"
Hello All,
Just got Logic 8... installed (as upgrade from 7)
I keep (consistantly) getting this:
"error while trying to synchronize Audio and MIDI" when in play or record mode... has anyone any ideas regarding a 'fix' or maybe even to point out stupidity on my part re settings; I'm open to comments here and would obviously love to get this fixed/sorted out.
System is basically: G5 Dual 1.8/OS 10.4.10/MOTU 828 Mk2
Thanks in advance.Hi,
I first did what the manual was telling me but that made no difference as the sync would drop within 5 to 15 bars... very frustrating.
Since my original posting I have spoken with MOTU regarding this Audio/MIDI sync problem. There is evidently a simple reset that needs to be done (that is if like me you are using a MOTU 828 Mk2 interface), you have to toggle through both digital input and output settings in the Audio Control Panel. The problem then goes away.
I hope that is helpful. I think that this probably is relevant to all MOTU interfaces, or is at least worth trying if you are having this problem... maybe other manufacturers too... ?
Cheers, Kick -
Here's the sequence of events:
Setting up a new iMac.
Migration Assistant was aborted during setup and a normal setup was completed.
Then ran Migration Assistant from the newly setup account.
It ran fine, but put all the data in a new account called "user".
Renamed "user" to a new name, renamed the home folder to a new name following these instructions: OS X: How to change your account name or home directory name
Delete the account we originally created, so just have one account with the name we want and all the data, email. Works fine.
Sign into the App Store with the account we share for purchases.
Now, the problem:
Go to System Preferences to setup iCloud with a new Apple ID
Get this error: "iCloud encountered an error while trying to connect to the server."
So I'm unable to setup iCloud for photo stream, FaceTime, etc.
Internet works fine, we can get mail, etc.
Rebooting doesn't help
Ideas?never mind the problem is gone this morning.
-
Error while trying to query mbean
I am getting an error while trying to query MBeans:
<Mar 27, 2007 4:27:32 AM MDT> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
ERROR: Tue Mar 27 04:27:32 MDT 2007MBeanHome being refreshed weblogic.management.NoAccessRuntimeException: User guest does not have access permission on weblogic.admin.mbean.MBeanHome
Bea doc says that the cause of this error is that the context is closed in a different thread than the one that created it. I have multiple thread that query the mbeans. The code that does the above is in a synchronized block. The code runs fine on some environments. On wls 8.1 it is giving the above error.
Anyone faced this issue? Any ideas, suggestions?
thanks a lot
JainHi Daniel
Thanks for your help. Here is some more info.
I have another application that goes out and tries to get the MBeanHome. Here is the code:
Environment env = new Environment();
env.setProviderUrl(t3URL);
env.setSecurityPrincipal(t3UserName);
env.setSecurityCredentials(t3Password);
ctx = env.getInitialContext();
mBeanHome = (MBeanHome) ctx.lookup MBeanHome.ADMIN_JNDI_NAME);
This code runs fine in the app. where it is not threaded. But the same code when run in a separate thread is throwing the error. It is happening only in wbl 8.1. In wls 6.1 it runs fine. It is strange. Any clues will be appreciated.
Maybe you are looking for
-
Passing different values to the same servlet
Hi, Is there a way to pass different values to the same servlet? Background: I have a database that I query to acquire a list of customers, then I show each customer as a link, that when clicked will show details of that customer. (The customer table
-
does anyone know how to configure acrobat standard to print archC (18x24) and archD (24x36) pages so that when creating a PDF from autoCAD it recognizes the paper size?
-
"Multiple Line" Regular expressions in find/replace
Hi there, I'm wondering if it is possible to find and replace (in batch mode) the following obstacle: say is have this piece of code in every html file i'd like to edit: <html> <blah blah (Same text in all files)> <blah blah (NOT same text in all fil
-
Java.lang.IllegalArgumentException: No connector named:
Hi, When I try to execute gdb -connect sun.jvm.hotspot.jdi.SACoreAttachingConnector:javaExecutable=$JAVA_HOME/bin/java,core=core.10052006 I am getting the below error. jdb -connect sun.jvm.hotspot.jdi.SACoreAttachingConnector:javaExecutable=$JAVA_HOM
-
Hi everybody.. is there a simply way to filter a waveform (or an array of DBL) in the frequency domain if i have a transfer function?? Let's suppose my transfer functions is: 1/(1.2 + 0.5x + 0.7x^2... +...) that rappresent the frequency response of a