JSF and IBM State Pattern
Hi,
have somebody experience with JSF and the IBM StatePattern?
Thanks
Ich ben�tige eine Antwort auf die Frage: Kann ich das StatePattern mit JSF verwenden und WIE?
Danke
A couple things here:
What kinds of services do these protected methods
provide. Are you sure that this is the only way to
structure this?
The kind of services the base class provides are very critical which the child classes can't do and shouldn't care. For eg: the base class waits on a lock object for some action to be done by some other module in the code.
I have tried to restructure it a bit, there are other child classes for this base class on which I dont have the direct control. The only reason why I am a state pattern here is to avoid a big switch case or if else statements.
There are two ways to restrict access to something in
Java: 1. make that something protect,
package-protected, or private or 2. Restrict access
to the Object itself. What I mean is that you can
make a method public but only those classes that can
get access to the Object reference can call it. Yes,
everyone can see that the method exists but that's
rarely, if ever, going to matter.
And I can't make the methods public because they are all as I said critical functions which only the child is allowed to do and that too only through inheritence. It is making perfect sense for the base class to keeping them protected.
It seems like there is no other way but to redeclare them and delegate the call to super.
Thank you!
Similar Messages
-
Running test.rdf in oracle 10g and ibm aix 5L
Hi,
I am trying to run a demo test.rdf from the browser. This is in Oracle 10g and IBM AIX 5L.The report server is in-process server.
The url is
http://ipaddr:7778/reports/rwservlet?server=rep_igtewfux01&report=test.rdf&userid=dbuserid/dbpwd@asdb&desformat=PDF&destype=cache
Engine rwEng-0 crashes all the time. Below is a part of the exception . Please help.
[2005/8/26 6:19:14:20] Debug 50103 (JobManager:updateJobStatus): Finished updating job: 98
[2005/8/26 6:20:9:64] Exception 50125 (org.omg.CORBA.TRANSIENT: vmcid: 0x0 minor code: 0 completed: No
at com.inprise.vbroker.orb.DelegateImpl.verifyConnection(DelegateImpl.java(Compiled Code))
at com.inprise.vbroker.orb.DelegateImpl.is_local(DelegateImpl.java(Compiled Code))
at org.omg.CORBA.portable.ObjectImpl._is_local(ObjectImpl.java(Compiled Code))
at oracle.reports.engine._EngineClassStub.run(_EngineClassStub.java:147)
at oracle.reports.server.JobManager.runJobInEngine(JobManager.java:784)
at oracle.reports.server.JobManager.runJobLocal(JobManager.java:1557)
at oracle.reports.server.JobManager.dispatch(JobManager.java:896)
at oracle.reports.server.ConnectionImpl.runJob(ConnectionImpl.java:1166)
at oracle.reports.client.ReportRunner.dispatchReport(ReportRunner.java:287)
at oracle.reports.rwclient.RWReportRunner.dispatchReport(RWReportRunner.java:86)
at oracle.reports.rwclient.RWClient.runReport(RWClient.java:1627)
at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1481)
at oracle.reports.rwclient.RWClient.doGet(RWClient.java:349)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code))
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:568)
): Internal error org.omg.CORBA.TRANSIENT: vmcid: 0x0 minor code: 0 completed: No
[2005/8/26 6:20:9:64] Info 56029 (EngineManager:shutdownEngine): Shutting down engine rwEng-0
[2005/8/26 6:20:9:66] Exception 50125 (org.omg.CORBA.OBJECT_NOT_EXIST: vmcid: 0x0 minor code: 0 completed: No
at com.inprise.vbroker.ProtocolEngine.PortfolioImpl.getConnector(PortfolioImpl.java(Compiled Code))
at com.inprise.vbroker.ProtocolEngine.ManagerImpl.getConnector(ManagerImpl.java(Inlined Compiled Code))
at com.inprise.vbroker.orb.DelegateImpl._bind(DelegateImpl.java(Compiled Code))
at com.inprise.vbroker.orb.DelegateImpl.verifyConnection(DelegateImpl.java(Compiled Code))
at com.inprise.vbroker.orb.DelegateImpl.is_local(DelegateImpl.java(Compiled Code))
at org.omg.CORBA.portable.ObjectImpl._is_local(ObjectImpl.java(Compiled Code))
at oracle.reports.engine._EngineClassStub.shutdown(_EngineClassStub.java:341)
at oracle.reports.server.EngineManager.shutdownEngine(EngineManager.java:1216)
at oracle.reports.server.JobManager.runJobInEngine(JobManager.java:826)
at oracle.reports.server.JobManager.runJobLocal(JobManager.java:1557)
at oracle.reports.server.JobManager.dispatch(JobManager.java:896)
at oracle.reports.server.ConnectionImpl.runJob(ConnectionImpl.java:1166)
at oracle.reports.client.ReportRunner.dispatchReport(ReportRunner.java:287)
at oracle.reports.rwclient.RWReportRunner.dispatchReport(RWReportRunner.java:86)
at oracle.reports.rwclient.RWClient.runReport(RWClient.java:1627)
at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1481)
at oracle.reports.rwclient.RWClient.doGet(RWClient.java:349)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code))
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:568)
): Internal error org.omg.CORBA.OBJECT_NOT_EXIST: vmcid: 0x0 minor code: 0 completed: No
[2005/8/26 6:20:9:66] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Shutdown
[2005/8/26 6:20:9:66] Info 56047 (EngineManager:remove): Reports Server shut down engine rwEng-0
[2005/8/26 6:20:9:66] State 56016 (JobManager:updateJobStatus): Job 98 status is: Terminated with error:
REP-56048: Engine rwEng-0 crashed, job Id: 98
[2005/8/26 6:20:9:66] Debug 50103 (JobManager:notifyWaitingJobs): Master job 98 notify its duplicated jobs.
[2005/8/26 6:20:9:66] Debug 50103 (JobManager:updateJobStatus): Finished updating job: 98
[2005/8/26 6:20:9:67] Exception 56048 (): Engine rwEng-0 crashed, job Id: 98
exception oracle.reports.RWException {
oracle.reports.RWError[] errorChain={struct oracle.reports.RWError {
int errorCode=56048,
java.lang.String errorString="Engine rwEng-0 crashed, job Id: 98",
java.lang.String moduleName="REP"
at oracle.reports.server.JobManager.runJobInEngine(JobManager.java:861)
at oracle.reports.server.JobManager.runJobLocal(JobManager.java:1557)
at oracle.reports.server.JobManager.dispatch(JobManager.java:896)
at oracle.reports.server.ConnectionImpl.runJob(ConnectionImpl.java:1166)
at oracle.reports.client.ReportRunner.dispatchReport(ReportRunner.java:287)
at oracle.reports.rwclient.RWReportRunner.dispatchReport(RWReportRunner.java:86)
at oracle.reports.rwclient.RWClient.runReport(RWClient.java:1627)
at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1481)
at oracle.reports.rwclient.RWClient.doGet(RWClient.java:349)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code))
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:568)mmmh. Did you compared the select count(*) from your_table; in the two cases.
If the result is not good and nobody has deleted rows between migration and your test, you migration need to be replayed.
Which migration did you select, Transportable database or exp/imp...?
Edited by: Dba Z on 16 août 2009 08:56 -
JSF and Character Sets (UTF-8)
Hi all,
This question might have been asked before, but I'm going to ask it anyway because I'm completely puzzled by how this works in JSF.
Let's begin with the basics, I have an application running on an OC4J servlet container, and am using JSF 1.1 (MyFaces). The problems I am having with this setup, is that it seems that the character encodings I want the server/client to use are not coming across correctly. I'm trying to enforce the application to be UTF-8, but after the response is rendered to my client, I've magically been reverted to ISO-8859-1, which is the main character set for the netherlands. However, I'm building the application to support proper internationalization; which means I NEED to use UTF-8.
I've executed the following steps to reach this goal:
- All JSP files contain page directives, noting the character set:
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>I've checked the generated source that comes from the JSP's, it looks as expected.
- I've created a servlet filter to set the character set directly on the request and response objects:
public void doFilter(ServletRequest req, ServletResponse res, FilterChain chain) throws IOException, ServletException {
// Set the characterencoding for the request and response streams.
req.setCharacterEncoding("UTF-8");
res.setContentType("text/html; charset=UTF-8");
// Complete (continue) the processing chain.
chain.doFilter(req, res);
}I've debugged the code, and this works fine, except for where JSF comes in. If I use the above situation, without going through JSF, my pages come back UTF-8. When I go through JSF, my pages come back as ISO-8859-1. I'm baffled as to what is causing this. On several forums, writing a filter was proposed as the solution, however this doesn't do it for me.
It looks like somewhere internally in JSF the character set is changed to ISO. I've been through the sources, and I've found several pieces of code that support that theory. I've seen portions of code where the character set for the response is set to that of the request. Which in my case coming from a dutch system, will be ISO.
How can this be prevented? Can anyone give some good insight on the inner workings of JSF with regards to character sets in specific? Could this be a servlet container problem?
Many thanks in advance for your assistance,
JarnoJarno,
I've been investigating JSF and character encodings a bit this weekend. And I have to say it's more than a little confusing. But I may have a little insight as to what's going on here.
I have a post here:
http://forum.java.sun.com/thread.jspa?threadID=725929&tstart=45
where I have a number of open questions regarding JSF 1.2's intended handling of character encodings. Please feel free to comment, as you're clearly struggling with some of the same questions I have.
In MyFaces JSF 1.1 and JSF-RI 1.2 the handling appears to be dependent on the raw Content-Type header. Looking at the MyFaces implementation here -
http://svn.apache.org/repos/asf/myfaces/legacy/tags/JSF_1_1_started/src/myfaces/org/apache/myfaces/application/jsp/JspViewHandlerImpl.java
(which I'm not sure is the correct code, but it's the best I've found) it looks like the raw header Content-Type header is being parsed in handleCharacterEncoding. The resulting value (if not null) is used to set the request character encoding.
The JSF-RI 1.2 code is similar - calculateCharacterEncoding(FacesContext) in ViewHandler appears to parse the raw header, as opposed to using the CharacterEncoding getter on ServletRequest. This is understandable, as this code should be able to handle PortletRequests as well as ServletRequests. And PortletRequests don't have set/getCharacterEncoding methods.
My first thought is that calling setCharacterEncoding on the request in the filter may not update the raw Content-Type header. (I haven't checked if this is the case) If it doesn't, then the raw header may be getting reparsed and the request encoding getting reset in the ViewHandler. I'd suggest that you check the state of the Content-Type header before and after your call to req.setCharacterEncoding('UTF-8"). If the header charset value is unset or unchanged after this call, you may want to update it manually in your Filter.
If that doesn't work, I'd suggest writing a simple ViewHandler which prints out the request's character encoding and the value of the Content-Type header to your logs before and after the calls to the underlying ViewHandler for each major method (i.e. renderView, etc.)
Not sure if that's helpful, but it's my best advice based on the understanding I've reached to date. And I definitely agree - documentation on this point appears to be lacking. Good luck
Regards,
Peter -
Where clause with a combination of And and Or statements - Basic question
Hi,
I have a where clause with a combination of And and Or statements... May I know which one would run first
Here is the sample
WHERE SITE_NAME = 'Q' AND ET_NAME IN ('12', '15') AND TEST_DATE > DATE OR SITE_NAME = 'E' AND ET_NAME IN ('19', '20')
can you please explain how this combination works
Thanks in advanceHi,
This reminds me of a great story. It's so good, it probably didn't really happen, but it's so good, I'm going to repeat it anyway.
IBM once had an "executive apptitude test" that they would give to job applicants. There were some questions you might call general knowlege or trivia questions, and each question had a weight (for example, answering an unimportant queestion might score one point, an important question might be 5 points.) One of the questions was "What is the standard width of a mobile home?", and the weight of the question was -20: answering the question correctly did serious harm to your score. The reasoning was that the more you knew about mobile homes, the less likely you were to be their kind of executive.
Now, as to your question, the correct answer is: I don't know. I don't want to know. Mixing ANDs and ORs without grouping them in parentheses is a really bad idea. Even if you get it right, it's going to confuse the next person who has to look at that code. Use parentheses to make sure the code is doing what you want it to do.
If you really want to find out, it's documented in the SQL language manual. Look up "Operators, prcedence"
http://docs.oracle.com/cd/E11882_01/server.112/e26088/operators001.htm#sthref815
You can easily do an experiment, using scott.emp, or even dual, where
WHERE (x AND y)
OR zproduces different results from
WHERE x
AND (y OR z) -
State Pattern throwing exceptions
I've seen the state pattern applied to a situation where I am not sure if a state pattern applies.
Can you please tell me if the state pattern is good for this situation?
It is that only a few operations can be called for a certain state. If you call "wrong" operations for that state, an exception will be thrown.
The examples for the state pattern I've seen didn't include throwing exceptions if a wrong operation has been called for a certain state. So I don't know if state pattern applies to this situation or not. Can you please tell me the answer?It is that only a few operations can be called for a
certain state. If you call "wrong" operations for
that state, an exception will be thrown.You could always throw and IllegalStateException.
The problem is that this makes the pattern much less flexible. If the caller needs to know which state they are calling the method on, you can't easily rearrange the states or introduce new ones. You end up with a complicated seized-up pattern.
I have actually done this but the only state that would thrown the excepton was the 'done' state. If you are doing this throughout the use of the states, I probably would reevaluate your design.
Are you sure that you cannot tweak the methods or incorporate more into the pattern to resolve this? Can you just make these states do nothing when those methods are called? -
Buling a new Web Application using JSF and Ajax.
Hello Group,
I am a building a new web application using JSF and AJAX. Planning to use Myfaces Tomahawk, Dojo for Ajax, Hibernate, Spring,Eclipse IDE and Jetty Server.Can some one please suggest me will this be a right one for
building complex UI and will it support for using the jsf features and would like to know any other free open
source framework, ide, tools which support the best way for an agile project..?. There is restriction like i have to use java1.4jaisheela wrote:
Hello Friends,
I am also in the same situation.
I am a building a new web application using JSF and AJAX.
Requirement is I need to use IBM version of DOJO and JSF but I need to develop the whole application using Eclipse 3.3,2 and Tomcat 5.5.
With IBM version of DOJO and JSF, will Eclipse and Tomcat help to speed up the development or do you suggest me to go for Rational Application Developer and WebSphere Application Server.
If I need to go with RAD and WAS, then I am new to RAD and WAS, is it easy to use RAD and WAS for this kind of application and implement web applicaiton fast.
Any feedback will be great help.Those don't sound like requirements of the system to me. They sound more like someone wants to improve their CV/resume
From what I've read recently, if it's just fast you want, look at Ruby on Rails -
Hai,
I am using JSF and tiles in my application along with richfaces 3.2 jar but the suggestion box does not work when i use incorporate tiles to the jsp page,Please help me out.Here is my code
Content Page
<%@ taglib prefix= "f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://jakarta.apache.org/tiles" prefix="tiles" %>
<f:view >
<link href="<%=request.getContextPath()%>\styles\Form.css" rel="stylesheet" type="text/css"/>
<link href="<%=request.getContextPath()%>\styles\Menu.css" rel="stylesheet" type="text/css"/>
<link href="<%=request.getContextPath()%>\styles\Header.css" rel="stylesheet" type="text/css"/>
<title><h:outputText value="Brand"/></title>
<h:form id="testForm">
<tiles:insert definition="test_create" flush="false"/>
</h:form>
</f:view>JSP
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.ajax4jsf.org/rich" prefix="rich"%>
<%@ taglib uri="https://ajax4jsf.dev.java.net/ajax" prefix="a4j"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<f:subview id="come">
<body>
<h:form>
<h:outputText value="Provider:" styleClass="SubTitle" />
<h:inputText value="#{testMBean.property}" size="25" id="dpiSuggest" styleClass="SubTitle">
<a4j:support event="onkeyup" />
</h:inputText>
<rich:suggestionbox for="dpiSuggest" suggestionAction="#{testMBean.suggest}" height="180" width="180" var="suggest">
<h:column>
<h:outputText value="#{suggest.countryName}" />
</h:column>
<h:column>
<h:outputText value="#{suggest.countryCode}" />
</h:column>
</rich:suggestionbox>
</h:form>
</body>
</f:subview>
</html>
*tiles.xml*
<tiles-definitions>
<definition name="header-menu-content" path="/layout/basicLayout.jsp">
<put name="gridClass" value="headerMenuContent"/>
<put name="headerClass" value="HeaderBgcolor"/>
<put name="menuColumnClass" value="MenuBorder"/>
<put name="contentColumnClass" value="BodyBgColor"/>
</definition>
<definition name="home" extends="header-menu-content">
<put name="header" value="/common/header.jsp"/>
<put name="menu" value="/common/menu.jsp"/>
<!--<put name="buttonBar" value="/common/buttonBar.jsp"/>-->
<put name="content" value="/common/home.jsp"/>
</definition>
<definition name="error" extends="header-menu-content">
<put name="header" value="/common/header.jsp"/>
<put name="menu" value="/common/menu.jsp"/>
<!--<put name="buttonBar" value="/common/buttonBar.jsp"/>-->
<put name="content" value="/common/error.jsp"/>
</definition>
<definition name="test_create" extends="header-menu-content">
<put name="header" value="/common/header.jsp" />
<put name="menu" value="/common/menu.jsp" />
<!-- <put name="buttonBar" value="/common/buttonBar.jsp"/>-->
<put name="content" value="/test.jsp" />
</definition>
<tiles-definitions>
*web.xml*
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>welcome.jsp</welcome-file>
</welcome-file-list>
<context-param>
<param-name>com.sun.faces.verifyObjects</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>com.sun.faces.validateXml</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.faces</url-pattern>
</servlet-mapping>
<context-param>
<param-name>org.richfaces.SKIN</param-name>
<param-value>blueSky</param-value>
</context-param>
<filter>
<display-name>RichFaces Filter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
</filter>
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
<servlet>
<servlet-name>Tiles Servlet</servlet-name>
<servlet-class>org.apache.tiles.servlets.TilesServlet</servlet-class>
<init-param>
<param-name>definitions-config</param-name>
<param-value>/WEB-INF/tiles.xml</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
</web-app>
*facesconfig.xml*
<?xml version="1.0" encoding="UTF-8"?>
<faces-config version="1.2"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
<navigation-rule>
<navigation-case> <!-- Displayes the screen to add data -->
<from-outcome>test</from-outcome>
<to-view-id>/testContent.jsp</to-view-id>
<redirect/>
</navigation-case>
</navigation-rule>
<managed-bean>
<managed-bean-name>testMBean</managed-bean-name>
<managed-bean-class>testMBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
</faces-config>Edited by: SreeramIyer on May 29, 2008 4:50 AMAre you dead set on using tiles? I can see tiles including JSF but JSF including tiles? Not sure if that will work.
My suggestion is to use Trinidad. It has the concept of Regions which is very "tiles" like and you will be far more successful. -
Nexus 2232 and IBM 10 Gig CNA compatability
Has anyone got a good doc on software/hardware compatability for Nexus, specifically 2232, and IBM 10 Gig CNAs? Im struggling with some Unix guys, I can use this particular pair of 2232s all day, but when I link a new 770 VIO....nada. We bypass the 2232 and link to the 5596 and it links up immediately. I suspect the IBM CNA and compatability but need the proof. Stumbling google I didn't see anything but I don't speak Unix very well either. We're running 2232PPs on 5596s at 5.1(3)N2(1b). Any help is appreciated.
hi Robert,
thanks a lot for your reply.
here is the uplink port profile config:
port-profile type ethernet HostUplink
vmware port-group
switchport mode trunk
switchport trunk native vlan 1
switchport trunk allowed vlan 1-3967,4048-4093
channel-group auto mode on mac-pinning
no shutdown
system vlan 803,832,900-901
state enabled
803 is mgmt for both esx and vsm, 900 is control, 901 is packet.
my NC553i driver version is different from what you suggested, it is 2.102.518.0, any reason why you suggest to use the version you specified?
I have been trying to contact HP support, to be honest, not saying overall, but from my experience, they are much less helpful then Cisco support, I will keep trying.
thanks
ming -
How to synchronize PI service registry and IBM WSRR
Hello All,
In our current project we have developed one web service which resides in SAP CE and is registered in SAP PI Service Registry.
But our client has IBM websphere that acts as a middleware for all ther services (interfaces/web services)
Now, I need to understand how to synchronize SAP PI Service Registry with IBM WSRR (Websphere Services Registry and Repository)
What are the steps/configurations need to be performed at PI end and IBM WSRR end?
Appreciate your help in this matter.
Thanks,
Shriram.Hi,
Refer the below links i think it will be helpful.
Configuring a central Services Registry:
http://help.sap.com/saphelp_nwce711/helpdata/en/47/d391d7b8fc3c83e10000000a42189c/frameset.htm
You can also use the Wizard based configuration: http://help.sap.com/saphelp_nwce711/helpdata/en/f7/6182bd68434595ba5105a0a346efcc/frameset.htm
https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00985388-6748-2c10-0d83-f17c3e768a8b&overridelayout=true
Regards,
Sudha S. -
E-Recruitment and IBM portal integration
Dear Experts,
I am going to start working on new project. there they want to implement the E-recruitment. but they are not going to use ESS /MSS. they have their IBM portal in place.
can some one tell me how to integrate the SAP ECC and IBM portal. the middleware is web sphere.
what are the key points to keep eye on.
if any documents are there please forward me.
thanks and regards
chandrahi sunil,
we are planning to implement the EHP 4.0 (which is coming to market in May 2009).
any detailed idea?
thanks
chandra -
When creating a custom SearchPlugin, is it possible to add more code such as uppercase conversion of the searchTerms and IF statements that change the URL depending on the searchTerms? Every time I try to add something firefox doesn't want to add it as a search plugin. I need to create a more powerful search tool for personal use.
I've found some external software applications that will do it, so that leads me to believe its not possible within ID CC.
-
Building a Simple JSF and Web Services App in JDeveloper 10.1.3 Preview
Hi
I was trying out this example of JSF and webservices at:
http://www.oracle.com/technology/products/jdev/101/howtos/jsfws/index.html
Has anyone tried it before? I'm getting the following error:
calling http://216.200.21.157:9090/soap
WARNING: Unable to connect to URL: http://216.200.21.157:9090/soap due to java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html
java.rmi.RemoteException: ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html
at com.minc.ws.stockquery.proxy.runtime.NetXmethodsServicesStockquoteStockQuoteBinding_Stub.getQuote(NetXmethodsServicesStockquoteStockQuoteBinding_Stub.java:96)
at com.minc.ws.stockquery.proxy.NetXmethodsServicesStockquoteStockQuotePortClient.getQuote(NetXmethodsServicesStockquoteStockQuotePortClient.java:40)
at com.minc.ws.stockquery.proxy.NetXmethodsServicesStockquoteStockQuotePortClient.main(NetXmethodsServicesStockquoteStockQuotePortClient.java:29)
Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html
at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:142)
at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:118)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:175)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
at com.minc.ws.stockquery.proxy.runtime.NetXmethodsServicesStockquoteStockQuoteBinding_Stub.getQuote(NetXmethodsServicesStockquoteStockQuoteBinding_Stub.java:79)
... 2 more
Any ideas?
Thanks
AlexI'm not using 10.1.3 preview. I was using 10.1.3.1 production. I just copied the title of the tutorial as my subject. sorry for the confusion!! :)
I used the HTTP analyzer and this is what I got in the header:
<HTML><HEAD><TITLE>TCP Packet Monitor Error</TITLE></HEAD><BODY>JDeveloper TCP Packet Monitor encountered an error retrieving<P><pre>POST http://216.200.21.157:9090/soap HTTP/1.1
Host: 216.200.21.157:9090
Proxy-Connection: Keep-Alive
Connection: TE
TE: trailers, deflate, gzip, compress
User-Agent: Oracle HTTPClient Version 10h
SOAPAction: "urn:xmethods-delayed-quotes#getQuote"
Accept-Encoding: gzip, x-gzip, compress, x-compress
Content-type: text/xml; charset=UTF-8
Content-length: 680
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="urn:xmethods-delayed-quotes"><env:Header><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" env:mustUnderstand="1"/></env:Header><env:Body><ns0:getQuote env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><symbol xsi:type="xsd:string">orcl</symbol></ns0:getQuote></env:Body></env:Envelope></pre><P>The error was :<P><pre>IOException retrieving the response: java.net.ConnectException: Connection refused: connect</pre><P></HTML>
It looks like I'm getting connection refused error... Hmmm.. wonder why?
I'll download 10.1.3.2 and see if that helps..
Thanks for looking into this!
Alex -
I was using my wifi last night when I got an error message stating my ip address had been taken over. Then safari stopped working and i can no longer access the internet. I looked at my ip address and it states 000.000.000....can someone please help?
Sounds like a bogus pop up. In any case power down your Mac, your modem, your router. Then power back up in 1 minute sequence; modem, router, Mac.
-
Can I use a select and update statement in a single jsp file?
I want to update the BUY table everytime I would add a SELL transaction.....I want to minus the stocks that I sold to those that Ive bought before.....
note: I used a seperate table in BUY and SELL transaction
After I Have added a transaction, I want to update the buy table. This is my problem, can I used both SELECT and UPDATE statement at the same time in a single jsp file for example like this:
select * from test, test1;
update test
set total_shares=total_shares-Stotal;
where stock_code=Scode AND name_broker=Sbroker;
Can i have both of these statements in the same jsp file in oder to update the buy table?
Or can anyone suggest how can process that update?THANKS!
--------------------Can i have both of these statements in the same jsp file in oder to update the buy table?Yes. But wouldn't it have been easier just to try it?
-
Error in installing MySap 2004s SR1 with DB2 and IBM AIX.
Hello Gurus,
I am installing MySap 2004s SR1 with DB2 and IBM AIX.
I am facing the following error :
<b><i>ERROR 2006-11-08 18:33:01
MDB-01101 Installed Software Level '08.02.0002' is insufficient for this installation ...</i></b>
<b><i>ERROR 2006-11-08 18:33:01
MUT-03025 Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined.
ERROR 2006-11-08 18:33:01
FCO-00011 The step DB6CheckSoftwareLevel with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0|NW_getDBInfo|ind|ind|ind|ind|2|0|NW_DB6_Initialize_Db_Software_Info|ind|ind|ind|ind|3|0|DB6CheckSoftwareLevel was executed with status ERROR .</i></b>
As this occered in the phase "Install JCE Policy".
I have even tried to get the latest version But I am not succesfull.
Please help.
Regards,
Chandra Sekhar Reddy.Dear Dirk,
Thanks once again I have installed FP12 and the error is gone.
But here I have one more error triggered, Here I am pasting the log.
Please help me.
<i><b>ERROR 2006-11-08 22:02:36
FSH-00006 Return value of function getgrnam(dbdevmnt) is The process does not exist..
ERROR 2006-11-08 22:02:36
MUT-03025 Caught ESyException in Modulecall: ESAPinstException: error text undefined.
ERROR 2006-11-08 22:02:36
FCO-00011 The step createAccounts with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_Users_Create_Do|ind|ind|ind|ind|4|0|createAccounts was executed with status ERROR .</b></i>
Please help me out.
Thanks,
Chandra Sekhar Reddy.
Maybe you are looking for
-
I was able to see the lyrics while playing the audio when my iOS was 6.1.4 now i do not know what to do to see the lyrics while playing the audio or a karaoke after upgraded(?) to iOS 7 Is there any chance to see the lyrics in iOS 7 or i want to degr
-
How to enable a low privilege user to run an administrative script ?
Hello I have a problem which seems to come from the lack of "sudo" in Windows. I want standard low privileges users to be enable to run a script that will give them a result (i-e DB status on Exchange). I don't want to give them any right, so the onl
-
Hi I created an xsd and used it in process, create UI(webdynpro) using the same. now when i change the xsd, the changes are not reflected in the context data in webdynpro. How to update context data in webdynpro with the updated XSD. Regards Osman ab
-
Updating a blob field in access db
hi all i need to update a blob field (containing images) in an access db i tried with this code but didn't work: PreparedStatement ps=c.prepareStatement("UPDATE "+tab_name+" SET "+col+" = ? WHERE "+key+"="+key_val); ps.setByte
-
Is there an English language version manual for a 2310 on the website? I couldn't find one. SR.