SSL error using Neutron API and CLI directly on controller nodes
VIO 1.0 + NSX + vSphere 6.0
I am trying to execute the following segment of code:
139 credentials = get_credentials()
140 neutron = client.Client('2.0',
141 username=credentials['username'],
142 password=credentials['password'],
143 auth_url=credentials['auth_url'],
144 tenant_name=credentials['tenant_name'],
145 endpoint_url=credentials['url'],
146 token=credentials['token'],
147 insecure=True)
148 response = neutron.list_ports()
When I run the Python script, it errors out with the following:
Traceback (most recent call last):
File "getMACAddr.py", line 148, in <module>
response = neutron.list_ports()
File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 111, in with_params
ret = self.function(instance, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 306, in list_ports
**_params)
File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1250, in list
for r in self._pagination(collection, path, **params):
File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1263, in _pagination
res = self.get(path, params=params)
File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1236, in get
headers=headers, params=params)
File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1221, in retry_request
headers=headers, params=params)
File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1156, in do_request
resp, replybody = self.httpclient.do_request(action, method, body=body)
File "/usr/lib/python2.7/dist-packages/neutronclient/client.py", line 192, in do_request
**kwargs)
File "/usr/lib/python2.7/dist-packages/neutronclient/client.py", line 148, in _cs_request
raise exceptions.SslCertificateValidationError(reason=e)
neutronclient.common.exceptions.SslCertificateValidationError: SSL certificate validation has failed: [Errno 1] _ssl.c:510: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
The /var/log/neutron/server.log file has the following corresponding entry for when the script tries to make the connection:
2015-04-11 07:17:31.941 2096 INFO neutron.wsgi [-] (2096) accepted ('10.27.16.164', 34495)
When I run the CLI from the same controller node, I get the error with or without the —insecure flag:
root@controller02:/tmp# neutron port-list
SSL certificate validation has failed: [Errno 1] _ssl.c:510: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
root@controller02:/tmp# neutron --insecure port-list
SSL certificate validation has failed: [Errno 1] _ssl.c:510: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
If I run the neutron CLI command from my local Macbook Pro, it works just fine. That leads me to believe it is a communication error when the controller node tries to talk to itself. I have tried setting the OS_AUTH_URL and OS_URL to both the localhost IP and the 10-network IP address -- both result in the same error.
Any ideas?
Chris
Hello Chris,
Thanks for checking out VMware Integrated OpenStack and for sharing your concern.
By default, VMware Integrated OpenStack uses a self-signed certificate, which will require the use of the OS_CACERT environment variable in your openrc file and when using the API.
The better way to resolve this is to use a CA-signed certificate. Fortunately, VMware Integrated OpenStack makes the CSR generation and signed certificate import process very easy.
If this is production, of course, use a trusted Root CA. If this is a Dev Lab, you can generate your own Root CA certificate and use it for testing.
I wrote up a quick blog post on how to do this.
Let us know if you have any further questions.
Regards,
Trevor
Similar Messages
-
Hide Label step icon using Testand API and LabVIEW
Hi,
can anyone tell me how it is possible to hide the icon of a label step using Testand API and LabVIEW?
In the Teststand Sequence Editor, on the Label Edit Tab there is a Checkbox called "Hide Icon". Is there something similar in the API?
Thanks
Solved!
Go to Solution.Yes you can, you will have to set the IconName property of the step to "ni_blank.ico"
-
Use of filters and aggregations based on hierarchy nodes in an update rule
Hello,
I need to calculate some indicators from a ODS (BW 3.5) that contain raw data to another one that will contain indicators. These figures are the results of the use of filters and aggregations based on hierarchy nodes (for example: all sales accounts under a node).
In fact, this is typically a query but I want to store these figures, so I need
I understood I have to use a start routine. I never did that before.
Could you provide me with easy-to-understand-for-newbies examples of:
- filtering data based on the value of an infoobject (value must be empty, for example)
- filtering and aggregation of data based on the appartenance to hierarchy nodes (all sales figures, ....)
- aggregation of the key figures based on different characteristics after filtering of these
Well, I am asking a lot ...
Thank you very much
ThomasPlease go through the following link to learn more on aggregates:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e55aaca6-0301-0010-928e-af44060bda32
Also go through the very detailed documentation:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/67efb9bb-0601-0010-f7a2-b582e94bcf8a
Regards,
Mahesh -
Room creation error using Room API
Hi Experts.
We're triying to create a collaboration room through Room API
As a previous step a standard template copy was created (SAP_Information_Site_2) to be used in the room creation through API.
In this template we defined one parameter (FolderPath) which sets the KM navigation path of a specific folder and then we made the mappings of this parameter into the views used by template to show documents.
When Room is created using "Room creation wizard" we set name, description, category, template (SAP_Information_Site_2), FolderPath, etc. this way everything is OK.
The problem is triying to create it when generating the room througn a Webdynpro using Room API, afeter we set all same parameters the room is created with no errors. but despite having put all the parameters like those we place using creation wizard the Room API created Room shows the default folderpath and not we have set through API.
We are able to compare both rooms and they shows same properties except the folderpath.
Here the used code:
private void createRoom(){
String strTemplateName = "Techint_Template";
String strRoleName = "Admin";
String strCategory = "Default_Category";
//Get the Rooms 6.0 API Portal Service
IRooms roomsAPI = (IRooms)PortalRuntime.getRuntimeResources().
getService(IRooms.PORTAL_SERVICE_ID);
//Get Template Related Infos
ITemplate template = null;
IRoomRole role1 = null;
IRoomCategoryFactory cf = roomsAPI.getRoomCategoryFactory();
try {
template = roomsAPI.getRoomTemplate(strTemplateName);
role1 = template.getRoomRole(strRoleName);
//Get an empty RoomInfo object
IRoomInfo roomInfo = roomsAPI.getRoomCreationInfo();
//Fill RoomInfo object with values
roomInfo.setName(wdContext.currentFormDataElement().getProjectCode().trim()+" - "
+wdContext.currentFormDataElement().getRevisionNumber());
String strDescription = wdContext.currentFormDataElement().getTechintDocument();
if (strDescription!=null && strDescription.length()>0)
roomInfo.setDescription(wdContext.currentFormDataElement().getTechintDocument());
else
roomInfo.setDescription(wdContext.currentFormDataElement().getProjectCode().trim()+" - "
+wdContext.currentFormDataElement().getRevisionNumber());
roomInfo.setTemplateName(strTemplateName);
roomInfo.addRoomParameter("FolderPath", "FolderPath",strRevisionFoldePath, false);
//asign the room category
IRoomCategory objRoomCategory = cf.getDefaultRoomCategory();
IRoomCategory objRCA[] = {objRoomCategory};
roomInfo.setCategories(objRCA);
//Set User Role Assignments
com.sap.security.api.IUser owner = UMFactory.getUserFactory().getUserByLogonID("km_user");
roomInfo.setOwnerId(owner.getUniqueID());
roomInfo.addUserToRole(owner.getUniqueID(), role1);
//Finally Create the Room
IRoomDataElement objRoomDE = wdContext.createRoomDataElement();
if(roomInfo.validate()){
IRoom newRoom = roomsAPI.createRoom(roomInfo, true);
objRoomDE.setRoomLink(newRoom.getRoomAccessURLExternal());
}else{
RoomCreationValidationErrors[] errors = roomInfo.getValidationErrors();
for (int i=0; errors.length>i;i++){
logWebDynproMessages(IS_LOG_ENABLED,
//ILoggingConstants.INFO,
4,wdComponentAPI.getMessageManager(),
"ErrorRoom: "+errors<i>.getShortText(), false);
objRoomDE.setRoomLink("ERROR");
wdContext.nodeRoomData().addElement(objRoomDE);
logWebDynproMessages(IS_LOG_ENABLED,
//ILoggingConstants.INFO,
1,wdComponentAPI.getMessageManager(),
"Se creo el room asociado al proceso/revision:"+strRevisionFoldePath, false);
} catch (TemplateInstantiationException e) {
printException(wdComponentAPI.getMessageManager(), e);
e.printStackTrace();
} catch (NoSuchRoleException e1) {
printException(wdComponentAPI.getMessageManager(), e1);
e1.printStackTrace();
} catch (UMException ex){
printException(wdComponentAPI.getMessageManager(), ex);
ex.printStackTrace();
} catch (RoomCreationException ex){
printException(wdComponentAPI.getMessageManager(), ex);
ex.printStackTrace();
} catch (NoSuchRoomCategoryException ex){
printException(wdComponentAPI.getMessageManager(), ex);
ex.printStackTrace();
} catch (Exception ex){
printException(wdComponentAPI.getMessageManager(), ex);
ex.printStackTrace();
This code was created using the following directions
http://help.sap.com/saphelp_nw04s/helpdata/en/7d/c69c42d706c66ae10000000a155106/content.
Any help will be really appreciated and accordingly rewarded
Thaks in advance,
Ramien.-Hi Venkat,
did you check the Initial Configuration Tasks ? especially the portal permisions...
http://help.sap.com/saphelp_nw04/helpdata/en/f6/2604f005fd11d7b84200047582c9f7/content.htm
and there is a SAP Note which references a How To Guide for configuring permissions. The Note number is 766765 and the document it references is "How To... Configure Permissions for Initial Content in SAP Enterprise Portal 6.0 SP9 & Higher."
PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance! -
Error using JXL api in a KM Report
Hi Expert,
My report have to use JXL api. I have already a DC containing libraries, including JXL 2.6.2.
I declare my DC in Used DC of my report, but each time I launch it it throws me this error :
"error executing: /reporting/reports/Content Management/Tools/rise_metrics/1237311667619.xml(com.sapportals.wcm.service.reporting.ReportInput@356422d2) - java.lang.NoClassDefFoundError: jxl/format/CellFormat at com.ctsao.project.rise.metrics.RISEMetrics.execute(RISEMetrics.java:460) at com.sapportals.wcm.repository.manager.reporting.monitor.ReportComponent$ReportWrapper.execute(ReportComponent.java:160) at com.sapportals.wcm.service.reporting.scheduler.ReportScheduler$Runner.run(ReportScheduler.java:220)"
Is it possible to use this API in a report or there is some restriction ?
Thanks in advance for your help,
Jean-Edouard Nicolet.Hi,
Try to include the jxl.jar file inside your private/lib folder of project and run as a workaround.
Regards
Baby -
Error using DI API on Item Revaluation
Dear All
While on Revaluation of Item using DI API System gives error meaasage as "Internal Error 5002" ans displaya 'Material Revaluation failed'.
Can any one help me to find the reason for this error and how to overcome the situation?
With regards
AlokeDear Siva
Following is the code I am using for revaluation of items which is giveing "Internal Error 5002':
Dim lMaterialRevaluation As SAPbobsCOM.MaterialRevaluation
lMaterialRevaluation = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oMaterialRevaluation)
For li As Integer = 0 To ls_Lines.Length - 1
If ls_Lines(li).Split(vbTab).Length <> 5 Then
My.Computer.FileSystem.WriteAllText(ls_OutFileName, lnl_SrlNo & "--> Can't Read in the data in Line " & li + 1, True)
My.Computer.FileSystem.WriteAllText(ls_OutFileName, vbNewLine, True)
lnl_SrlNo += 1
Continue For
End If
ls_ItemCode = ls_Lines(li).Split(vbTab)(0).Trim
ls_WareHouseCode = ls_Lines(li).Split(vbTab)(1).Trim
ld_Price = ls_Lines(li).Split(vbTab)(2).Trim
li_IncAccount = ls_Lines(li).Split(vbTab)(3).Trim
li_DecAccount = ls_Lines(li).Split(vbTab)(4).Trim
lMaterialRevaluation.Lines.SetCurrentLine(li)
lMaterialRevaluation.Lines.ItemCode = ls_ItemCode
lMaterialRevaluation.Lines.WarehouseCode = ls_WareHouseCode
lMaterialRevaluation.Lines.Price = ld_Price
lMaterialRevaluation.Lines.RevaluationIncrementAccount = li_IncAccount
lMaterialRevaluation.Lines.RevaluationDecrementAccount = li_DecAccount
lMaterialRevaluation.Lines.Add()
Next
Dim li_Ret As Integer
li_Ret = lMaterialRevaluation.Add
If li_Ret = 0 Then
MsgBox("Material Revaluation Completed")
System.Runtime.InteropServices.Marshal.ReleaseComObject(lMaterialRevaluation)
Else
oCompany.GetLastError(lErrCode, sErrMsg)
MsgBox(sErrMsg & ", Material Revaluation failed")
End If
Can you or any one else suggest where the error lies.
Thanks & with regards
Aloke
Edited by: ALOKE BANDYOPADHYAY on Jul 5, 2011 3:01 PM -
To generate PDF using BI APIs and loadjava utility
Hi All,
I am trying to generate PDF using BI APIs(FOProcessor etc).
I have generated XML data through the PL/SQl procedure and storing it in a file. This file is loacted in database tier.
The APIs is used through a simple java program which is application tier. To test the process, I had to manually provide the XML file to the java class in order to generate PDF and it does generate.
Now the issue is I need to load the java class to the database so that everything gets automated(loadjava utlility).
when i try to do it, it give no class found error.
Do I need to load the referenced classes in the java file , that is, FOProcessor,RTFProcessor,FOUtility,jdbc.driver.OracleDriver as well?
If the above is not possible, is it possible to reference a file in database tier from application tier so that i can use the XML file as input the java class in application tier.
thanks,
SrikThe only reason I am responding to this post is because the poster sent me a request through the forum message system asking for my help.
Although I did populate PDFs with FDF data generated by web forms a year or so ago, I have since abandoned that kind of solution. It was a big headache. I found it far more stable and flexible to use html, php and css to populate forms that are almost as nice looking as PDFs.
So my advice is, if you can possibly avoid going the FDF/PDF route, you will be better off. -
Error with c++ API and cacheFactory
Hello,
I have tested coherence client in java and .net successfully but now I have some problems with C++.
I'm quite new with coherence... So it might be a "simple" error to resolve but I am really stuck here.
I'm using an simple exe in a console application to connect to my cache.
Visual studio shows me errors but I don't understand them.
I changed the settings of Visual studio according to this link
1) When i try to get my cache "NamedCache::Handle myCache = CacheFactory::getCache("testCache");
The error is :
Unhandled exception at 0x000007fefd9baa7d in testConsole.exe: Microsoft C++ exception: coherence::lang::throwable_spec<coherence::io::IOException,coherence::lang::extends<coherence::lang::Exception,std::ios_base::failure>,coherence::lang::implements<void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void>,coherence:: at memory location 0x0022eaa8..
2) When I try to configure the cachefactory using CacheFactory::configure and CacheFactory::loadXmlFile()
I have the same error :
Unhandled exception at 0x000007fefd9baa7d in testConsole.exe: Microsoft C++ exception: coherence::lang::throwable_spec<coherence::io::IOException,coherence::lang::extends<coherence::lang::Exception,std::ios_base::failure>,coherence::lang::implements<void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void>,coherence:: at memory location 0x0013baf8..
I really don't know why i have those errors and what they mean. It is the same error for both but I don't have no idea how to resolve it...
Can someone help me ?
Thanks
Edited by: 791979 on 31 août 2010 10:41
Edited by: 791979 on 31 août 2010 10:44Thanks for the type of the exception. I didn't know what to put so I wrote a general exception type "catch(...)"...
So here is the error message.
coherence::io::IOException: Exception occurred during parsing: The supplied script must be ASCII.
at class coherence::lang::TypedHandle<class coherence::run::xml::XmlDocument> __cdecl coherence::run::xml::SimpleParser::parseXml(class coherence::lang::String::StringHandle<class coherence::lang::String const >)(SimpleParser.cpp:53)
... debugger may be required to obtain stack frameson thread "main"
And my cache-config.xml is :
<?xml version="1.0" encoding="UTF-8" ?>
<cache-config xmlns="http://schemas.tangosol.com/cache">
<caching-scheme-mapping>
<cache-mapping>
<cache-name>stock</cache-name>
<scheme-name>local-stock</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<near-scheme>
<scheme-name>local-stock</scheme-name>
<front-scheme>
<local-scheme>
<high-units>1000</high-units>
</local-scheme>
</front-scheme>
<back-scheme>
<remote-cache-scheme>
<scheme-ref>remote-stock</scheme-ref>
</remote-cache-scheme>
</back-scheme>
<invalidation-strategy>all</invalidation-strategy>
</near-scheme>
<remote-cache-scheme>
<scheme-name>remote-stock</scheme-name>
<service-name>ExtendTcpCacheService</service-name>
<initiator-config>
<tcp-initiator>
<remote-addresses>
<socket-address>
<address system-property="tangosol.coherence.proxy.address">127.0.0.1</address>
<port system-property="tangosol.coherence.proxy.port">9099</port>
</socket-address>
</remote-addresses>
<connect-timeout>10s</connect-timeout>
</tcp-initiator>
<outgoing-message-handler>
<request-timeout>30s</request-timeout>
</outgoing-message-handler>
<serializer>
<class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
<init-params>
<init-param>
<param-type>string</param-type>
<param-value>pof-config.xml</param-value>
</init-param>
</init-params>
</serializer>
</initiator-config>
</remote-cache-scheme>
</caching-schemes>
</cache-config>
Is there something wrong with this cache-config.xml ? -
Error using migration assistant and time machine
Daughter dropped water on our old macbook pro. Got a new one and trying to restore using backups to our time capsule, but we are receiving this error using the migration assistant: "Make sure that all of your network devices are connected and turned on. It appears that some backups are already in use. If you don't see the backup you need, make sure it is not currently mounted by another machine and try again."
any suggestions on how to transfer the data from time capsule to new macbook?Do you see the backups in the Select Your Disk window?
If so, can you connect to them?
Make sure Time Machine is OFF on all Macs on your network. If any backups are trying to run, cancel them. If they won't cancel after a few minutes, see #D6 inTime Machine - Troubleshooting.
Also be sure no other Mac is looking at them. If you continue to get that message, disconnect all users, per #C12 in the same article.
If none of that helps, the backups may be damaged (could have happened when the old Mac died). Try to Repair them, per #A5 in Time Machine - Troubleshooting -
Using Web API and MVC to connect to CRM and ADFS
Hi,
I'm struggling trying to find best point start for a migration project.
I have a web forms application that connects to CRM 2011 (Azure VM, Windows Server 2008 R2) using ADFS 2.1 (Azure VM, Windows Server 2012) for CRUD operations.
An external developer has build the front end in AngularJS, so we have decided to migrate the project to MVC framework for the integration simplicity over web forms.
Can you confirm if this is right?
1. Should I use Web API as I'll be querying CRM?
2. Should I have an MVC project as I need to authenticate against ADFS 2.1?
3. If one answer of the above questions is NO, can I develop just an MVC or Web API project to achieve what I want?This forum supports setup of the .NET Framework itself.
For best help with your MVC questions, I suggest you post here:
http://forums.asp.net/1146.aspx/1?MVC -
Error using Workflow API to retrieve result of closed instance.
Hello,
I have been attempting to use the workflow Java API to retrieve the payloads of open and completed instances of a particular BPEL Process. I have been able to use the IInstanceHandle.getField method to retrieve the payload of an active/open instance but I am having difficulty with the IInstancehandle.getResult method to retrieve the result of a closed.completed instance. The error I receive is: "Scope not found. The scope "BpPrc0.1" has not been defined in the current instance. I have checked out the audit history for this instance and have seen this particular scope scattered throughout the XML. Any ideas on what may be causing this issue or something I should be looking for?
Thanks in advance.Hi,
Use the getField() method:
Object field = handle.getField("outputVariable");
This returns a HashMap with the payload as one of its entries. -
Error Using REST API to Retrieve SharePoint content
I am developing a rather simple application that retrieves files from SharePoint using the REST Office 365 API. This is a batch job running in the background with no user interface so the following simple 2-step flow is what I'm doing:
(1) Requesting an Access Token from Azure AD (supplying client ID, client secret, resource, and grant_type=client_credentials)
(2) Invoke the SharePoint API (https://{base url}/_api/v1.0/Files) using the "Authorization: Bearer <access_token>" as a request header .
That process seems pretty straightforward and sounds simple but I keep getting the following error :
401 Unauthorized
x-ms-diagnostics: 3001000;reason="There has been an error authenticating the request.";category="invalid_client"
Any idea what the problem is and how this can be resolved ? I have been stuck on this for days now. I would REALLY appreciate somebody's help with this. Thanks.
- CWHi,
According to the error message, the issue is related to Office 365 Rest API authentication.
I suggest you can check the detailed web request using Fiddler to check the access token is valid in the request.
Here are detailed articles for your reference:
Files REST operations
Remote authentication in SharePoint Online
Fiddler
Thanks
Best Regards
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Jerry Guo
TechNet Community Support -
When to use Flexible Update and when Direct update??
Hi ,
I know some situations when to load flexible update( transaction , flat file) and when to use direct update (only for master data).
Can some one correct me and tell what are all the possible situations for these 2 types of Update when loading Infosource?
Thanks alot in advance.hi,
The direct update methods used previously used DataSources for attributes and
texts connected directly with master data tables and text tables for the InfoObject.
In the flexible update, the master data and text tables now appear as data targets. T
he flexible update is used to fill these data targets from master data and text
InfoSources that were created for the InfoObjects listed above. This enables you to
use update rules for the data targets (master data/text tables) in addition to the
transfer rules already used.
check these links for detail.
http://help.sap.com/saphelp_nw04/helpdata/en/98/3a14836fe5e1499a4e17d2d45f4612/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/86/cade377806e664e10000009b38f842/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/41/56ba275e032f1ee10000000a114b54/frameset.htm
http://help.sap.com/search/highlightContent.jsp
Regards,
Manoseelan -
Error using Richfaces Drag and Drop support in JSF 1.1 application
Iam using rich faces drag n drop support in my JSF application . The jsp works as expected but I get this weird exception while navigating through my pages.
Scenario : User logs into the application , from the home page ---> when the user click on a button he is navigated to the jsp which has the drag n drop support. This was working fine till , I have added a menu_incl .jsp inthe sub view . The code snippet is as shown below :
<body>
<div id="wrap">
<f:view>
<f:subview id="menu">
<jsp:include page="/search/incld/menu.incl.jsp" />
</f:subview>
<rich:dragIndicator id="indicator" />
<h:form id="myfolder">
<h:panelGrid columnClasses="panelc,panelc,panelc,panelc" columns="4" width="100%">
<!-- Panel for Queries -->
<rich:panel style="width:133px">
<f:verbatim>
<div style="overflow-x: scroll; overflow-y: scroll; height: 400px;">
</f:verbatim>
<f:facet name="header">
<h:outputText value="Queries" />
</f:facet>
<h:dataTable id="querytable" value="#{dndBean.queryList}"
var="query" binding="#{workSpaceBean.queryData}" >
<h:column>
<a4j:outputPanel style="width:100px;border:1px solid gray;padding:2px" layout="block">
<rich:dragSupport dragIndicator=":indicator"
dragType="Query" dragValue="#{query}">
<rich:dndParam name="label" value="#{query.name}" />
</rich:dragSupport>
<h:commandLink value="#{query.name}"
action="#{workSpaceBean.populateQuery}">
</h:commandLink>
</a4j:outputPanel>
</h:column>
</h:dataTable>
<f:verbatim></div> </f:verbatim>
</rich:panel>
Now when I click on the button in my home page , and expect to be navigated to the page which has dran drop support components, I get the following error :
Error Message: Duplicate component ID 'myfolder:querytable:_id34' found in view.
Error Code: 500
Target Servlet: Faces Servlet
Error Stack:
java.lang.IllegalStateException: Duplicate component ID 'myfolder:querytable:_id34' found in view.
at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:171)
at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:179)
at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:179)
at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:179)
at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:179)
at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:179)
at com.sun.faces.application.StateManagerImpl.saveSerializedView(StateManagerImpl.java:86)
at org.ajax4jsf.framework.ajax.AjaxStateManager.saveSerializedView(AjaxStateManager.java:90)
at com.sun.faces.taglib.jsf_core.ViewTag.doAfterBody(ViewTag.java:170)
Iam getting this error only when I include this jsp in the parent jsp :
<f:subview id="menu">
<jsp:include page="/search/incld/menu.incl.jsp" />
</f:subview>
Iam including the same way in all other jsps of my application , they are all working fine expect for this jsp which has ajax components (rich faces drag m drop support components ) .
From the error I deduce that the view component is being generated twice , why is this so???
I would appreciate if some one coulkd guide me through this .... I hope I was able to explain my issu properly , please let me know if it is now clearI've tinkered a bit with DnD before in the past. Actually, it's all related to the topic of Data Transfer. You have to provide a source and destination for the transferrable, and your transferrable object must provide the "data flavors" that it supports.
In theory it doesn't sound too hard, and it works reasonably well within a java application, but to be honest your time might be better spent simply implementing cut n' paste, which is easier. Cut n' paste doesn't require all the fancy UI work, but does the job reasonably well.
There's a DnD spec available on the documentation web-site, if you haven't already found it. I also discovered that the O'Reilly book (I think it's the AWT book, not the swing one) has a good chapter on data transfer that you might want to read. -
i have a macbbook air(2013) using mountain lion 10.9.2 i have photoshop cs4 and now get error 150:30(license error), i tried looking to delete flex net program but i don't seem to have it. how do i resolve this?
Please refer:
http://helpx.adobe.com/x-productkb/global/error-licensing-stopped-mac-os.html
Regards,
Ashutosh
Maybe you are looking for
-
Is there a best rip setting for multiple devices?
I want to start converting my DVD library to computer files so I can import into iTunes and then access it anywhere. I bought a program called Wondershare Video Converter Ultimate Mac which offers a TON of settings choices. I did this with all my CDs
-
How to determine the source of Events triggered in a process chain
Hi , We have almost a 100 process chains, and of these approx 20-30 local process chains are triggered by events raised within other process chains. These events are raised via BP_EVENT_RAISE using the ABAP process type. However, our problem is to
-
[Help]Screen Painter
Hi experts, Lately I'm using PL07 and now I uninstalled my SAP Client and installed PL04 after that, I'm having a problem with Screen Painter. Please check the image below. Help me about this. http://www.webforone.com/images/5dwd2lodq9rsjs3aiaf.jpg T
-
About EP(on UNIX) UME integration with LDAP
Hello guys, We want that UME use LDAP(read-only) as data source . Our EP installed on UNIX , LDAP on Windows. Connection data Server Name: sapsso Server Port: 389 User: p106658 (an administrator user) Password: ****** U
-
hi group, this is satya chowdhury .i am facing some problem in how to parse a matrix using dom.the xml file is as follows:- <?xml version="1.0" ?> - <matrix> <rows>4</rows> <columns>4</columns> - <row> <column>11</column> <column>12</column> <column>