About ®V

I work as a Java developer, I would like to help/discuss on issues which I have faced while working with various technologies like Java, Web/Rest Services, EJB, Adobe Flex,  XHTML, XML, XSLT, JPA, Hibernate, Spring, Struts, Java Script,  WebLogic, JBoss, Tomcat to the best of my knowledge and experience I have gained so far.

I am also very much interested in learning and discussing Application Design, Interesting Algorithms, Technology hot trends etc.

I also dedicate this blog to my friend Punit Shah from whom I have learnt so much. I hope you will find it worth interesting. Please feel free to discuss any doubts, I am also looking forward to learn many new things through this channel :).

Disclaimer: Please read thoroughly.

Thanks
Rakesh Kumar

14 thoughts on “About ®V

  1. ahuja

    Hi Vashist,

    Thanks for the solutions, you have got a very good blog, thanks for every post. I have solved 3 major issues because of your blog. Please keep up the good work, I hope lots and lots of people will like it, as you are writing the solutions which we face in real development world.


    Regards
    Ahuja

    Reply
  2. Joe

    Hey Vashi,
    Great keep it up mate… thanks for posting all the real time solutions….
    rocksolutions is really rocking…

    regards
    joe

    Reply
  3. justin

    nice one, simple and straight to the solutions!!!!
    thanks for your time. you gonna rock one day!!! seems like lots to learn from you through this channel 😉


    justin

    Reply
  4. Jorge

    Hi friend R Vashisht,
    We utilize the operating system Red Hat Enterprise Linux 5 “with the Weblogic11g as an application server,

    We have also deployed the “JavaBridge.war” to work with PHP applications, but we need the integration with the Sybase database ASE15.5.

    PHP 5 was installed, but weblogic does not recognize the connection function called “sybase_connect”

    It is possible to achieve this integration in some way on weblogic 11g?

    On “apache” everything works fine.

    In windows if you recognize the function when it calls the connection to sybase.
    thanks

    Reply
      1. Jorge

        Hi Vanish,
        I tested with MySQL database and SYBASE.
        I do not recognize the functions of php when the war is deployed in WebLogic,
        attaching part of the log:
        ——————————
        Error 500–Internal Server Error

        java.lang.RuntimeException: PHP Fatal error: Call to undefined function mysql_connect() in /opt/Oracle/Middleware/user_projects/domains/sybase/servers/AdminServer/tmp/_WL_user/JavaBridge/7qvs7g/war/hello.php on line 18

        at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.parseBody(FastCGIServlet.java:503)
        at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.doExecute(FastCGIServlet.java:402)
        at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.execute(FastCGIServlet.java:410)
        at php.java.servlet.CGIServlet.handle(CGIServlet.java:401)
        at php.java.servlet.PhpCGIServlet.handle(PhpCGIServlet.java:427)
        at php.java.servlet.CGIServlet.doGet(CGIServlet.java:474)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3594)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
        ——————-

        Thanks for your help friend Vanish.

      2. ®V Post author

        Hi,

        For me it seems like PHP environment is not available. Just to clear my doubt, can you please confirm if you are able to invoke other PHP
        inbuilt functions. Also if possible you can past your php.ini settings, please make sure to replace all the secured IP address details for security reasons.

        Thanks
        Rakesh Vashisht

  5. Jorge

    Hi Vanish,
    I tested with MySQL database and SYBASE.
    I do not recognize the functions of php when the war is deployed in WebLogic,
    attaching part of the log:
    ——————————
    Error 500–Internal Server Error

    java.lang.RuntimeException: PHP Fatal error: Call to undefined function mysql_connect() in /opt/Oracle/Middleware/user_projects/domains/sybase/servers/AdminServer/tmp/_WL_user/JavaBridge/7qvs7g/war/hello.php on line 18

    at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.parseBody(FastCGIServlet.java:503)
    at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.doExecute(FastCGIServlet.java:402)
    at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.execute(FastCGIServlet.java:410)
    at php.java.servlet.CGIServlet.handle(CGIServlet.java:401)
    at php.java.servlet.PhpCGIServlet.handle(PhpCGIServlet.java:427)
    at php.java.servlet.CGIServlet.doGet(CGIServlet.java:474)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3594)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ——————-

    Thanks for your help friend Vanish.

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s