About ®V

I am working in the capacity of IT Project Lead in Pune, India. Here I would like to demonstrate issues I have seen in various technologies like J2EE, Java, Web Services, EJB, Adobe Flex, PHP, XHTML, XML, XSLT, JPA, Hibernate, Spring, Struts, J2ME, Java Script, JQUERY, PHP, Prototype.js , AJAX, WebLogic, JBoss, Tomcat, Application Design to the best of my knowledge and experience I have gained so far.

I also dedicate this blog to my friend Punit Shah from whom I have learnt so much.

I hope you will find it worth learning. Please feel free to discuss any doubts, I am also looking forward to learn many new things through this channel :) .

Follow Me

Thanks

Rakesh Kumar Vashisht

  1. Bunty Raut
    May 27, 2010 at 1:38 pm | #1

    GOOd (thnx a ton …..)

  2. ahuja
    June 7, 2010 at 11:46 am | #2

    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

  3. Joe
    June 25, 2010 at 5:42 pm | #3

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

    regards
    joe

  4. micheal
    July 9, 2010 at 9:05 pm | #4

    good work buddy!!!
    keep it up :)


    justin

  5. justin
    July 9, 2010 at 9:07 pm | #5

    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

  6. flexhunter
    July 10, 2010 at 10:49 am | #6

    great!!!!
    keep the pace… really very helpful

  7. Jorge
    August 19, 2010 at 2:58 pm | #7

    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

    • ®V
      August 23, 2010 at 10:15 am | #8

      Hi Jorge,

      Are you able to connect to some other DB like MYSQL from the same instance, Please check that and confirm.

      • Jorge
        August 27, 2010 at 3:01 pm | #9

        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.

      • ®V
        September 2, 2010 at 11:20 am | #10

        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

  8. Jorge
    August 27, 2010 at 2:59 pm | #11

    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.

  9. Jorge
    August 27, 2010 at 3:00 pm | #12

    ok

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 )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 55 other followers